imsocial Posted July 6, 2010 Share Posted July 6, 2010 Hi, newbie here.I have just changed my shop to "friendly urls" and now all im getting is a white screen of death.What do I do? Link to comment Share on other sites More sharing options...
e-motostore Posted July 6, 2010 Share Posted July 6, 2010 Have you generated the htaccess ? Link to comment Share on other sites More sharing options...
imsocial Posted July 6, 2010 Author Share Posted July 6, 2010 Yes, I made a blank txt file and named it .htaccess then uploaded it to my root.but I forgot to change the permissions before I changed to friendly urls. How would I rectify this?ThanksJames Link to comment Share on other sites More sharing options...
e-motostore Posted July 7, 2010 Share Posted July 7, 2010 upload blank .htaccess file to root, set permissions to write (chmod 777 as said in BO), set friendly url on, Then BO-> tools-> generators -> click generate htaccess. You should have rule like rewrite_rule xxxxxx in the htaccess Here is the rewrite rules for images that should appear in htaccessRewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg [L,E] Link to comment Share on other sites More sharing options...
rocky Posted July 7, 2010 Share Posted July 7, 2010 Try editing config/config.inc.php and temporarily changing 'display_errors' from 'off' to 'on' so that you get an error message instead of a blank page. Post the error message here. Link to comment Share on other sites More sharing options...
imsocial Posted July 7, 2010 Author Share Posted July 7, 2010 Hi again Apprentice and thanks for your help.I have created the .htaccess like you said, but I can't do anything else because I still have the blank screen even when trying to get into admin!!Will I have to re-install prestashop?What folder will my product details be stored in?Thanks again Link to comment Share on other sites More sharing options...
imsocial Posted July 7, 2010 Author Share Posted July 7, 2010 Try editing config/config.inc.php and temporarily changing 'display_errors' from 'off' to 'on' so that you get an error message instead of a blank page. Post the error message here. Thanks Rocky. I get -Fatal error: Undefined class name 'configuration' in /home/sites/MYSITE.com/public_html/config/config.inc.php on line 61 Link to comment Share on other sites More sharing options...
rocky Posted July 7, 2010 Share Posted July 7, 2010 For some reason, your site can't load classes/Configuration.php. I don't understand why one of your files would disappear just by turning on friendly URL. Perhaps your .htaccess file already contained code that enabled PHP5 on your website and it was deleted when you generated the .htaccess file. What host are you using? Did your site already have a .htaccess file before you created one? Link to comment Share on other sites More sharing options...
imsocial Posted July 7, 2010 Author Share Posted July 7, 2010 My host is Heart Internet, and I think it did have a .htaccess but that was blank too, if I remember right Link to comment Share on other sites More sharing options...
rocky Posted July 7, 2010 Share Posted July 7, 2010 I'm not familiar with that host, so I can't give any advice other than "make sure that classes/Configuration.php has been uploaded correctly." I found two users here and here who are successfully using PrestaShop with Heart Internet. Perhaps you could ask them for advice. Link to comment Share on other sites More sharing options...
imsocial Posted July 7, 2010 Author Share Posted July 7, 2010 Will do Rocky, thanksBTW - If I was to do a fresh install. How much would I be able to recover. What folder are my product images/descriptions etc in. Link to comment Share on other sites More sharing options...
asecondwill Posted July 21, 2010 Share Posted July 21, 2010 Hello,thanks for the pointers here. I had the same issue, but as someone pointed out, the host was controlling php type in the root .htaccesss like this:AddHandler php5-script .phpthankswill Link to comment Share on other sites More sharing options...
clarksim Posted September 24, 2010 Share Posted September 24, 2010 Had the same issue. Easy fix. Open your ftp client and log on to you heartinternet ftp account for the domain, step back one directory, / you will see a .htaccess file, copy that to local, now move to your /public_html director and upload that .htaccess file. Now logon to your prestashop admin and generate the /htaccess file. all should work okay now.. Let me know tho.-----http://www.poshpup.co.uk/ 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