Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (id242), 24 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/23/08
Posts: 10
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 14
AllenAyres 12
SD 10
dbremer 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 8 1 2 3 4 5 6 7 8 >
Topic Options
#186562 - 06/14/07 12:09 AM Captcha image missing
Rugby Offline
stranger
Registered: 10/05/06
Posts: 21
Hi. I just installed UBB 7.1.1 and am having problems with Captcha. My server has Imagemagick installed, and the path to it is /usr/bin/perl which I put in the "Path to Convert". In the "Path to Mogrify" I put in /usr/bin/mogrify (because I saw it suggested in other related posts here).

I have Captcha enabled, but when I try to register as a new user no Captcha image is shown. I have run the Captcha test on my server, but only get a blank page. Anyone have a suggestion or a fix that I can try?

Cheers-
John

PS, I tried changing the "Path to Convert" to /usr/bin/convert but still had the same issue..


Edited by Rugby (06/14/07 12:12 AM)
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."
#186567 - 06/14/07 03:30 AM Re: Captcha image missing [Re: Rugby]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Trust me, the path to imagemagick is not /usr/bin/perl; this is the path to perl...

Your path will vary, but in most cases it'll be /usr/bin/convert and /usr/bin/mogrify however you'll need to check to be sure.

The captcha image will not display if the paths are not set properly

If you are unsure of how to look up the path to Convert and Mogrify, you should have your webhost provide those paths for you (should ImageMagick be installed)


Edited by Gizmo (06/14/07 03:31 AM)
_________________________
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
#186611 - 06/14/07 01:41 PM Re: Captcha image missing [Re: Gizmo]
Rugby Offline
stranger
Registered: 10/05/06
Posts: 21
Well, I contacted my webhost and was told that ImageMagick is installed on the server, and that the needed paths are as follows:
/usr/local/bin/convert
/usr/local/bin/mogrify

I have changed the ImageMagick Settings in the UBB Control Panel to reflect this, but still no Captca image shows up in registration? Does anyone else have any ideas I can try?

Thanks!!


 Originally Posted By: Gizmo
Trust me, the path to imagemagick is not /usr/bin/perl; this is the path to perl...

Your path will vary, but in most cases it'll be /usr/bin/convert and /usr/bin/mogrify however you'll need to check to be sure.

The captcha image will not display if the paths are not set properly

If you are unsure of how to look up the path to Convert and Mogrify, you should have your webhost provide those paths for you (should ImageMagick be installed)
Top
#186612 - 06/14/07 01:44 PM Re: Captcha image missing [Re: Rugby]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
What version of ImageMagick do they have installed?
Top
#186617 - 06/14/07 01:48 PM Re: Captcha image missing [Re: Rick]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
Have the image files been uploaded and that Java script too,
remember i done something similar.

Check you have uploaded the captcha folder.
Sorry its been a while you see.
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#186633 - 06/14/07 02:13 PM Re: Captcha image missing [Re: Rick]
Rugby Offline
stranger
Registered: 10/05/06
Posts: 21
Hi Rick. Its Image::Magick 5.5.7
Top
#186645 - 06/14/07 02:28 PM Re: Captcha image missing [Re: Mark S]
Rugby Offline
stranger
Registered: 10/05/06
Posts: 21
The Captcha folder is in the images directory, right where UBB has them placed. FYI, when I FTP'd to the website I moved the images folder as Binary per the setup instructions.

Why are some of the simple things in life so difficult sometimes?

Thanks!
John

 Originally Posted By: Mark S
Have the image files been uploaded and that Java script too,
remember i done something similar.

Check you have uploaded the captcha folder.
Sorry its been a while you see.
Top
#186646 - 06/14/07 02:28 PM Re: Captcha image missing [Re: Rugby]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Ah, that would be it. The CAPTCHA feature requires ImageMagick 6 in order to work properly.
Top
#186936 - 06/15/07 12:15 PM Re: Captcha image missing [Re: Rick]
Ian Offline
Registered: 06/05/06
Posts: 4337
Loc: Essex, UK
Ask your webhost to upgrade to the latest version \:\)
Top
#187076 - 06/16/07 05:33 AM Re: Captcha image missing [Re: Ian]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
The benefit of ImageMagick is that you can download the binary files, uload to your server, and link to them in the control panel.


