SLeprechaun Posted October 29, 2010 Share Posted October 29, 2010 I installed and started work locally without a problem, now I come to upload and test on a server I'm not getting far. The backend shows up as normal, but the main catalog is not visible, no error messages it's just blank.I'm using version 1.3.2 on justhost using filezilla 3.4.4.1.I've noticed other people had this problem, initially for some reason the files in the main folder hadn't uploaded. I've put those up now. I hadn't done the subfolders for the permissions changes. I've used filezilla and double and triple checked the permissions. I checked the box to apply to subfolders for the required folders too.Two things I didn't figure out. I@ve not activated php5. I thought seeing as the instructions were written in 2008 by now php5 might be standard. Plus I've not got the errors the instructions mention.GD library. In my root folder I go intothe php folder. I have 4 subfolders data docs ext and tests, all are empty in cpanel file manager, On filezilla I can see the files, but there's no php.ini file. I've searched for it but can't find it.So how do I .find php.ini. Is that my problem right now or is it someithing else completely different. Link to comment Share on other sites More sharing options...
rocky Posted October 30, 2010 Share Posted October 30, 2010 PrestaShop requires PHP5, so if you are only using PHP4, it won't work.Your php.ini file should be in the root directory. If it doesn't exist, create one. Link to comment Share on other sites More sharing options...
SLeprechaun Posted November 2, 2010 Author Share Posted November 2, 2010 I turned on error reporting so now I can see that I have the following errorParse error: syntax error, unexpected $end, expecting ')' in /home/>>/public_html/stealth/classes/Cart.php on line 1006So one step closer, it is a parse error so could possibly be down to the php version. Justhosts website seems to imply they use php5. Because there are so many instructions in the wiki docs for activating it with different hosts I don't quite know what to do. I've raised a support ticket to ask justhost. Because I can't see the php.ini file in my root or php folder to sort out the gd library and instead of Uncommenting the line extension=php_gd2.dll (about half-way through the file, in the middle of a long list of extensions) do I create the file and simply put in that line? Link to comment Share on other sites More sharing options...
rocky Posted November 3, 2010 Share Posted November 3, 2010 It looks like classes/Cart.php didn't upload completely. You should re-upload that file. Link to comment Share on other sites More sharing options...
SLeprechaun Posted November 3, 2010 Author Share Posted November 3, 2010 Justhost said the same thing,not suprising really as that was the problem. I reuploaded with filezilla and set it to overwrite the file, still no joy so I deleted the file in file manager and then reuploaded that individual file with filemanager on cpanel. My shop is now visible!! I am running PHP Version 5.2.14, support told me to check mydomain.com/phpinfo.phpApparantly gdlibrary is enabled on my server, the prestashop instructions are apparantly for a windows server. Still if it's enabled for me that's one less thing to need to mess with.Cheers for your help rocky.If anyone has a problem with a blank page remember to turn on error reporting, check out your phpinfo.php file to see your version and what's enabled on your server. 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