barbour Posted May 6, 2014 Share Posted May 6, 2014 PrestaShop 1.5.4.1 I can't access any of my URLs in admin preferences. When I try, I get the following error: Parse error: syntax error, unexpected $end in /hermes/bosweb26a/b1858/ipw.voncomed/public_html/controllers/front/GetFileController.php on line 40 On this php page, line 40, it shows as followed: $file with nothing else on this line, or underneath. The above lines (37-40) is: $filename = Tools::getValue('file'); if (!Validate::isSha1($filename)) die(Tools::displayError()); $file I am pretty sure an upgrade would fix the issue, but I was having problems with the one click upgrade last month. I had to revert back. It seems like I have some missing code on this php page. I found a previous download of this version PS and tried to copy and paste the missing code on this page. It simply crashed my site. Is there a simple fix? Simple code to get this going? I AM TRYING TO ADD SOME META TAGS to my index.php page, and haven't had much luck trying to do it manually. Thanks Robin Link to comment Share on other sites More sharing options...
vekia Posted May 7, 2014 Share Posted May 7, 2014 you've got only "$file" at the end as you pasted? Link to comment Share on other sites More sharing options...
Recommended Posts