Jump to content

PHP Warning


Recommended Posts

Heard my site was having a few time outs and was told to go take a look at the error logs.  I had no idea what those were so that took a while but I eventually found them - thousands of them Module 'gd' already loaded in Unknown on line 0

 

Found a few forums that said to comment them out.  I'm not a web guy and have no idea what that means or how to do it.

 

Would anyone be kind enough to take a look and help me out?

 

website is www.fotoflare.ca

 

Much appreciated

Link to comment
https://forums.phpfreaks.com/topic/288165-php-warning/
Share on other sites

I'd guess that it is an include (or require) trying to bring in a module repeatedly.  Perhaps this is something that changed in a newer version and is now showing as an error whereas it didn't before.  Probably have to change all the includes/requires to the "_once" form.

Link to comment
https://forums.phpfreaks.com/topic/288165-php-warning/#findComment-1477868
Share on other sites

In my experience:

 

Module 'gd' already loaded in Unknown on line 0

 

means that PHP has attempted to load this module from either the PHP.INI file (the GD or GD2 extension, although the error message might be little different on startup errors) or from a ZendGuard or ionCube loader file that might be using the dl() command.

 

The fact that there is no known file or line number means (IMO) that PHP wasn't running a human-readable script.

 

I think the version of PHP may be prior to 5.3, and this is only a warning. PHP won't crash or exit because something is asking PHP to load this module when it is already loaded.

 

So, I think your time outs are not caused by this situation.

Link to comment
https://forums.phpfreaks.com/topic/288165-php-warning/#findComment-1477871
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.