Problem with PHP5 (General)

by Tobias, Monday, November 30, 2009, 11:35 (5276 days ago)

Hello,
I needed to change the .htaccess on my webspace to run a CMS. I added the "AddType x-mapp-php5 .php" for letting the server parse .php files with PHP5.
But now I get the following error in my forum:
Fatal error: Using $this when not in object context in /homepages/xx/xxxxxx/xxxxx/forum/templates_c/%%BD^BD4^BD4E5FC3%%index.tpl.inc.php on line 185

Any idea why this happens?

Regards Tobias

Avatar

Problem with PHP5

by Alex ⌂, Monday, November 30, 2009, 13:59 (5276 days ago) @ Tobias

Hi Tobias,

clearing templates_c should solve this problem.

Alex

Problem with PHP5

by Tobias, Monday, November 30, 2009, 16:27 (5276 days ago) @ Alex

Unfortunately didn't solve the problem...

Problem with PHP5

by yvangkwheng, Wednesday, December 02, 2009, 01:23 (5275 days ago) @ Tobias

u should get rid of templates_c. i was once getting out of this trouble by using this way.

RSS Feed of thread