Maryr4277 Posted December 7, 2013 Share Posted December 7, 2013 An update came in during the night that we were not aware of. We cannot access admin or store front. We have Linux and Go Daddy hosts us. It is the weekend and we are out of business until this is fixed. Can anyone help? Thanks. I have attatched a screen shot of the error page. We can't even put the site in maintenance mode. Any help is appreciated. --- m Link to comment Share on other sites More sharing options...
doekia Posted December 7, 2013 Share Posted December 7, 2013 Force regen your .htaccess. This should fix the issue Link to comment Share on other sites More sharing options...
Maryr4277 Posted December 7, 2013 Author Share Posted December 7, 2013 Thank you. But I have no idea how to do this. Is there a page with directions - I'll be glad to try. Link to comment Share on other sites More sharing options...
doekia Posted December 7, 2013 Share Posted December 7, 2013 Remove your .htaccess Then go to you BO. Go to préfences SEO & URL Disable url rewrite save Enable url rewrite save This cause a new .htaccess to be generated Link to comment Share on other sites More sharing options...
Maryr4277 Posted December 7, 2013 Author Share Posted December 7, 2013 Remove your .htaccess I know how to do all of the below, but I don't know what you mean by the above. Thank you so much. Could you explain that? Then go to you BO.Go to préfences SEO & URLDisable url rewrite saveEnable url rewrite save Link to comment Share on other sites More sharing options...
doekia Posted December 7, 2013 Share Posted December 7, 2013 Remove by FTPBut does not really matters ... do the other steps will do the same Link to comment Share on other sites More sharing options...
vekia Posted December 8, 2013 Share Posted December 8, 2013 hello you've got exactly the same issue when you're trying to connect to back office? Link to comment Share on other sites More sharing options...
Maryr4277 Posted December 8, 2013 Author Share Posted December 8, 2013 Hello - yes we have the same problem when connecting to the back office. We did rename the .htaccess and that did not solve the problem. We are not able to get into either the front or back office. Link to comment Share on other sites More sharing options...
vekia Posted December 8, 2013 Share Posted December 8, 2013 there is some redirection defined in prestashop core. can you show contents of ps_shop_url table? Link to comment Share on other sites More sharing options...
symplystic Posted December 8, 2013 Share Posted December 8, 2013 (edited) Here's the contents of ps_shop_url id_shop_url id_shop domain domain_ssl physical_uri virtual_uri main active 1 1 folkharp.com folkharp.com / 1 1 Edited December 8, 2013 by symplystic (see edit history) Link to comment Share on other sites More sharing options...
symplystic Posted December 8, 2013 Share Posted December 8, 2013 So the site is now working. The solution was to remove two lines of code from the config.inc.php file: $xpath = dirname(__FILE__); $xname = basename(__FILE__); @require(dirname(__FILE__).'/js/main.is'); I noticed that when I removed the new config/js directory on December 7th the site no longer gave the redirect error but still didn't work. So today I found the reference to the /js/main.is file in the config.inc.php and once removed the site now works again. My question is how these lines of code made it into the config.inc.php file - could it have been an automatic update? Link to comment Share on other sites More sharing options...
Maryr4277 Posted December 8, 2013 Author Share Posted December 8, 2013 The site has stopped working again - Sunday evening at about 5pm central. Link to comment Share on other sites More sharing options...
Recommended Posts