Log in

View Full Version : Error In FAQ Page


Fırtına
05-15-2009, 02:50 PM
Hi, I enter the FAQ page in the header with an error like this how do you think the problem will be overcome?.


Screen Shot:
http://img39.imageshack.us/img39/2313/faqx.png

Lynne
05-15-2009, 02:53 PM
Usually eval errors are from a mod.
Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Fırtına
05-15-2009, 02:59 PM
Usually eval errors are from a mod.
Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);
No modifications made no attempt to localhost on my site has new bugs, this must be a solution of the language pack is relevant to you?

Lynne
05-15-2009, 03:02 PM
This is the line it is having problems with (line 279 in faq.php):
eval('$faq[\'text\'] = "' . replace_template_variables($text) . '";');

So, it looks like something in the faq text is causing the problem.

Fırtına
05-15-2009, 03:10 PM
Thank you very much mr. Lynne, the problem was resolved to delete the following code.

eval('$faq[\'text\'] = "' . replace_template_variables($text) . '";');

Lynne
05-15-2009, 03:19 PM
Um... I don't think you can just remove that line. It's needed to eval the faq text.

(And I'm female. :) )

Fırtına
05-15-2009, 03:23 PM
Sorry:P I did not think that you are female, and my foreign name is not really about you mr. I would appeal.