Edited by Gizmo (06/16/07 05:33 AM)
_________________________
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
#187987 - 06/20/07 09:11 PM Re: Captcha image missing [Re: Gizmo]
Rugby Offline
stranger
Registered: 10/05/06
Posts: 21
Hi again. Well, I've asked my hosting service to upgrade to ImageMagick 6 and they won't until they upgrade all of their perl modules. They told me their is a work around and to inquire on their support forums, which I did, but very little help was offered.

It seems to me that during the UBB install process it said something about in order to use Captcha, I needed access to either ImageMagick or something else??? I've searched the UBB documentation and forum to no avail. Is their another module or program that will work on Captcha?? Without a functioning version of Captcha I can't see going live with my UBB Board.

All suggestions are appreciated!

Cheers,
John
Top
#188001 - 06/21/07 02:09 AM Re: Captcha image missing [Re: Rugby]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
ImageMagick6 and GD with font support ( i forget which) can both run the captcha system.

ImageMagick has a "binary" option that you can install yourself as a user; it shoudl be as easy as uploading it, setting the paths to it, and chmodding it 755.
_________________________
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
#197605 - 09/17/07 03:01 PM Re: Captcha image missing [Re: Gizmo]
Rugby Offline
stranger
Registered: 10/05/06
Posts: 21
Hello... My webhost has recently upgraded to ImageMagick 6.3.4 so I am trying to get Captcha working on my board again. In my control panel I have selected to use ImageMagick in the "Registration Settings," and under "Paths & URL" set the paths to "convert" and mogrify" as follows:

/usr/local/bin/convert
/usr/local/bin/mogrify

If I try to register as a new user there is still no Captcha image displayed. By the way, the paths above are what were given to me by my webhost. I also tried dropping the "local" out of the path just for fun and it didn't work either. Does anyone have any thoughts on what can I try next??

Cheers--
Top
#197606 - 09/17/07 03:22 PM Re: Captcha image missing [Re: Rugby]
Ian Offline
Registered: 06/05/06
Posts: 4337
Loc: Essex, UK
The best suggestion is to ask your host to confirm the path to convert and mogrify.

I doubt they have changed, but you never know.
Top
#197607 - 09/17/07 03:24 PM Re: Captcha image missing [Re: Rugby]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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.
Top
#197608 - 09/17/07 03:48 PM Re: Captcha image missing [Re: Rick]
Rugby Offline
stranger
Registered: 10/05/06
Posts: 21
Rick, I ran the test and got the following error:

"PHP error: /usr/local/bin/convert/: not found"

I tried dropping the "local" from my paths and got the same basic error - "PHP error: /usr/bin/convert/: not found"

This is pretty frustrating... what can I try next?
Top
#197610 - 09/17/07 04:27 PM Re: Captcha image missing [Re: Rugby]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Hmm, the error looks a bit odd. Do you have a trailing slash at the end of the paths? It looks like it's set to

/usr/local/bin/convert/

When it should just be:

/usr/local/bin/convert
Top
#197613 - 09/17/07 04:58 PM Re: Captcha image missing [Re: Rick]
Rugby Offline
stranger
Registered: 10/05/06
Posts: 21
I took out the trailing "/" at the paths end and now get the following error after running the test

"PHP error: /usr/local/bin/convert: Unrecognized option (-annotate)."
Top
#197614 - 09/17/07 05:06 PM Re: Captcha image missing [Re: Rugby]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
If that's the case, then it sounds like they actually "downgraded". annotate was added in version 6, but not available in version 5.

Either that, or they have both versions installed, and they gave you the path to version 5 and not version 6.
Top
#197617 - 09/17/07 06:55 PM Re: Captcha image missing [Re: Rick]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Likely that they have both versions running beside eachother; I'm thiking that we need a utility in the CP that checks the version...

You can create a "test.php" file which has the following which should read out the version (be sure to update "convert_path" to be your path):
 Code:
