aau Posted May 9, 2014 Share Posted May 9, 2014 (edited) 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?? Edited May 13, 2014 by aau (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted May 9, 2014 Share Posted May 9, 2014 Try erasing the htaccess file, then reload the page. Does the back office work? Link to comment Share on other sites More sharing options...
aau Posted May 9, 2014 Author Share Posted May 9, 2014 Nemo1, I've tried that and no, it does not work. Link to comment Share on other sites More sharing options...
NemoPS Posted May 9, 2014 Share Posted May 9, 2014 So no back office either? and no errors after enabling error reporting (in defines.inc.php)? Link to comment Share on other sites More sharing options...
aau Posted May 9, 2014 Author Share Posted May 9, 2014 no back office, and no errors showing after I set P _PS_MODE_DEV_ to true and 'display errors' on Link to comment Share on other sites More sharing options...
vekia Posted May 9, 2014 Share Posted May 9, 2014 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 More sharing options...
aau Posted May 9, 2014 Author Share Posted May 9, 2014 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 More sharing options...
aau Posted May 9, 2014 Author Share Posted May 9, 2014 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 More sharing options...
vekia Posted May 9, 2014 Share Posted May 9, 2014 how the address to your website looks before? you had some subdomain? perhaps you use normal domain which pointed to /prestashop/ directory? Link to comment Share on other sites More sharing options...
aau Posted May 9, 2014 Author Share Posted May 9, 2014 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 More sharing options...
NemoPS Posted May 10, 2014 Share Posted May 10, 2014 Have you changed the entry in ps_shop_url? Maybe '/prestashop/ is still there Link to comment Share on other sites More sharing options...
aau Posted May 10, 2014 Author Share Posted May 10, 2014 Does that mean the htaccess file is not working?? Nemo1, yes I've changed that Link to comment Share on other sites More sharing options...
NemoPS Posted May 10, 2014 Share Posted May 10, 2014 hm, in that case, it might be htaccess really, though it shouldn't affect your back office as well! Link to comment Share on other sites More sharing options...
aau Posted May 10, 2014 Author Share Posted May 10, 2014 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 More sharing options...
El Patron Posted May 10, 2014 Share Posted May 10, 2014 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... 1 Link to comment Share on other sites More sharing options...
aau Posted May 10, 2014 Author Share Posted May 10, 2014 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? Link to comment Share on other sites More sharing options...
El Patron Posted May 10, 2014 Share Posted May 10, 2014 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 More sharing options...
aau Posted May 12, 2014 Author Share Posted May 12, 2014 So it turns out El Patron is right. The permission for .htacess for some reason changed. Once I made it 666 the site was working. Problem solved. Thanks! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now