Jump to content

[SOLVED] Having problems moving shop to root folder - Prestashop 1.6


Recommended Posts

I'm trying to move my test site in a subfolder to the root domain but after all the necessary changes I only see white screens from both the front and back office.  I can't get any log errors to show either.  Only error I can find is through the browser - see attached image.  

 

If anyone can point me to a solution I would appreciate that. 

 

Thanks

Alex 

 

UPDATE

 

After the migration did not work, I moved the files back into it's original place and tried to just change the folder name to see if that worked.  Of course it did not...same results of white pages for both front and back offices.  

 

Is there something else I'm suppose to change in the tables other than ps_shop_url??

post-783420-0-92873100-1399610909_thumb.jpg

Edited by aau (see edit history)
Link to comment
Share on other sites

have you got an access to php error log file and to apache error log file?

perhaps you've got them somewhere on your hosting account management script, it's worth to check it due to the fact, that you've got internal server error.

Link to comment
Share on other sites

I've finally found where the error are, but not sure how to make changes. 

 

[Fri May 09 19:16:45 2014] [error] [client 183.178.5.184] File does not exist: /var/www/vhosts/noctix.com/httpdocs/js, referer: http://www.noctix.com/prestashop/nocadmin/index.php?controller=AdminMeta&token=6423ac6b8d8874c36fc3b18602a3e6fd 
[Fri May 09 19:17:53 2014] [error] [client 183.178.5.184] File does not exist: /var/www/vhosts/noctix.com/httpdocs/prestashop/nocadmin, referer: http://www.noctix.com/prestashop/nocadmin/index.php?controller=AdminMeta&token=6423ac6b8d8874c36fc3b18602a3e6fd 
[Fri May 09 19:18:00 2014] [error] [client 183.178.5.184] PHP Warning: require_once(/var/www/vhosts/noctix.com/httpdocs/prestashop/config/defines.inc.php): failed to open stream: No such file or directory in /var/www/vhosts/noctix.com/httpdocs/prestashop/config/config.inc.php on line 27 

Link to comment
Share on other sites

It seems like it's still looking for the config/defines.inc.php file in the subfolder /prestashop. Why is it doing that, and not looking directing in the root domain?

Link to comment
Share on other sites

I had it in a subfolder in the roots directory. So there is a folder in the root directory called preatashop and that would be where the shop is.

 

www.noctix.com/prestashop was the original address.

Link to comment
Share on other sites

The htaccess file already has the right rewrite codes...I don't want to have to reinstall the whole prestashop since since I have it all set up already.....any other solutions!?!?

Link to comment
Share on other sites

it would seem to me, without looking at it specifically is that when you copied over your files to root, you made a mess of the permissions.

 

generally speaking the optimum permissions is 755 for folders, 644 for files, .htaccess should be 666

 

I've seen permission issues when copying using hosting control panel.

 

If you used hosting control panel to 'copy/move' files, I suggest using FTP which will (when possible) retain the original permissions.

 

this is worth a try anyway...

  • Like 1
Link to comment
Share on other sites

I did use FTP to move the files not not the host c panel. So shd I make sure those permissions are like what you suggest for folders and files?

 

yes, the permissions should be 'very' similar as to what  suggested.

 

note: if you continue to have issue, sometimes it's a good idea to just post in 'job offers', usually one of the ps nerds can fix issues quickly for 'very' little money.  personally I suggest bellini13 but there are several more top notch private helpers.

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...