be_tnt Posted July 23, 2012 Share Posted July 23, 2012 (edited) All, I have installed from scratch the prestashop 1.4.8.2. i have enabled few modules like for example Paypal. When I wanted to configure it, I have notice that the layout was quite "not normal" (see attached picture). Looking in firebug, I have noticed many 404 errors like for example for /modules/paypal/js/jquery-1.7.2.min.js. In short for all files located in the paypal module folder, I got a 404. And this is not only for paypal. When I am on the page listing all the modules, I got a 404 for all icons that should be displayed next to each module name. All the "missing" files exists in module folders. Any idea of what could be the cause of this? Thx in advance. Edited July 23, 2012 by be_tnt (see edit history) Link to comment Share on other sites More sharing options...
loop54 Posted July 23, 2012 Share Posted July 23, 2012 (edited) ... my experience tell me that prestashop maybe missing some extensions on your server and/oder file permissions during installation. prestashop also do not work properly with some PHP versions: 5.2.1 / 5.2.6 / 5.2.9 / <5.2 - in this case you need upgrade your server. you laso need check extensions and database (myisam / innodb -> on). good luck ----------------------- p.s. here is prestashop documentation >> Edited July 23, 2012 by loop54 (see edit history) Link to comment Share on other sites More sharing options...
be_tnt Posted July 23, 2012 Author Share Posted July 23, 2012 Php version is 5.3.8. I am for the moment developping locally using easyPHP 5.3.8.1. My database is set to innoDB. About missing extensions, this is possible as for the first time, I have done an installation without anything installed. Do you know which extension could be missing? Thx in advance. Link to comment Share on other sites More sharing options...
loop54 Posted July 23, 2012 Share Posted July 23, 2012 for local use i utilize wampserver2.2a-x64 -> no error. ...about libraries you need you can find it at sysadmin guid >> Link to comment Share on other sites More sharing options...
be_tnt Posted July 23, 2012 Author Share Posted July 23, 2012 I already used this easy php version with a previous version of prestashop and I did not get this problem. As suggested, I will look the sysadmin guide to see what could be missing. Link to comment Share on other sites More sharing options...
be_tnt Posted July 23, 2012 Author Share Posted July 23, 2012 (edited) I still did not find what is going on but I have noticed that I have the same problem in front end. It does not find files in modules folder. I have checked alsothe apache log and I found the below entry: [Mon Jul 23 18:01:27 2012] [error] [client 127.0.0.1] File does not exist: G:/EasyPHP-5.3.8.1/modules/paypal, referer: http://<local domain name>/fr/ <local domain name> is replaced by the local domain name in the log. What's surprised me is the path for the paypal folder. It's where easy php is installed not where the prestashop folder is. Edited July 23, 2012 by be_tnt (see edit history) Link to comment Share on other sites More sharing options...
be_tnt Posted July 23, 2012 Author Share Posted July 23, 2012 Ok I found it. It seems to be because an Alias defined by easyPHP in apache config: Alias /modules "${path}/modules" When I comment this, I get all files from the modules folder. Link to comment Share on other sites More sharing options...
be_tnt Posted July 23, 2012 Author Share Posted July 23, 2012 The correct solution in my case is to define an alias for /modules in the virtual host I have defined for my local domain name. For example: <VirtualHost 127.0.0.36:80> ServerName www.local-domain.be ServerAlias local-domain.be *.local-domain.be DocumentRoot G:\site Alias /modules G:\site\modules </VirtualHost> 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