Festuz Posted February 3, 2014 Share Posted February 3, 2014 Hello. I'm having some problems with my site allsupermoto.no. I have deleted the .htaccess file to see if it helps. But now I cannot regenerate it. Any tips? Link to comment Share on other sites More sharing options...
Thierry Création Posted February 3, 2014 Share Posted February 3, 2014 Hello, your file is chmod 666 ? Link to comment Share on other sites More sharing options...
Festuz Posted February 3, 2014 Author Share Posted February 3, 2014 Hello, your file is chmod 666 ? My .htaccess is yes. Link to comment Share on other sites More sharing options...
vekia Posted February 3, 2014 Share Posted February 3, 2014 how you're trying to regenerate it? Link to comment Share on other sites More sharing options...
El Patron Posted February 3, 2014 Share Posted February 3, 2014 Hello. I'm having some problems with my site allsupermoto.no. I have deleted the .htaccess file to see if it helps. But now I cannot regenerate it. Any tips? just visited your site and friendly url's are working, so there must be a .htaccess file. generally (666) is hidden, so with your ftp program, there is generally an options to 'display hidden' files. hope this helps... el Link to comment Share on other sites More sharing options...
Festuz Posted February 3, 2014 Author Share Posted February 3, 2014 I managed to get it fixed by editing my php.ini and regenerating .htaccess. I just cleared smarty and autoload cache, and I'm now facing this error; Parse error: syntax error, unexpected '$product' (T_VARIABLE), expecting function (T_FUNCTION) in /home/allsuper/public_html/override/classes/FrontController.php on line 31 www.allsupermoto.no Link to comment Share on other sites More sharing options...
toyromance Posted February 4, 2014 Share Posted February 4, 2014 usually i chmod 777 to the root folder first and then generate the .htaccess file. There have never been a prolem for me. ------------------------------------ [deleted] Link to comment Share on other sites More sharing options...
Festuz Posted February 4, 2014 Author Share Posted February 4, 2014 usually i chmod 777 to the root folder first and then generate the .htaccess file. There have never been a prolem for me. ------------------------------------ [deleted] Yeah, problem was that my site wasn´t loading. So I could not regenerate the .htaccess. I ended up editing some lines in my php.ini and SQL configuration and solved it. Now however I met a new error when clearing smarty and autoload cache. Any idea? Link to comment Share on other sites More sharing options...
El Patron Posted February 4, 2014 Share Posted February 4, 2014 I managed to get it fixed by editing my php.ini and regenerating .htaccess. I just cleared smarty and autoload cache, and I'm now facing this error; Parse error: syntax error, unexpected '$product' (T_VARIABLE), expecting function (T_FUNCTION) in /home/allsuper/public_html/override/classes/FrontController.php on line 31 www.allsupermoto.no 'some' module has installed a class override for FrontController. Look at that file to see if one file is not corrupted and also any hint as to what module is using the override. the above error usually tells us that there is a missing ; at the end of a php code line or closing } for class. But without the code it is just a guess. Link to comment Share on other sites More sharing options...
Festuz Posted February 4, 2014 Author Share Posted February 4, 2014 'some' module has installed a class override for FrontController. Look at that file to see if one file is not corrupted and also any hint as to what module is using the override. the above error usually tells us that there is a missing ; at the end of a php code line or closing } for class. But without the code it is just a guess. When I disable all non-prestashop modules, the error still appear. Want me to paste in a code? Also, new thread for this error; http://www.prestashop.com/forums/topic/306273-override-error/ Link to comment Share on other sites More sharing options...
Recommended Posts