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
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
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.

Edited by bsmither
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.