Jump to content

404 in FO on fresh install (SOLVED)


Recommended Posts

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

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

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

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

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

with Powweb
log in and go into the "knowledge base" section (on the right) and search php.ini
there 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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...