<?php
function ImageMagick_version() {
	$convert_path = '/usr/bin/convert --version';
	$return =  shell_exec($convert_path);
	$x = preg_match('/Version: ImageMagick ([0-9]*\.[0-9]*\.[0-9]*)/', $return, $arr_return);

	return $arr_return[1];
}
echo(ImageMagick_version());
?>


Should read out something similar to: 6.2.8
_________________________
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
#229103 - 09/09/09 12:28 AM Re: Captcha image missing [Re: Gizmo]
Rugby Offline
stranger
Registered: 10/05/06
Posts: 21
Hi,

For some reason Captcha has stopped displaying images during the registration process on my site? I've checked the forum permissions and everything checks out as okay. When I run the captcha test that Rick suggested 5 posts above (ubbthreads.php?ubb=captcha&t=im&test=1), I get the following error:

PHP error: convert: unable to read font `/usr/www/users/iwrf/forums/images/captcha/fonts/_vti_cnf' @ annotate.c/RenderType/1075.

If I refresh the page I get this error:

PHP error: convert: missing an image filename `GIF:/usr/www/users/iwrf/forums/cache/03995596e1f846ffdeb0fbe94aec60a0.gif' @ convert.c/ConvertImageCommand/2775.

I'm not sure what has happened as everything was working fine a week ago, and I haven't changed any settings before then or since. Does anyone have any suggestions on what I can try to get captcha working again so people can register on my forum again??

Many thanks in advance!!
www.iwrf.com/forums/
Top
#229104 - 09/09/09 01:11 AM Re: Captcha image missing [Re: Rugby]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
delete the _vti folder(s) from the images/captcha folders; they're not valid fonts and are thus b0ging things
_________________________
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
#229111 - 09/09/09 09:54 AM Re: Captcha image missing [Re: Gizmo]
Rugby Offline
stranger
Registered: 10/05/06
Posts: 21

That solved the problem, THANKS! Any idea what caused the _vti folders to be created in the first place?

One more question. I'm using UBB version 7.2; is there a way to replace the captcha images with the newer images that captcha now uses? The older ones can be a bit difficult to read.
Top
#229118 - 09/09/09 02:49 PM Re: Captcha image missing [Re: Rugby]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
the _vti folders are from Front Page Extensions on the server, they tend to place themselves in every directory, which can harm some scripts which are expecting only their own data to be within the directories.

And the images are simply the backgrounds, the letters are generated from the fonts within the captcha directories.

If you have ImageMagick available on your server you'll notice that images generated with that (vs GD) will be easier to read.
_________________________
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
#229119 - 09/09/09 02:53 PM Re: Captcha image missing [Re: Gizmo]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
He has imagemagick, since he's using convert. wink But on many servers it seems that GD will give better quality than ImageMagick. Guess it kind of depends.
Top
#229121 - 09/09/09 03:32 PM Re: Captcha image missing [Re: Rick]
Rugby Offline
stranger
Registered: 10/05/06
Posts: 21

I switched over to GD2 and that makes the image much easier to read. Is is possible to replace the 2 fonts (bullpen_.ttf and eflb.ttf) that are in the captcha/fonts directory with something else to help clear up the generated image further?

Thanks!
Top
#229123 - 09/09/09 03:47 PM Re: Captcha image missing [Re: Rick]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Originally Posted By: Rick
He has imagemagick, since he's using convert. wink But on many servers it seems that GD will give better quality than ImageMagick. Guess it kind of depends.
Weird... Figured if its better on some it'd stay that way tongue...
_________________________
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
#229124 - 09/09/09 03:51 PM Re: Captcha image missing [Re: Rugby]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Originally Posted By: Rugby

I switched over to GD2 and that makes the image much easier to read. Is is possible to replace the 2 fonts (bullpen_.ttf and eflb.ttf) that are in the captcha/fonts directory with something else to help clear up the generated image further?

Thanks!


Yes, the font's and backgrounds are read dynamically at the time of the CAPTCHA generation. So you can use any .ttf font you'd like. One thing to note, there is a bit of a blur put on all fonts. You don't want to clear of an edge to the font as it makes it much easier to crack the CAPTCHA.
Top
#229128 - 09/09/09 05:22 PM Re: Captcha image missing [Re: Rick]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Yeh, the clearer the worse you're off... There are bots and scripts designed just to crack captcha's, so you don't want to make it too easy for them...
_________________________
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
#229131 - 09/09/09 06:28 PM Re: Captcha image missing [Re: Gizmo]
Rugby Offline
stranger
Registered: 10/05/06
Posts: 21

