Jump to content

Send to a friend module v.1.4 empty js file


Recommended Posts

I have PS 1.5.6.2 and after installation, it said there was an update available for the send to a friend module on the modules page, so I click update.  The sendtoafriend.php now says version 1.4

 

However, although it appears to work, I get a 404 error in Firebug telling me that sendtoafriend.js cannot be found.  The file is there, but empty.  I assume there is supposed to be something in there, but I cannot find the sendtoafriend v1.4 anywhere in order to compare.  Can anyone shed any light on this?

Link to comment
Share on other sites

Well this is very odd, as the same thing is happening for the referral program and mailalerts!  I have checked the latest mosule files on github: https://github.com/PrestaShop/PrestaShop-modules but they also have empty js files - why have the files if they are empty?

I have the same problem. My JS file is empty causing a 404 error and when I want to sent a email, it never arrives.. Did you find guys how to fix it?

Link to comment
Share on other sites

I have the same problem. My JS file is empty causing a 404 error and when I want to sent a email, it never arrives.. Did you find guys how to fix it?

Ok, I fix it. I don't know why I have this JS file in my folder, but I've downloaded a fresh version of prestashop and compared the files. In the fresh version of the module, there are not any js file inside, so I just copy the good files to my server. :)

Link to comment
Share on other sites

Hmm, I have 1.5.6.2 too and compared the modules they are slightly older versions.  Hmm, maybe I'll just have to revert back.  The modules all seem to work just fine though without the js files.  Firefox just doesn't like an empty file... :unsure:

Yes, but I don't like errors :D So if you want, here the original module package that I uploaded without the css files to my sendtoafriend module :)

sendtoafriend.zip

Link to comment
Share on other sites

×
×
  • Create New...