News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

2.0 RC4 Error please help

Started by xjordanx, December 23, 2010, 11:51:01 PM

Previous topic - Next topic

xjordanx

Hi latly i havent been able to have users join my forums because when they try to register it says "An Error Has Occurred!". So i tried myself and I get the same thing. Any suggestions?

If you want to see what it does go to ask me for link

Thanks for helping,
                 Jordan

cicka

Quote from: xjordanx on December 23, 2010, 11:51:01 PM
Hi latly i havent been able to have users join my forums because when they try to register it says "An Error Has Occurred!". So i tried myself and I get the same thing. Any suggestions?

If you want to see what it does go to ask me for link

Thanks for helping,
                 Jordan

What is the rest of the error? Can you post the link to your forum here?

xjordanx


Bigguy

Can you look in the error logs in the admin panel and see if there are errors there. ???

xjordanx

there is. whar should i do with it?

Bigguy

Can you post those errors here for us to see please. :)

xjordanx


each error is from a different person/ip

Bigguy

That doesn't tell us much at all. Have you installed any mods lately or made any custom changes to any part of the forum. ???

cicka

What is the latest change that you did to your forum?

xjordanx

should i just take ouut all mods til its fixed?

xjordanx

Installed mods.
AutoKeywords 1.4 
Ultimate Profile 0.9.1 
Bot Buster 1.1
Treasury 2.08   

cicka

Quote from: xjordanx on December 24, 2010, 12:18:15 PM
should i just take ouut all mods til its fixed?

Well, you can try to uninstall them one by one starting from the most recent and working your way backwards until you find which one is causing this issue.

Bigguy

Try uninstalling these two:

Ultimate Profile 0.9.1
Bot Buster 1.1

xjordanx

178:    global $txt, $language, $modSettings, $user_info, $context;
179:    static $fatal_error_called = false;
180: 
181:    // Try to load a theme if we don't have one.
182:    if (empty($context['theme_loaded']) && empty($fatal_error_called))
183:    {
184:       $fatal_error_called = true;
185:       loadTheme();
186:    }
187: 
188:    // If we have no theme stuff we can't have the lanuage file...
189:    if (empty($context['theme_loaded']))
190:       die($error);
191: 
192:    $reload_lang_file = true;
193:    // Log the error in the forum's language, but don't waste the time if we aren't logging
194:    if ($log || (!empty($modSettings['enableErrorLogging']) && $modSettings['enableErrorLogging'] == 2))
195:    {
196:       loadLanguage('Errors', $language);
197:       $reload_lang_file = $language != $user_info['language'];
==>198:       $error_message = empty($sprintf) ? $txt[$error] : vsprintf($txt[$error], $sprintf);
199:       log_error($error_message, $log);
200:    }
201: 
202:    // Load the language file, only if it needs to be reloaded
203:    if ($reload_lang_file)
204:    {
205:       loadLanguage('Errors');
206:       $error_message = empty($sprintf) ? $txt[$error] : vsprintf($txt[$error], $sprintf);
207:    }
208: 
209:    setup_fatal_error_context($error_message);
210: }
211: 
212: // Handler for standard error messages.
213: function error_handler($error_level, $error_string, $file, $line)
214: {
215:    global $settings, $modSettings, $db_show_debug;
216: 
217:    // Ignore errors if we're ignoring them or they are strict notices from PHP 5 (which cannot be solved without breaking PHP 4.)
218:    if (error_reporting() == 0 || (defined('E_STRICT') && $error_level == E_STRICT && (empty($modSettings['enableErrorLogging']) || $modSettings['enableErrorLogging'] != 2)))

Arantor

Ugh, that's just the code where it's saving the error to the error log - and for some reason it's not being given the error message (which is why there's an error there)

Doesn't help debug it though - did you uninstall the mods as Bigguy indicated?

xjordanx

yeah i just fixed it but whats a good anti bot mod to install that wont mess it up? I get alot of bots on my site idk why

Bigguy

There are other anti-spam tools on the mod site. Check them out to see if any of them can help. Also on my site there is a mod called forum firewall. It may help.

xjordanx

is it 2.0 rc4 compatible? and does it work well?

Bigguy


xjordanx

#19
Thanks for everything :) and also anyone know any good chat boxes that are easy to use/install

Also Bugguy can u send me link to that mod? I can't find it anywhere

Advertisement: