 |
 |
 |
 |
Registered: 05/23/08
Posts: 10
|
|
|
 |
 |
 |
 |
|
 |
 |
 |
 |
|
Express Hosting
"We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#229564 - 09/30/09 05:11 PM
Re: Captcha image missing
[Re: Rick]
|
member
|
Registered: 06/07/06
Posts: 183
|
|
While logged in as an admin user, bring up the following on your forums:
ubbthreads.php?ubb=captcha&t=im&test=1
That should give some type of information if it's encountering an error of some sorts. I'm using GD2 and after re-install my files the captcha is not working any more. I just did a re-install for all files, nothing else changed on my 7.3.1 version. I run Rick's code and got this: PHP error: sh: /www/forum/images/captcha/backgrounds/background2.jpg: Permission denied if I hit reload, got this: PHP error: sh: /www/forum/images/captcha/backgrounds/background1.jpg: Permission denied I play with those files permission, and if I give 777 it gave a diff. error: PHP error: sh: /www/forum/images/captcha/backgrounds/background1.jpg: cannot execute binary file any other comments please?
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#229804 - 10/08/09 11:26 AM
Re: Captcha image missing
[Re: ehm1]
|
Post-a-holic
|
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
|
|
I responded to your ticket right after you submitted it. You put in the ticket at 1:12 PM, I responded at 1:37 PM. Will copy/paste here:
__________________________________
Something seems to have gone awry with the way you uploaded the files. If you look at all of your files, there are multiple line breaks between each line of code. There are even linebreaks before the opening PHP tag everywhere.
So, what happens is view the source of any of your pages, you'll see a big block of blank lines before the opening html tag.
When PHP tries to generate an image, it sends an image header and then the image code itself. Since you have all of those blank lines being spit out, it sends the image header, but then sends all those blank lines before the image code, so it can never be a valid image.
What you're going to need to do is reupload all of the files and make sure that those spaces aren't there at all. It seems to be especially bad with the files in your libs directory, but it's also a problem in other directories as well.
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#229815 - 10/08/09 02:29 PM
Re: Captcha image missing
[Re: Rick]
|
member
|
Registered: 06/07/06
Posts: 183
|
|
Rick, could be something else? I checked and upload all Portuguese files and still the same issue. I changed one TEST user to English and try and still not showing the captcha even if his language is English. I can see a blank space on this file: http://www.MY_SITE_THAT_YOU_KNOW/forum/ubbthreads.php/ubb/newpost/Board/6(replace the mysitethatyoukno) but I could not find where that line is coming from. and on that page, for a NEW USER, the captcha is displayed. any other ideas?
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
|
|