Spam Protector issue: Captchas not showing

Creating and modifying plugins.
Post Reply
dorian2727
Regular
Posts: 7
Joined: Fri Jan 28, 2005 5:12 am

Spam Protector issue: Captchas not showing

Post by dorian2727 »

The plugin is showing in the comment section, but the Captchas are not showing. See link

http://www.redstaterant.com/archives/24 ... l#comments

Please help!! :cry:
Guest

Post by Guest »

It seems like the plugin is sending the right headers and all...

It just seems to send a "0" instead of any image data...

Are the captcha images in the directory?

you should have twenty or so named things like:
captcha_a.png
Guest

Post by Guest »

Actually, it seems like something is sending that "0" for any page request, usually after processing...

You may want to turn display_errors on in your php.ini, or add something like:

Code: Select all

ini_set('display_errors', 'on');
to your index.php...
[/code]
Guest

CAPTCHAS

Post by Guest »

Yes. They are all in the directory.
Guest

Post by Guest »

Did you try adding

Code: Select all

ini_set('display_errors', 'on');
to the plugin and hitting the page?

It should display any errors caused by plugins, etc...

Then you could post the errors here, so that someone can help you.
Guest

.ini file

Post by Guest »

I do not have access to the .ini file. Can this be done in the index?
Guest

Post by Guest »

Yes, you can add that statement to the index.php file...

It will just change that setting for the execution of whatever code happens after the point you add it.. Once the script is done it will discard the setting... (no changes to the ini file are made)

You probably don't want to leave it in there for very long... it may show path information that might be sensitive... (though some people dont mind that)

But if you put it in and hit the page it will output errors to the client, as they happen.

Then you will have a little more information as to what is happening...
Feel free to post them here if they don't make sense.
Guest

index.php

Post by Guest »

Does it have to go somewhere specific in the file? Also, you mentioned adding it to the plugin. Should I also do that?
Guest

Post by Guest »

I would just added it to the top of the index.php file...
That way you will see all the errors generated by the page...

Some of them may not have any impact on the Captchas plugin, but it would be nice to see them...

No need to add it to the plugin if you add it to index.php
Post Reply