Thanks guys.. I'm going to take your advice and leave it as it is.
Top
#229539 - 09/29/09 07:54 PM Re: Captcha image missing [Re: Rugby]
Flyin V Offline

member
Registered: 06/05/06
Posts: 118
A++ on this thread

Somehow I got a _notes folder in my CAPTCHA images folder and it wasn't working .. Deleted it and its now working great.

I think this folder popped up from Dreamweaver and/or a server move I did awhile back.

I needed to turn on the captcha on registration due to an increasing number of spambots registering on my forum.
Top
#229542 - 09/30/09 07:41 AM Re: Captcha image missing [Re: Flyin V]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Dreamweaver is known for placing a _notes folder.
_________________________
Blue Man Group
Top
#229544 - 09/30/09 10:56 AM Re: Captcha image missing [Re: Ruben]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
I'm going to have to get a list of all of the various auto-generated folders/files and just have it ignore those.
Top
#229553 - 09/30/09 02:26 PM Re: Captcha image missing [Re: Rick]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
That is a tough job. Just like frontpage places the stupid files. And wsftp if logs are enabled it will place a log.txt file in every folder that you upload to. God only knows what other programs add files.
It almost seems to be easier to add the caveat to the manual.
_________________________
Blue Man Group
Top
#229564 - 09/30/09 05:11 PM Re: Captcha image missing [Re: Rick]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
Originally Posted By: Rick
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
#229566 - 09/30/09 05:30 PM Re: Captcha image missing [Re: ehm1]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Okay well try this.
What would be the URL to the backgroung1.jpg
Let us know what it is.
It sounds to me if it is not a extra file issue then it is a file permission issue.
You should be able to type.
http://mydomain.com/forums/images/captcha/backgrounds/background1.jpg. and get a response with a background image.
It should have 755 for the folder for me the file is 644


Edited by Ruben (09/30/09 05:34 PM)
Edit Reason: Something hosed up my post. Corrected post
_________________________
Blue Man Group
Top
#229567 - 09/30/09 05:36 PM Re: Captcha image missing [Re: Ruben]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
Yes, I can get the picture when I go directly:
http://www.imigrar.com/forum/images/captcha/backgrounds/background1.jpg


my Folder is 755 and the files are 644
Top
#229569 - 09/30/09 05:51 PM Re: Captcha image missing [Re: ehm1]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
For GD2 the test url should be:
ubbthreads.php?ubb=captcha&t=gd&test=1
If still a issue then
open a support ticket and let us know what happens.
_________________________
Blue Man Group
Top
#229574 - 09/30/09 06:08 PM Re: Captcha image missing [Re: Ruben]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
I get a background image when I go to that URL posted above.
Top
#229575 - 09/30/09 06:14 PM Re: Captcha image missing [Re: JAISP]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Yes I do to. But he is cross posting now.
Trying the gd test url it is a blank page. He was using the IM test url which for me is the same (blank page)but that does not apply according to his post. Either does permission errors.
_________________________
Blue Man Group
Top
#229576 - 09/30/09 07:01 PM Re: Captcha image missing [Re: Ruben]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Okay Ehm1: Question
What did you use to re-upload your files with.
_________________________
Blue Man Group
Top
#229577 - 09/30/09 07:47 PM Re: Captcha image missing [Re: Ruben]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
Yes I got the blank page too on the test page. Strange.
Top
#229596 - 10/01/09 02:02 PM Re: Captcha image missing [Re: Ruben]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
Originally Posted By: Ruben
For GD2 the test url should be:
ubbthreads.php?ubb=captcha&t=gd&test=1
If still a issue then
open a support ticket and let us know what happens.


I'm sorry if I'm cross-posting or hijacking the thread. I can move my posts to a new one if that is the case.

Any way, I did the test and then I got a blank page.
No error, just a blank page.
I try with I.E. and Firefox and the same result. In both browsers I was log-in.

I'm sure is someting stupid I did when I re-install the softare... I just can't find what that could be.


