Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Gizmo, SteveS), 38 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/07/07
Posts: 4
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 3 1 2 3 >
Topic Options
#245389 - 09/06/11 12:46 PM CAPTCHA image broken
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

Hi guys -

My registration CAPTCHA (GD2) became a broken image recently. My host migrated our sites to a new server, so the first issue was needing to change /usr/bin/convert to /usr/local/bin/convert in the settings, but that just now gives me this error when trying to view the image directly:

Quote:
PHP error: convert: memory allocation failed `/home/gbb/public_html/threads/cache/7503d665439354a456e8935a51239d3e.gif' @ error/quantize.c/QuantizeImage/2661. convert: memory allocation failed `/home/gbb/public_html/threads/cache/7503d665439354a456e8935a51239d3e.gif' @ error/gif.c/WriteGIFImage/1619.


Tech support had to escalate the issue and I'm waiting on that. She tried increasing my account's personal PHP memory limit, checked the logs, and checked the previous server's configuration.

Any suggestions?

Thanks!

JG
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#245390 - 09/06/11 03:07 PM Re: CAPTCHA image broken [Re: jgeoff]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

PS - Clearing all the *.gif images from the cache didn't help...
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#245397 - 09/06/11 07:19 PM Re: CAPTCHA image broken [Re: jgeoff]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Well, GD2 doesn't even use convert or mogrify; ImageMagick does; try turning GD on as the image processor and see if it works.

As for the error you're having it says it's due to memory allocation, and unfortunately you really can't give it love there...

They could try a different version of IM, or you could try GD, or they could add more ram to the machine...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#245403 - 09/06/11 07:46 PM Re: CAPTCHA image broken [Re: jgeoff]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

The only options that show in CP > Gallery Settings are GD2 and IM. And that is where it asks for paths to convert/mogrify, in Threads.

