Can't access my page after activating reCaptcha

I wanted to activate reCaptcha and insert the Puplic and Private Key, now I cam't access my Homepage anymore.

Any help is much appreciated...

1.4.4-DEV [11068] (Official build)
Theme zpSkeleton

Comments

  • Maybe a little more information. From the above description it could be almost anything. So, report on errors found in your error logs (both Zenphoto and server) and what exactly happens when you try to access the homepage.
  • Thank you Sbillard, just FYI... I will figure it out once I have some spare time :-(

    First I couldn't access my Homepage now I get the following error:

    Fatal error: Cannot redeclare _recaptcha_qsencode() (previously declared in /volume1/web/jakob/zp-core/zp-extensions/captcha/reCaptcha/recaptchalib.php:47) in /volume1/web/jakob/zp-core/zp-extensions/reCaptcha/recaptchalib.php on line 55
  • That error is indeed strange. It seems to be saying that the recaptcha library is being included more than once, but at least with Zenphoto code that cannot happen as it is included with a `require_once` statement.

    Is there any chance that the zpSkeleton them is including the library?
  • Sorry Sbillard, after all I don't get further ;-( I did install the new development version from 7th Dec. with out success. The remaining is just to complicated for me.

    This is the last section from the debug.log

    {Sat, 08 Dec 2012 13:58:57 GMT}
    NOTICE: Undefined property: captcha::$name in /volume1/web/jakob/zp-core/zp-extensions/reCaptcha.php on line 13
    require_once called from require_once (load_objectClasses.php [32])
    from require_once (functions.php [41])
    from require_once (template-functions.php [10])
    from index.php [6]

    By the way I did send this link (Forum) to gjr the author of zpSkeleton, but didn't get a answer yet.

    Thank you for your help...
  • acrylian Administrator, Developer
    Seems gjr is currently busy with possibly "real world" stuff. I did try to contact him a while back as well.
  • Any hint? Or I have to make a new install?
  • Hi,

    what you can try (dirty trick):
    FTP to your site and navigate to the theme folder.
    Rename the zpskeleton folder to something like "zpskeleton_bak".
    Try to access your homepage now - I have done this trick a couple of days before.
    zenphoto - in my case - loads the default theme.

    Another possibility:
    Rename the zpskeleton folder (see above) and Re Download the theme from gjr's site.
    Upload the new downloaded theme per ftp.

    Ralf
  • The second error message you show indicates that there is a class "captcha" being loaded. Since the two captcha handlers we now have do not define that class, it must be comming from somewhere else.

    The classes that we might see are:

    `reCaptcha` (the expected one since that is what you enabled.)
    `zpCaptcha` if the Zenphoto captcha is enabled
    `zpFunctions` if no captcha is enabled.

    If it is the theme, then you should be able to go directly to the back-end pages by linking to `zp-core/admin.php`. Does that work?
  • @Ralf thank you, I tried both your suggestions with no success...

    @Sbillard no dosen't work...

    Thanks guy's
  • I guess your only option then is to use your cpannel MySQL app and delete the `zp_plugin_reCaptcha` option. This will "un-check" the plugin enablement.
  • Sorry I'm lost, is that what you mean?

    In phpMyAdmin I have jakobzp_captcha, I delet this one?
  • In that table there will be a record where the name is `zp_plugin_reCaptcha`.
  • SELECT *
    Well, if I would see this record I had deleted it, however there are no names at least which ever way I tried I couldn't get them. This are all records in the table jakobzp_captcha.

    As I can't insert a picture I just copy what I see, I truly hope that you can guide me on this one.

    FROM `jakobzp_captcha`
    LIMIT 0 , 30
    Profiling [Inline][Inline] [ Edit ] [ Explain SQL ] [ Create PHP Code ] [ Refresh ]

    Start row: Number of rows: Headers every rows
    Sort by key:

    + Options

    id
    ptime
    hash

    Edit
    Copy
    Delete
    207
    1351438719
    5537246723434eb8d93c190024511ff2b9fc69d5

    Edit
    Copy
    Delete
    203
    1351438497
    f0bb91d50eea45e91f438505ba9966c3124e2956

    Edit
    Copy
    Delete
    202
    1351438461
    26956a89bbd3079e544859e86cef021d0528ce52

    Edit
    Copy
    Delete
    201
    1351437900
    2de7590da504b7bf097abe67c693372ba34888f1

    Edit
    Copy
    Delete
    200
    1351437803
    7d07108cdc9477405c05dd39a76ecafe20c06d34

    Edit
    Copy
    Delete
    199
    1351436767
    1e786629ea3fdb13ff4c1c0048d3db1fb7741caa

    Edit
    Copy
    Delete
    198
    1351436764
    d791a6b3b0aa30e1e8e4eee506f7ffd40668dd24

    Edit
    Copy
    Delete
    197
    1351436761
    7a34aa48d777fbd585164376d8444fbb630ba9d2

    Edit
    Copy
    Delete
    196
    1351436707
    ce5bedd4745552a1c6bdf91818b1d0a7eb7d4fcc

    Edit
    Copy
    Delete
    195
    1351436668
    26d5e1c4722a479b46982eee084690899718ba72

    Edit
    Copy
    Delete
    194
    1351436641
    0785e2ac03ce0720b4777b31fb99e86f947da8ec

    Edit
    Copy
    Delete
    193
    1351436638
    bb217b16db7067d0826f38ba3d873a3448937d75

    Edit
    Copy
    Delete
    192
    1351436120
    5c05a048fdcbec682a615fde4d7bb58326859f4e

    Edit
    Copy
    Delete
    191
    1351436113
    31afad0288062cfc3f1f5ac3b98ce02c67ff3677

    Edit
    Copy
    Delete
    214
    1351439193
    29cb81e3109e6a92ea4c0acafe649f8c14c071fc

    Edit
    Copy
    Delete
    213
    1351439169
    9362cb55c37a67cb73bada9d20c0b71baf2b2218

    Edit
    Copy
    Delete
    212
    1351439149
    c5f3ba7e1975fea666f2fabd71774572229154e1

    Edit
    Copy
    Delete
    211
    1351439132
    1059f7d4c9273af28b746a2759cc4e62e2e4a3f0

    Edit
    Copy
    Delete
    210
    1351439128
    2a1a30cc0fd21dfbe4552e07145ebeb84a741b86

    Edit
    Copy
    Delete
    209
    1351439067
    45302e25d39bf362c62823041c7bf3908ace9e99

    Edit
    Copy
    Delete
    208
    1351439063
    bdf36cce04cd17bfa40cdf18ca65a9fa948d410a

    Edit
    Copy
    Delete
    206
    1351438686
    8b55d23992f4fffedf969193693b1d8558ed54b0

    Edit
    Copy
    Delete
    205
    1351438673
    a6e07cd3208f31076c34c67b801cbb5ad77d9b60

    Edit
    Copy
    Delete
    204
    1351438645
    a1452787775c363d37a65ffce781fa3ece37f7a1
    Check All / Uncheck All With selected: Change Delete Export
    Start row: Number of rows: Headers every rows
  • That is because you should be looking in the `options` table--that is where options are stored.
  • Sbillard, there is no such record as you mention "zp_plugin_reCaptcha"

    If you like to have a look yourself of the sake to further eliminate this error let me know, I'm more then happy to be of help.

    For my self even liking ZenPhoto a lot, I think it's just to complicated for me. Remember I didn't to any messing up, just activate one of the option and my page is dead. Very frustrating, but nevertheless I like to thank you for the support I got while trying to build my homepage here. Maybe another time when I have more energy I love to try it again.

    Cheers Jakob
  • We are sorry it is not working for you. But as it seems only you are having the issue and you are unable to persue it, I guess we will just never know what went wrong.
  • That's right, but as you by now could see I don't have the knowledge to do much to help to solve this problem. That's why I told you, you are very welcome to have a look if you are interested to solve it.

    I don't think that you seriously but it on the light side just because there is only one person with this issue...I'm sure you consider the impact of the problem and that's what you acting at.

    I refuse to believe that you don't care someone else may run into the same issue.

    Again I do like to help you, but all I can do is to give you access to my DB. If you take this offer or not is up to you.

    Once again thank you...
  • We cannot fix what we cannot diagnose nor reproduce. That is simply the way of the world. So if no one else comes forward with this issue and you do not persue it that is the end of what can be done.
  • In making one last review of this thread I do notice one thing. You are using a very preliminary development build of Zenphoto. If you wish to preview Zenphoto 1.4.4 you should be using the downloads as per http://www.zenphoto.org/news/zenphoto-1.4.4-beta.

    Development of Zenphoto has been removed to GitHub since mid October. http://www.zenphoto.org/news/zenphoto-development-partly-moved-to-github-now
  • Hello, (sorry for possible errors of the translator) I have a problem similar.Write user, white password and tells me "invalid password". Join catpcha to reset password email and say "We sent an email" but I did not send any email. And I can´t access my gallery. I would appreciate help. thank you very much.
  • Probably your host does not support "sendmail" and you will have to configure a proper mail account into Zenphoto--use the `PHPMailer` plugin instead of the `zenphoto_sendmail` one.

    BTW the title of this thread is
    Can't access my page after activating reCaptcha

    Your description of your problem is no where near like the one of this thread. So posting to this thread and saying you have the similar problem might lead to a wrong answer.
  • excuse my ignorance but I do not understand anything. Do I have to create another account? What do you do to make it proper mail account? Will I lose my current gallery?
  • acrylian Administrator, Developer
    The problem you describe has nothing to do with this topic title so forgive our confusion.

    If you cannot get a mail reset your server is not sending the mail. Either it does not support that or is not setup. Or it is and you have no or the wrong mail plugin enabled for Zenphoto.
Sign In or Register to comment.