|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
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: 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.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
PS - Clearing all the *.gif images from the cache didn't help...
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
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...
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
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.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
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...
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
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.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
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.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
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?
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
Here the gd info from php info: 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.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
Same as mine, Ruben, thanks...
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Dec 2003
Posts: 6,566 Likes: 78
|
Joined: Dec 2003
Posts: 6,566 Likes: 78 |
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.
Last edited by Ruben; 09/12/2011 3:45 PM.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
This is all I have in there: /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.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
Well then I am at a loss... Same boat as me and others... but thanks for trying!
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
No other ideas? :/ 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.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Dec 2003
Posts: 6,566 Likes: 78
|
Joined: Dec 2003
Posts: 6,566 Likes: 78 |
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 There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Dec 2003
Posts: 6,566 Likes: 78
|
Joined: Dec 2003
Posts: 6,566 Likes: 78 |
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 There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
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
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
Keep laughing, Giz... :lol: 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...
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
Maybe I should have taken you up on your offer from FB... Coulda used the $ just to change the setting haha...
|
|
|
|
Joined: Dec 2003
Posts: 6,566 Likes: 78
|
Joined: Dec 2003
Posts: 6,566 Likes: 78 |
Just to throw you under the bus. 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.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
0 members (),
802
guests, and
186
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|