babyewok Posted February 25, 2014 Share Posted February 25, 2014 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 More sharing options...
babyewok Posted February 27, 2014 Author Share Posted February 27, 2014 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? Link to comment Share on other sites More sharing options...
kalakrima Posted February 28, 2014 Share Posted February 28, 2014 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 More sharing options...
kalakrima Posted February 28, 2014 Share Posted February 28, 2014 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 More sharing options...
babyewok Posted February 28, 2014 Author Share Posted February 28, 2014 (edited) Are they the same updated versions of the modules? What version of PS did you download? Edited February 28, 2014 by babyewok (see edit history) Link to comment Share on other sites More sharing options...
kalakrima Posted February 28, 2014 Share Posted February 28, 2014 Are they the same updated versions of the modules? What version of PS did you download? Oh, sorry I forgot to specify my PS version : 1.5.6.2 and I downloaded the same. Link to comment Share on other sites More sharing options...
babyewok Posted February 28, 2014 Author Share Posted February 28, 2014 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... Link to comment Share on other sites More sharing options...
kalakrima Posted February 28, 2014 Share Posted February 28, 2014 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... Yes, but I don't like errors 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 More sharing options...
babyewok Posted February 28, 2014 Author Share Posted February 28, 2014 Neither do I! Thanks I'll take a look Link to comment Share on other sites More sharing options...
Recommended Posts