Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

17480 Posts in 4474 Topics by 1973 members

Archive

SilverStripe Forums » Archive » Error after moving SS to another server/hosting

Our old forums are still available as a read-only archive.

Page: 1
Go to End
Author Topic: Error after moving SS to another server/hosting 683 Views
  • Craneway
    avatar
    20 posts

    Error after moving SS to another server/hosting Link to this post

    Hi, I am moving SS installation to another server/hosting.
    I imported the mysql dump into a new db, changed the server/user/db/password info in mysite/_config.php.
    Now, opening the site I get this error:
    Fatal error: Call to undefined function mysql_connect() in /home/MYHOME/MYSITENAME.com/docs/sapphire/core/model/MySQLDatabase.php on line 41

    Using SS 2.2.2.
    Cant figure out what the problem is.
    A note: my hosting provider requires to use not 'localhost' but 'username.mysql' for a mysql server name.

    Any ideas?

    UPD: Solved. The problem was in php 5 default configuration (thanks to the hosting support).

  • Sigurd
    avatar
    Core Development Team
    615 posts

    Re: Error after moving SS to another server/hosting Link to this post

    One thing you can do when moving hosts is to put a new install there first, and see if the install checker shows any problems. Once that install checker shows green, you can overwrite it with your existing site.

    That means you can be confident the correct versions of dependencies and so on, exist.

    683 Views
Page: 1
Go to Top

Currently Online: There is nobody online.

Welcome to our latest member: marcusl

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.