Page 1 of 2 12 LastLast
Results 1 to 15 of 25

Thread: Captcha issues

  1. #1
    Join Date
    Aug 2007
    Posts
    3

    Default Captcha issues

    We are having this issue as well... Version 5.4 installed:

    1). We are running captcha scripts on other sites (on this server) without any trouble.
    2). The captcha is not being cached.
    3). The problem is irregular. Happens whether I'm logged in or not; regardless of ISP.
    4). We modified the registration form to remove it completely (that was the only way we were able to fix the "problem", and plan to remove the captcha from the site submission form as well (although this is not the ideal solution).

    Nick

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Moved your post to it's own thread.

    Do you have any URL's that you can provide that have captcha enabled still?

    The only other things I can suggest to you are to check the following for now

    In /filters/filter.start_session.php make sure you see


    if ($type == 'post') {
    session_write_close();
    }

    at the bottom of the file after the last brace } and before the ?>

    If not, then add it and it should solve your issues.

    Also please check what version of GD is installed on your server(s).

  3. #3
    Join Date
    Apr 2006
    Posts
    447

    Default

    Seems like a recurring issue.

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    A few posts in a month doesn't really make it recurring, but it does seem to be happening to newer users. Otherwise we'd be flooded with these issues.

    The worst part of it is, the last two people I helped haven't responded back yet to let me know if what I told them to do fixed their issue. People only seem to post when there's a problem (obivously) but once it's fixed (or they work around it) they don't reply back with what they've done.

  5. #5
    Join Date
    Apr 2006
    Posts
    447

    Default

    true. jumped the gun!
    Last edited by CEC; 10-06-2007 at 01:08 AM.

  6. #6
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    could try my alternative, its free now... just download from forum :

    http://www.nicecoder.com/community/s...6018#post26018

    only works for adding links, but could easily be changed to work on all forms. I want some feedback on if it improves issues with spam, or how you find it generally.


    thanks
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  7. #7
    Join Date
    Apr 2007
    Posts
    29

    Default

    Just had inspireme implement the submission mod so that should cut down on spamming - BUT, I have the problem with captcha just not working. It was fine up the last week or so. No changes server side that I'm aware of and the filter.start_session.php has the code mentioned above. Caching is set to zero.

    Just did a hard cache clear on IE and that fixed it but that can't be the solution.

    EDIT:
    Spoke too soon. The problem has returned already. Just checked the templates_c folder and there is a lot of files in there. Perhaps delete cache files from admin is not doing what it should?
    Last edited by deebee; 10-23-2007 at 11:25 AM.
    Meetings Directory | running on 5.4.0

  8. #8
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    It could also be due to script permissions. The script will run as the user nobody on unix/linux servers, and if the files the script creates are not made by the same user then it will not have permission to delete them.

    The files the script makes should be created by nobody, but that's not always the case in some oddly setup servers.

    What happens if templates_c does not have write permissions? I've never tried it, but that would solve the cached file issue.

  9. #9
    Join Date
    Apr 2007
    Posts
    29

    Default

    Quote Originally Posted by Bruceper View Post

    What happens if templates_c does not have write permissions? I've never tried it, but that would solve the cached file issue.
    Just tried that & it don't want to play...

    Fatal error: Smarty error: unable to write to $compile_dir '/home/meetings/public_html/templates_c'. Be sure $compile_dir is writable by the web server user. in /home/meetings/public_html/lib/smarty/Smarty.class.php on line 1088

    EDIT:
    Manually cleared template_c and the problem still exists.
    Last edited by deebee; 10-23-2007 at 01:16 PM.
    Meetings Directory | running on 5.4.0

  10. #10
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Well that sucks, it was a thought.

    I can only suggest sending a ticket in and letting Dody check it out. I know he was working on something with captcha but I don't konw what.

  11. #11
    Join Date
    Apr 2007
    Posts
    29

    Default

    Progress, of sorts...it appears to be template related. I switched from cleandex to kosmos and everything works OK.

    I've made a couple of mostly visual changes to cleandex, otherwise, it's as was.
    Meetings Directory | running on 5.4.0

  12. #12
    Join Date
    Apr 2007
    Posts
    29

    Default

    Could I ask a favour of anyone reading this post. Can you try the contact form and see whether you can get a valid captcha response?
    Meetings Directory | running on 5.4.0

  13. #13
    Join Date
    Apr 2007
    Posts
    29

    Default

    Bit more progress. This is definitely a caching issue. If I get an invalid number response to any form, a screen refresh displays a new captcha and sends successfully.

    So, the remaining question is why doesn't the script clear down the captcha session properly?
    Meetings Directory | running on 5.4.0

  14. #14
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    What about adding a no-cache meta header and see if that fixes the issue?

    <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
    <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

    Yes, use both

  15. #15
    Join Date
    Apr 2007
    Posts
    29

    Default

    Good idea, but still no joy...
    Meetings Directory | running on 5.4.0

Similar Threads

  1. Spammer - need CAPTCHA
    By linksor.com in forum v5.x
    Replies: 16
    Last Post: 12-05-2006, 05:15 PM
  2. CAPTCHA mod
    By esm in forum Blocks and Modification
    Replies: 2
    Last Post: 05-15-2006, 11:46 AM
  3. CAPTCHA question
    By esm in forum v5.x
    Replies: 1
    Last Post: 12-04-2005, 07:24 PM
  4. CAPTCHA code
    By Albert in forum v3.2
    Replies: 4
    Last Post: 08-15-2005, 04:06 AM
  5. Issues I having
    By lordkinjo in forum v5.x
    Replies: 18
    Last Post: 05-05-2004, 10:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •