Arrow

3.1.0 give me white box, always loading | Peter's Custom Anti-Spam for WordPress | Forum

Back to the custom anti-spam plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
3.1.0 give me white box, always loading
November 12, 2008
8:32 pm
Arif
Guest

Hi,
GD Library installed, FreeType installed also get_option. I use wordpress auto upgrade and install manually, both failed. Just see white text, and posting page always loading.

Now, i disable this plugin on my blog.
Hope you can help.

Note:
Before i use version 3.0.7, and the problem same. loading & white text

November 12, 2008
8:43 pm
Peter
Admin
Forum Posts: 841
Offline

Hi Arif, can you provide a screenshot? What happens when you right-click the image and select "View image"?

Based on your "posting page always loading" comment, it sounds like your version of the GD Library is out of date (I could be wrong). See this thread.

November 13, 2008
3:11 am
Arif
Guest

No screenshot available, if i right-click the image and select "view image" browser just loading and loading ..

About GD Library, my blog hosted at hosting company. Before version 3.0.7 this anti-spam work properly. After 3.0.7 upgrade this problem show up.

Thanks

November 13, 2008
5:52 pm
Peter
Admin
Forum Posts: 841
Offline

Unfortunately, my only suggestion in this case is to ask your host to re-compile PHP with the bundled GD Library (or ask for the latest version of the GD Library). There's nothing in the 3.0.7 code (or for any version in the past year) that generates images any differently :)

November 13, 2008
6:07 pm
Arif
Guest

i found it in phpinfo() :
GD Version : bundled (2.0.28 compatible)

so, the problem come from the GD Library version ?

November 13, 2008
6:45 pm
Arif
Guest

Solved!

Peter say to me to change this line :
if( function_exists( 'imagettftext' ) && file_exists( $cas_font ) )

with

if( function_exists( 'thisfunctionwontexist' ) && file_exists( $cas_font ) )

to force the plugin to try generating a GIF file.

Thanks Peter :)

March 21, 2009
9:18 pm
Silvan
Guest

I installed the plugin, both automatically and manual. I made the change in the code as outlined by Arif, but either seem to work.

When I go to the comments section, all is see is some text instead of the catchpa image. When clicking on the (missing) image to hear the code, it doesn't work (probably because it can't find the page, and therefore it takes me to the homepage).

I'm a bit confused, as the GD version installed is 2.0.34.

http://www.wearepopslags.com/2.....iar-video/

Any thoughts?!

March 22, 2009
12:21 am
Peter
Admin
Forum Posts: 841
Offline

Hi Silvan,

From what I can see, it looks like a general issue with a rewrite rule or permissions that are restricting non-blog files from being directly executed. Note that if you try to open any of the PHP files in your plugins folder, it just redirects to the front page.