Edited by ehm1 (10/01/09 02:03 PM)
Top
#229597 - 10/01/09 02:04 PM Re: Captcha image missing [Re: Ruben]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
Originally Posted By: Ruben
Okay Ehm1: Question
What did you use to re-upload your files with.



Filezila.
PHP setup to ASCII
JPG setup to BIN.

I upload the fonts as ASCII then again as a BIN, with same results.
Top
#229601 - 10/01/09 02:13 PM Re: Captcha image missing [Re: ehm1]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Just to confirm, you are running the test while being logged in as an admin correct? It will only display any output if so.
Top
#229603 - 10/01/09 02:17 PM Re: Captcha image missing [Re: ehm1]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
I have to take back my previous observation on the captcha test.
I had captcha disabled on my forum, so users can registry.
I enable and then I got a broking link sign on I.E.
and a blank page on Firefox.

If I click on the broking image, it shows no file name, but the PHP code.
Top
#229604 - 10/01/09 02:17 PM Re: Captcha image missing [Re: ehm1]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Here is what should be in the captcha directory. And nothing else
Captcha CHMOD 755
Backgrounds/
Fonts/
indexhtml

Backgrounds CHMOD 755
background1.jpg
background2.jpg
index.html
Fonts CHMOD 755
bullpen_.ttf
eflb.ttf
index.html

Check to make sure only the index files are 0 bytes
_________________________
Blue Man Group
Top
#229605 - 10/01/09 02:18 PM Re: Captcha image missing [Re: ehm1]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Are you enabling it as GD2 or ImageMagick?
Top
#229607 - 10/01/09 02:21 PM Re: Captcha image missing [Re: Rick]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
Originally Posted By: Rick
Just to confirm, you are running the test while being logged in as an admin correct? It will only display any output if so.


On the I.E. I was admin
on the Firefox I was moderator.

I log-in on Firefox as a admin and the same blank page, (no broking image) appears.

The broking image only appears on I.E.
Top
#229608 - 10/01/09 02:22 PM Re: Captcha image missing [Re: Rick]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
Originally Posted By: Rick
Are you enabling it as GD2 or ImageMagick?


GD2
Top
#229610 - 10/01/09 02:23 PM Re: Captcha image missing [Re: Ruben]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
Originally Posted By: Ruben
Here is what should be in the captcha directory.
Backgrounds
background1.jpg
background2.jpg
index.html


and how about the 'fonts' folder?
My has that too, and I checked the install files and the /fonts are there as well.
Top
#229611 - 10/01/09 02:25 PM Re: Captcha image missing [Re: ehm1]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Check my post again I selected submit before I was done typing.
_________________________
Blue Man Group
Top
#229612 - 10/01/09 02:26 PM Re: Captcha image missing [Re: Ruben]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
Originally Posted By: Ruben
Here is what should be in the captcha directory. And nothing else
Captcha CHMOD 755
Backgrounds/
Fonts/
indexhtml

Backgrounds CHMOD 755
background1.jpg
background2.jpg
index.html
Fonts CHMOD 755
bullpen_.ttf
eflb.ttf
index.html

Check to make sure only the index files are 0 bytes


all checked and all the way you described. index.html with 0b in all.
Top
#229616 - 10/01/09 02:58 PM Re: Captcha image missing [Re: ehm1]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Okay back to what I said "Open a support ticket"
I am not sure why you needed to re-install all of your files but there must of been a reason for it. Maybe something got corrupted either in the files or the tables. And just the captcha option is apparent right now. You may have other things not working you are not aware of yet.
_________________________
Blue Man Group
Top
#229620 - 10/01/09 04:14 PM Re: Captcha image missing [Re: Ruben]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
Originally Posted By: Ruben
Okay back to what I said "Open a support ticket"


OK, I did that.
I will post here when they give me a solution.
Thank you all for your help so far.
Top
#229803 - 10/08/09 11:19 AM Re: Captcha image missing [Re: ehm1]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
hei guys,
now become critical:
I disabled captcha for the registration, but looks like any member that is just a 'user' needs to fill the captca to post. and since captcha is not working, nobody can post, just the admin and the moderators.

