March 22, 2010, 06:34:26 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: cpg1.4.26 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.4.25 or older update to this latest version as soon as possible.
[more]
   Home   Help Search Board rules Login Register  
Pages: 1 ... 26 27 28 29 [30] 31 32 33 34 ... 40   Go Down
  Print  
Author Topic: Captcha (Visual Confirmation) for comments/registration/reporting/login/ecard  (Read 260863 times)
0 Members and 1 Guest are viewing this topic.
Nibbler
Dev Team member
****
Gender: Male
United Kingdom United Kingdom

Posts: 19610



WWW
« Reply #580 on: July 21, 2008, 11:55:22 am »

Apply suggestion 2 from http://forum.coppermine-gallery.net/index.php/topic,36319.msg258786.html#msg258786

Edit: looks like you have a BOM at the start of the file, caused by editing it with an application that does not correctly support unicode.
« Last Edit: July 21, 2008, 12:01:00 pm by Nibbler » Logged

I don't care about what they say, I won't live or die that way.
phatair
Coppermine novice
*
Posts: 44


« Reply #581 on: July 21, 2008, 01:44:55 pm »

Thanks Nibbler,

i will try to clean the output buffer.

oh, ok! Thats possible - i edit the file with a editor of Joomla - so maybe this editor isnt the best editor to make these changes. I will remove the BOM and check the captcha again.

Thanks a lot for your help!!
Logged
phatair
Coppermine novice
*
Posts: 44


« Reply #582 on: July 21, 2008, 09:42:40 pm »

Hi,

i changed the code in the captcha.php from:

Code:
$code = $oPhpCaptcha->Create();

to this like in the other thread:

Code:
ob_end_clean();
$code = $oPhpCaptcha->Create();

but the code isnt still there.

@Nibbler - i don't see the BOM (for me a BOM is a "bad character" in the code) in which file do you see the BOM?
Logged
scottcrew
Coppermine novice
*
Gender: Female
Posts: 29

God Bless!


WWW
« Reply #583 on: July 22, 2008, 01:33:09 am »

I am seeming to have this same issue. It began right around July 18th, for us.
It kept leaving processes open on the server for the captcha.php file, which ended up shutting down all php scripts we were running.
I had to remove the captcha plugin to be able to stop the processes from reoccurring, but now, we are dealing with lots of spam comments. I want to put captcha back on, but not if we can't get the images to show when logging on or doing anything else...
Please help...
Logged
Nibbler
Dev Team member
****
Gender: Male
United Kingdom United Kingdom

Posts: 19610



WWW
« Reply #584 on: July 22, 2008, 09:17:57 am »

Try uploading a clean copy of german.php. The only reason I can think of as to why it works in other languages but not German is that there is something wrong with your German lang file.

The BOM appears as a »¿ at the start of your page, but your browser may hide it from you.
Logged

I don't care about what they say, I won't live or die that way.
phatair
Coppermine novice
*
Posts: 44


« Reply #585 on: July 22, 2008, 01:28:43 pm »

Hi,

so i uploaded a clean new german.php file but nothing changed. I renamed the english.php in german.php and the german.php in english.php. So if the german.php is wrong then it must be fine with the english.php (now the german.php). But the same error appears.

I searched in the source code of my page but i dont found the BOM??
Logged
phatair
Coppermine novice
*
Posts: 44


« Reply #586 on: July 30, 2008, 07:46:14 pm »

no other solution for this problem?
Logged
Nibbler
Dev Team member
****
Gender: Male
United Kingdom United Kingdom

Posts: 19610



WWW
« Reply #587 on: July 31, 2008, 10:16:35 am »

The BOM is still there. Solution is still to remove it. Maybe it's coming from Joomla.
Logged

I don't care about what they say, I won't live or die that way.
scottcrew
Coppermine novice
*
Gender: Female
Posts: 29

God Bless!


WWW
« Reply #588 on: July 31, 2008, 12:53:15 pm »

BUMP... I posted this before, but it went completely ignored...
We don't use German and it was working before, but now it is not:
Original post:
I am seeming to have this same issue. It began right around July 18th, for us.
It kept leaving processes open on the server for the captcha.php file, which ended up shutting down all php scripts we were running.
I had to remove the captcha plugin to be able to stop the processes from reoccurring, but now, we are dealing with lots of spam comments. I want to put captcha back on, but not if we can't get the images to show when logging on or doing anything else...
Please help...
Logged
Nibbler
Dev Team member
****
Gender: Male
United Kingdom United Kingdom

