DS Posted December 3, 2009 Share Posted December 3, 2009 I hate starting a new thread but I couldn't find anything in English when I searched.So I just installed Prestashop to my server (Powweb is my provider btw)and I can access the back office no problem but...The front office (the store front) just gives me a 404 (http://knowsomething.ca/knowshop/)So where do I start troubleshooting? Do I have to change something in the index.php?Thanks. Link to comment Share on other sites More sharing options...
DS Posted December 4, 2009 Author Share Posted December 4, 2009 could someone just tell me what writes to the index.php I am guessing this is some sort of permissions problem?I'm not asking you to solve my problem just give me a hint. Link to comment Share on other sites More sharing options...
rocky Posted December 5, 2009 Share Posted December 5, 2009 It is weird that your Back Office works but not your Front Office. I assume PHP is working then. Perhaps it is a .htaccess problem. Have you tried creating chmod 777 .htaccess file in your root directory and going to Tools > Generators, then clicking "Generate .htaccess file"? Link to comment Share on other sites More sharing options...
DS Posted December 6, 2009 Author Share Posted December 6, 2009 You might be on to something there ...I have Modx on this server which does some stuff with .htaccess to allow Friendly urls...I am going to play around with tonight/tomorrowThanks Rocky Link to comment Share on other sites More sharing options...
DS Posted December 6, 2009 Author Share Posted December 6, 2009 I just realized that the best way might be to manually add changes to the .htaccess file...is there anywhere I can find the .htaccess file that presta will create...if not, that is cool, I can just start with the presta htaccess file and make my changes from my backup of the modx htaccess file...hmm, we will see.first I am going to see if there are any problems with this htaccess file to start.definately starting to think this is an htaccess issue though now that I have started looking in this direction.thanks alot. Link to comment Share on other sites More sharing options...
rocky Posted December 6, 2009 Share Posted December 6, 2009 The .htaccess file is created by the if (Tools::isSubmit('submitHtaccess')) section of the postProcess() function and the _getHtaccessContent function of admin/tabs/AdminGenerator.php. It will simply write it to the blank .htaccess file in Prestashop's root directory. It might be easier to just generate the .htaccess file and then modify it, rather than modify how the file is generated. Link to comment Share on other sites More sharing options...
DS Posted December 14, 2009 Author Share Posted December 14, 2009 unfortuneatey after alot of trying this problem still exsists...I no longer think it is an .htaccess problem...other problems I have found...I have a globals setting on my sergver that I need to figure out and I have two parse errors:"__, 'blockcurrencies.tpl'); } } E__, 'blocklanguages.tpl'); } } urn $this->hookLeftColumn($params); } } ng, $id_cms ? $id_cms : NULL)); return $this->display(__FILE__, 'blockvariouslinks.tpl'); } } return $this->display(__FILE__, 'canonicalurl.tpl'); } }Parse error(s) in module(s) 1. cheque 2. editorial "maybe this is all related? Link to comment Share on other sites More sharing options...
DS Posted December 14, 2009 Author Share Posted December 14, 2009 fixed thte globals settings in php.ini still do not know what the parse errors are from?and still nothing but a 404 at the front end. Link to comment Share on other sites More sharing options...
ehpik Posted December 14, 2009 Share Posted December 14, 2009 How do you get to the php.ini file? Link to comment Share on other sites More sharing options...
DS Posted December 14, 2009 Author Share Posted December 14, 2009 with Powweb log in and go into the "knowledge base" section (on the right) and search php.inithere is a drop down menu where you click on "getting started"... there is a whole tutorial plus a link to the php.ini file.with other shared style servers it is different...I've been with powweb for a long time so I know my way around a bit...IF you need help with this feel free to message me directly and I will see what I can do...Most problems in powweb (and hard to find stuff) can be found by searching the Knowledge base. And even though I am not a fan of how the OPS is laid out now the tech support is still pretty good too.Though I still have my problem. Link to comment Share on other sites More sharing options...
DS Posted December 14, 2009 Author Share Posted December 14, 2009 Just checked my Error log:"PHP Warning: PHP Startup: Unable to load dynamic library './php_gd2.dll' - ./php_gd2.dll: cannot open shared object file: No such file or directory in Unknown on line 0 " Link to comment Share on other sites More sharing options...
DS Posted December 14, 2009 Author Share Posted December 14, 2009 commented out gd2 in php.ini still no store front. Link to comment Share on other sites More sharing options...
DS Posted December 15, 2009 Author Share Posted December 15, 2009 powweb tech support appear to have fixed the problem by changing my file permissions...http://knowsomething.ca/knowshop/as you can see there is a whole new problem but I am guessing that it is also permissions related.they set the permissions of my shop (see above) to 750 (which I haven't seen anywhere on this forum).Maybe someone should add this to a wiki? 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