Jump to content

Transfering Prestashop Website To Different Domain


Recommended Posts

I was creating a Prestashop website on my development domain, and now when it's done, i wanted to transfer it to the new, official domain.

However, When doing so, I came across an error i couldn't solve. Page just loaded an error saying

"Error: "install" directory is missing",

and in error.log, there was this:

[error] [client ] PHP Warning: realpath(): SAFE MODE Restriction in effect. The script whose uid is 1044 is not allowed to access /var/www/domain.com/www owned by uid 0 in /var/www/domain.com/www/config/defines.inc.php on line 69

[error] [client ] PHP Warning: realpath(): SAFE MODE Restriction in effect. The script whose uid is 1044 is not allowed to access /var/www/domain.com/www owned by uid 0 in /var/www/domain.com/www/config/defines.inc.php on line 66

On those lines is this:

define('_PS_ROOT_DIR_', realpath($currentDir.'/..'));

define('_PS_CORE_DIR_', realpath($currentDir.'/..'));

Anyone knows how to correct it?

Thanks.

 

Link to comment
Share on other sites

HI and welcome to the PrestaShop forum.

 

This sounds very much like a hosting plan that does not fully support PrestaShop.

 

I suggest uploading and installing a clean PrestaShop.  During installation PrestaShop will check your server configuration to ensure that it's compatible.  Once you have the hosting sorted out and a clean installation, then it would be safe to then delete that and upload your working copy.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...