Jump to content

[ Solved ] PS 1.4.8.2 - 404 errors for any files in modules folder


Recommended Posts

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.

post-79974-0-61479900-1343027510_thumb.png

Edited by be_tnt (see edit history)
Link to comment
Share on other sites

... 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 by loop54 (see edit history)
Link to comment
Share on other sites

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

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 by be_tnt (see edit history)
Link to comment
Share on other sites

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

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...