Posts: 19610



WWW
« Reply #589 on: July 31, 2008, 01:12:24 pm »

No idea. Find out what happened July 18th.
Logged

I don't care about what they say, I won't live or die that way.
phatair
Coppermine novice
*
Posts: 44


« Reply #590 on: July 31, 2008, 04:09:21 pm »

Hi Nibbler,
thanks again for your answer - can you please tell me where exactly you see the BOM? I dont see them. THis would be very helpful for me.

Thanks!
Best regards.
Logged
Nibbler
Dev Team member
****
Gender: Male
United Kingdom United Kingdom

Posts: 19610



WWW
« Reply #591 on: July 31, 2008, 04:44:43 pm »

It's in the raw output of captcha.php. I doubt that helps you. See if disabling the bridge has any effect.
Logged

I don't care about what they say, I won't live or die that way.
Gilles50110
Coppermine newbie

Gender: Male
Posts: 11


WWW
« Reply #592 on: July 31, 2008, 09:39:03 pm »

Edit the file with notepad++ and choose the doctype "UTF8 without BOM" and save the file.
A BOM can't be "seen".
Look at "Byte Order Mark" on WP.
Logged
phatair
Coppermine novice
*
Posts: 44


« Reply #593 on: August 01, 2008, 05:15:48 pm »

Hi,
so i disabled the bridge - installed the plugin again but the captcha code is not shown.
I downloaded the notepad++ and opened the captch.php.
i try format -> encode in utf8 - without BOM and i tried format -> convert to utf8 without bom

both changes didnt help - the captch is not shown. I opend the changed captcha.php again and there is still dos/windows and ANSI info in the right side of notepad++

i think i have to disable the comment function for guets because without captchas there are to much spam comments Sad

Logged
Joachim Müller
Administrator
*****
Gender: Male
Germany Germany

Posts: 46247


aka "GauGau"


WWW
« Reply #594 on: August 01, 2008, 05:23:59 pm »

thanks again for your answer - can you please tell me where exactly you see the BOM? I dont see them. THis would be very helpful for me.
Try the solution I posted in http://forum.coppermine-gallery.net/index.php/topic,25865.msg119270.html#msg119270
Logged
phatair
Coppermine novice
*
Posts: 44


« Reply #595 on: August 01, 2008, 05:46:06 pm »

thanks for the link
but if i search in my complete coppermine or joomla directory for the BOM (»¿) i find around 100 matches in several files. This character appears in my jpgs, in other files and so on...
i cant believe that all this files are corrupted. i think i delete this plugin and only registerd users can comment the photos. this is not the best solution but i think i will not find the problem and i am not so good in this hole php thing - i dont want waste your time.

thanks a lot for your help.
Logged
jeffcole455
Coppermine newbie

Gender: Male
Posts: 4


WWW
« Reply #596 on: August 13, 2008, 04:56:03 pm »

@Sami:  I just wanted to comment on the plugin.

What a great tool! Grin  I've installed it in my amateur gallery (http://pics.oklahomaedge.com) and it is working great!  Now I can advertise this thing and really open up the registration gates without a flood of spambots.  Thank you for providing such clear guidance in the "Read Me" doc.  Everything works smoothly.

Jeff
Logged
streetart
Coppermine novice
*
Posts: 48


« Reply #597 on: August 15, 2008, 10:01:52 am »

hello

How I can hidden the captcha from the register.php? I dont find the code..
Logged
Charlie-brm
Coppermine newbie

Posts: 5


« Reply #598 on: August 18, 2008, 06:37:55 pm »

Just installed the Captcha 3.0 zip files.
The confirmation image was totally chicken scratches, no visible fonts.
I looked in the captcha.php and changed the number of noise lines from 70 to 4, then 1.
At 1 there is a blank box, anything else is totally chicken scratches.
So no way to even log in. I deleted the captcha folder to regain access to my own gallery.

What's going on?
Logged
Sami Topic starter
VIP
***
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #599 on: August 20, 2008, 08:33:30 am »

check the requirement please .
make sure , font folder is exist
Logged

‍I don't answer to PM with support question
Please post your issue to related board
Pages: 1 ... 26 27 28 29 [30] 31 32 33 34 ... 40   Go Up
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.076 seconds with 19 queries.