PDA

View Full Version : PHP Error


Easelm
09-19-2012, 08:03 PM
I figured out the issue iv been having with an internal 500 server error, in the
log it tells me:

[warn] mod_fcgid: stderr: PHP Fatal error: require_once(): Failed opening required '/home/nomsoft/public_html/irc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/clients/client1/web1/web/forums/global.php(29) : eval()'d code on line 2

I used to have the Crimson Tech Chat IRC v0.0.2 plugin for vb4, but then I removed it.
I have no idea where that irc.php path is listed in my forums..

Anyone know a way around this or how I can find this path and change it?

kh99
09-19-2012, 09:10 PM
global.php line 29 is hook global_start. Go to the Plugin Manager and see if you can find a plugin using hook global_start that looks like it's for Crimson Tech Chat (or anything else that you can't identify).

Easelm
09-19-2012, 09:28 PM
I did grep -r "global_start" . and got the following:

Binary file ./php-cgi.core matches
./global.php:($hook = vBulletinHook::fetch_hook('global_start')) ? eval($hook) : false;
Binary file ./admincp/php-cgi.core matches
Binary file ./archive/php-cgi.core matches
./includes/xml/hooks_vbulletin.xml: <hook>global_start</hook>

Currently in my plugin manager, it's empty. I uninstalled every hook I had to try
and eliminate the 500 internal error before I found this PHP error in the logs. I also
removed the hook's files/folders.

kh99
09-19-2012, 10:11 PM
Hmm...maybe try creating a new plugin using hook global_start, contianing only a comment or something like that. That will cause the plugin code for the global_start hook to be rebuilt.

Easelm
09-19-2012, 10:15 PM
Hmm...maybe try creating a new plugin using hook global_start, contianing only a comment or something like that. That will cause the plugin code for the global_start hook to be rebuilt.

You are my hero. That totally worked!

Thank you, I still have some hair left :)