I really need some help on how to make captch work again on my server.
Any ideas?
I submit a support ticket about a week ago and so far got no response from ubb. frown

Thank you for any ideas that may help!
Top
#229804 - 10/08/09 11:26 AM Re: Captcha image missing [Re: ehm1]
Rick Offline
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
#229805 - 10/08/09 12:14 PM Re: Captcha image missing [Re: Rick]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
Hi Rick,
I'm sorry. but I didn't received this response... frown
my bad.
Do I have to go back to the site and find the if it was reply or normally we receive an e-mail>?
I checked my JUNK folder is nothing is there as well. frown
----
Any way, I have the original 7.3.1 ZIP so I will do an update (I assume I can update a 7.3.1. to 7.3.1 right?)
or should I just copy files from my PC to my server?
Top
#229806 - 10/08/09 12:28 PM Re: Captcha image missing [Re: ehm1]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Hmm, will need to check and see if the notification went out at all.

Basically you just need to copy the files from your pc to your server. Everything except for the includes, styles and cache_builders/custom
Top
#229807 - 10/08/09 12:49 PM Re: Captcha image missing [Re: Rick]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
OK. I will copy all but includes, styles and cache_builders/custom

now, if there is a problem on the files under those folder. how can I find it?
I don't know if you remember, but I had a hacker problem couple months ago.
Top
#229808 - 10/08/09 01:00 PM Re: Captcha image missing [Re: ehm1]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
I copy all my original files back to the server.
Still the same problem the captcha image is broken.
Right now it's disabled for new registrations, but I have it on every single forum for new users, so will be a pain to remove from there.
Any other ideas?
Top
#229809 - 10/08/09 01:05 PM Re: Captcha image missing [Re: ehm1]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
You still have the same problem going on. View the source of any forum page and you'll see the blank lines at the top.

Whatever you are using for FTP or whatever mode you're copying in is adding blank lines throughout the code and is creating the problem. You might try using a different FTP client, or maybe look at the files on your local PC and make sure they don't have the blank lines in them as well.
Top
#229810 - 10/08/09 01:12 PM Re: Captcha image missing [Re: Rick]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
can you give me one file that has the problem?
I'm not a PHP expert, but if I can see the problem I will try to fix it.

Also, is there any way to try out captcha on my server (like a stand alone program), so I can rule out a problem with GD2 on my server?
ps: I'm using Filezila as my FTP program.
and sending .PHP as ASCII and .JPG as BIN


Edited by ehm1 (10/08/09 01:12 PM)
Top
#229812 - 10/08/09 01:28 PM Re: Captcha image missing [Re: ehm1]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Looks like you got most of them fixed, but there are still blank lines coming from somewhere. Will poke around a bit and see if I can track it down.
Top
#229813 - 10/08/09 01:32 PM Re: Captcha image missing [Re: Rick]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Looks like the majority of your language files have the issue. The english ones seem ok, but the portuguese have the mentioned spaces before the opening php tag and throughout the files.

example: languages/portuguese/generic.php
Code:


<?PHp

$ubbt_lang['CHARSET'] = "iso-8859-1";

$ubbt_lang['READ_DIRECTION'] = "ltr";

$ubbt_lang['EMAIL_SIG'] = "";

$ubbt_lang['TOP'] = "Top";
Top
#229815 - 10/08/09 02:29 PM Re: Captcha image missing [Re: Rick]
ehm1 Offline
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
#229816 - 10/08/09 02:56 PM Re: Captcha image missing [Re: ehm1]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
One blank line at the top is normal when viewing the source, you'll see it here as well.

Can you reply to your support ticket with the updated admin info. Can't seem to login as the admin with the username/pass that was submitted with the ticket.
Top
#229817 - 10/08/09 03:03 PM Re: Captcha image missing [Re: Rick]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
Rick,
I submit the ticket but also I change the password back to what you had before.
Top
#229818 - 10/08/09 03:09 PM Re: Captcha image missing [Re: ehm1]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
Couple more info:
1) today I received the Ticket Number email from Social Strata. so it's working and it's not on my SPAM.

2) The captcha works on my server, using a diferente program (my "contact us" page use it).