Everything seemed just fine until they migrated us all to "more powerful" servers (and they are, with 16 cpus and I'm sure more than enough RAM. memory Used has been less than 25%). According to PHP Info, gd is version "bundled (2.0.34 compatible)" -- there's no mention of ImageMagick (would there be if it was installed?)

Still waiting word from the Senior Technician at ASO...
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#245406 - 09/07/11 12:59 AM Re: CAPTCHA image broken [Re: jgeoff]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

Still working it out w/ Snr Tech, who installed ImageMagick, and now I'm getting this:

"PHP error: convert: MemoryAllocationFailed `' @ fatal/cache.c/AcquirePixelCacheNexus/261."

Just keeping you updated - maybe it'll be helpful down the road... wink
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#245464 - 09/12/11 01:59 PM Re: CAPTCHA image broken [Re: jgeoff]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

Hey guys - It's been a week since I noticed this, and I'm still having issues. I haven't had any new registrations since Aug 20.

ASO Tech Support Supervisor says, "I'm still looking into this and trying to figure out exactly how to resolve this. Have you contacted UBB support yet, on the offchance that there's an environment issue?"

Any clues would be appreciated - thanks!
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#245466 - 09/12/11 02:22 PM Re: CAPTCHA image broken [Re: jgeoff]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

It was set to GD2 all along, and just stopped working. I tried ImageMagick later, and that didn't work, either, so switched back. The host and I are both at a loss, though I think it's something on the host's side.
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#245468 - 09/12/11 02:33 PM Re: CAPTCHA image broken [Re: jgeoff]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Originally Posted By: jgeoff

It was set to GD2 all along, and just stopped working. I tried ImageMagick later, and that didn't work, either, so switched back. The host and I are both at a loss, though I think it's something on the host's side.
if it worked before the move, it's definitely something in the new server; did you try having them use a different version of imagemagick? is gd compiled with FreeType support?
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#245470 - 09/12/11 03:13 PM Re: CAPTCHA image broken [Re: jgeoff]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ
Here the gd info from php info:

Quote:
gd

GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled


Is there a preferred version of IM?
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#245471 - 09/12/11 03:16 PM Re: CAPTCHA image broken [Re: jgeoff]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

Same as mine, Ruben, thanks...
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#245472 - 09/12/11 03:39 PM Re: CAPTCHA image broken [Re: jgeoff]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Check your threads/images/captcha/
folders.
I peeked and see nothing in the folders.
But check to see if your images and ttf files are there and no other files. Such as ftp logs etc.


Edited by Ruben (09/12/11 03:45 PM)
_________________________
Blue Man Group
Top
#245473 - 09/12/11 03:48 PM Re: CAPTCHA image broken [Re: jgeoff]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ
This is all I have in there:
Quote:

/threads/images/captcha/index.html

/threads/images/captcha/backgrounds/background1.jpg
/threads/images/captcha/backgrounds/background2.jpg
/threads/images/captcha/backgrounds/index.html

/threads/images/captcha/fonts/bullpen_.ttf
/threads/images/captcha/fonts/eflb.ttf
/threads/images/captcha/fonts/index.html


When I look in /threads/cache/ there are a bunch of 10-byte gifs with names like 2ad1673ef91ae1237dce569622afff72.gif -- but I cannot open them (they're apparently corrupt). I can delete them, but they just come back when someone goes to the registration page.
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#245477 - 09/13/11 03:40 AM Re: CAPTCHA image broken [Re: Ruben]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ
Originally Posted By: Ruben
Well then I am at a loss...

Same boat as me and others... but thanks for trying! wink
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#245492 - 09/15/11 03:53 AM Re: CAPTCHA image broken [Re: jgeoff]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

No other ideas? :/

Quote:
I would definitely contact UBB support, and see if they can figure out what's going on. We've exhausted our resources; without input from the developers, this issue will not be able to be resolved as we haven't gotten any other complaints regarding PHP, GD2, or ImageMagick on your host. We can try migrating you to a different host if you'd like.
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#245495 - 09/15/11 02:33 PM Re: CAPTCHA image broken [Re: jgeoff]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
I think I would follow that advise and open a support ticket with UBB.

It also could be possible you have a corrupted script file in ubb.
_________________________
Blue Man Group
Top
#245496 - 09/15/11 03:35 PM Re: CAPTCHA image broken [Re: jgeoff]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Humm,
I was cruising through the scripts and there is some type of test mode embedded in the captcha scripts by Rick.
Not to sure on how to enable it nor use the test nor what you get out of it.
Maybe someone else here has used it.
_________________________
Blue Man Group
Top
#245516 - 09/16/11 07:52 PM Re: CAPTCHA image broken [Re: jgeoff]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

I feel like such a moron!

While the captcha image did stop working w/o my doing anything, when I was troubleshooting I was changing the Gallery setting "What Graphics Library do you want to use?" thinking it was global. Just noticed in Registration Settings (where I was gonna turn off captcha in the meantime), and there it was set to ImageMagick. Changed it to GD2 and now the image shows. I just want to slap myself for being an idiot!!

But thanks, guys blush
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#245517 - 09/16/11 10:46 PM Re: CAPTCHA image broken [Re: jgeoff]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Lol
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#245518 - 09/16/11 11:54 PM Re: CAPTCHA image broken [Re: jgeoff]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

Keep laughing, Giz... :lol: wink

But here's a vote for making "What Graphics Library do you want to use?" a global setting, and irrespective of gallery/captcha! Too confusing for some of us drunk azzes sometimes... tongue wink
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#245521 - 09/17/11 01:25 PM Re: CAPTCHA image broken [Re: jgeoff]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Maybe I should have taken you up on your offer from FB... Coulda used the $ just to change the setting haha...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#245522 - 09/17/11 02:43 PM Re: CAPTCHA image broken [Re: Ruben]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Just to throw you under the bus.
Originally Posted By: Ruben
Did you not try Gizmos suggestion?
For captcha goto:
Control Panel ยป Registration Settings
Change CAPTCHA verification to GD2.

But don't feel like a moron.
I have done the same complaining here and at the same time that I have checked everything.
But then to find out I did not. crazy
_________________________
Blue Man Group
Top
Page 1 of 3 1 2 3 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image