Jump to content

Can't generate .htaccess


Recommended Posts

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

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

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

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

'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

×
×
  • Create New...