thank you for looking into that.
Top
#229819 - 10/08/09 03:28 PM Re: Captcha image missing [Re: ehm1]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Just as a note I use Filezilla. I use the transfer mode of auto for threads. Classic is another story unless you edit the filetypes.
Possibly you uploaded a few in binary in error. If you were switching back and forth for each file/folder.
Also I would make sure you are using a fresh extracted zip file for your version and that it overwrites all of the files if it is extracted to the same folder you have been using.

Also in filezilla it has a failed transfers tab at the bottom. check to make sure there are none. If there are then those files were not overwritten.
_________________________
Blue Man Group
Top
#229820 - 10/08/09 03:48 PM Re: Captcha image missing [Re: Ruben]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Another item with filezilla is it prompts you for the same identical files that exist on the site so make sure you select to overwrite them for the same queue at the very least or select the always option.

I used wsftp for years with classic with no problems.
When I upgraded to threads it caused the same problem you have due to it would write a extra file"log.txt" to all of the folders.

So sometimes you need to step back from the monitor take a moment and double check even the most simple tasks that seemed to always work before.
_________________________
Blue Man Group
Top
#229821 - 10/08/09 04:11 PM Re: Captcha image missing [Re: Ruben]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Just a thought ehm1.
Since Rick identified most of the problem now is with the Portuquese language file. Your working copy may be corrupted.
Since you created it to begin with in the language pack forum. Maybe you need to download your own zip file you posted and start over.
It seems to be okay at this site.

It might save you some time???
_________________________
Blue Man Group
Top
#229823 - 10/08/09 04:51 PM Re: Captcha image missing [Re: Ruben]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
Thanks, but I changed the language profile of one TestUser and the problem still.
I'm assume there is something wrong on the line Rick is telling me, but I can't find where else.
I already checked every single file on the Portuguese language, since the other ones I just download from the Install Pack.
frown
Top
#229827 - 10/08/09 06:14 PM Re: Captcha image missing [Re: ehm1]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
I responded to your ticket again. It should be working now. Your libs/captcha.inc.php had the blank lines problem which I fixed.
Top
#229828 - 10/08/09 06:19 PM Re: Captcha image missing [Re: ehm1]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Okay I use v7.5.3 I just installed your language pack made it the default. Logged off. When I attempt to register the captcha works fine it even refreshes with a new display.
Rick is back so he may chime in.
_________________________
Blue Man Group
Top
#229829 - 10/08/09 06:23 PM Re: Captcha image missing [Re: Ruben]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
So it looks like Rick was correct! Bad file!
Might want to check your backup to make sure you don't repeat the problem in the future.
_________________________
Blue Man Group
Top
#229831 - 10/08/09 07:00 PM Re: Captcha image missing [Re: Rick]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
Originally Posted By: Rick
I responded to your ticket again. It should be working now. Your libs/captcha.inc.php had the blank lines problem which I fixed.


I also posted there.
Didn't fix the problem.
Still. I sent you a page with the problem pictured on a browser.

Sorry it's taking that long to solve it and tying up your time. frown
Top
#229835 - 10/08/09 08:53 PM Re: Captcha image missing [Re: ehm1]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Well, it was fixed when I posted, but it's broke again and you're back to having some spaces in files. It looks like a couple were uploaded about the same time I was fixing things.
Top
#229849 - 10/09/09 01:45 PM Re: Captcha image missing [Re: Rick]
ehm1 Offline
member
Registered: 06/07/06
Posts: 183
Originally Posted By: Rick
Well, it was fixed when I posted, but it's broke again and you're back to having some spaces in files. It looks like a couple were uploaded about the same time I was fixing things.


That was my bad.
I was uploading from the original 7.3.1 Install Pack.

Now the captcha is fixed. THANK YOU Rick!!!

still have a log-in problem that seams to be related with the same 'espaces' issue.

I'm still looking for spaces on my files.
Top
Page 1 of 8 1 2 3 4 5 6 7 8 >



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

Today's Birthdays
No Birthdays
Recent Topics
Due Date Calculator-Calculate When Your Baby is Due
by StewartMyduedate
Today at 12:54 AM
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
Forum Stats
10491 Members
36 Forums
33842 Topics
181709 Posts

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