Results 1 to 2 of 2
  1. #1
    Guy
    Guy is offline
    New Pligger Guy's Avatar
    Joined
    Jun 2007
    Posts
    1
    Thanks
    Received:0
    Given: 0

    Question Incorrect Key while submit

    I see this problem in other posts in the forum, but none of the solutions that were offered is working in my case:

    Running Pligg Beta 9 on Windows XP and Apache 2.2 and PHP 5.2.3 MySQL 5.0

    Installation went smoothly (really simple and easy!)

    While trying to submit the first story I get the message "Incorrect key" in "Confirm details, step 3 of 3" page and the only option is to go back.

    I tried to add:
    PHP Code:
    $linkres->randkey $_POST['randkey']; 
    in the "submit_step_3.tpl" of yget template file
    But when I did that I got an empty "Story details" section and the code shows that it crashed right before the line that I added above.

    I tried to use the revised "submit.php" from Revision 1070 but this didn't help as well.

    I checked that my PHP includes the MHash extension.

    The log of the Apache is full with errors in each stage.

    Stage 1:
    Code:
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  pretitle in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\templates_c\\c_367ca16afe9353a4378d42ef827135ad.php on line 87, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  body_args in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\templates_c\\c_367ca16afe9353a4378d42ef827135ad.php on line 95, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  search in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\templates_c\\c_630bba0e7a33cb7172d3f046a8196ad5.php on line 8, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  link2 in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\templates_c\\c_630bba0e7a33cb7172d3f046a8196ad5.php on line 131, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  text2 in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\templates_c\\c_630bba0e7a33cb7172d3f046a8196ad5.php on line 133, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  link3 in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\templates_c\\c_630bba0e7a33cb7172d3f046a8196ad5.php on line 134, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  text3 in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\templates_c\\c_630bba0e7a33cb7172d3f046a8196ad5.php on line 136, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  link4 in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\templates_c\\c_630bba0e7a33cb7172d3f046a8196ad5.php on line 137, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  text4 in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\templates_c\\c_630bba0e7a33cb7172d3f046a8196ad5.php on line 139, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  category in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\templates_c\\c_630bba0e7a33cb7172d3f046a8196ad5.php on line 174, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  setmeka in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\templates_c\\c_630bba0e7a33cb7172d3f046a8196ad5.php on line 184, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  setmeka in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\templates_c\\c_630bba0e7a33cb7172d3f046a8196ad5.php on line 187, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  setmeka in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\templates_c\\c_630bba0e7a33cb7172d3f046a8196ad5.php on line 190, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  setmeka in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\templates_c\\c_630bba0e7a33cb7172d3f046a8196ad5.php on line 193, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  setmeka in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\templates_c\\c_630bba0e7a33cb7172d3f046a8196ad5.php on line 196, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  setmeka in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\templates_c\\c_630bba0e7a33cb7172d3f046a8196ad5.php on line 199, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: new_array in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\libs\\ez_sql_core.php on line 234, referer: http://localhost/Pligg/submit.php
    [Mon Jun 11 19:10:33 2007] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: new_array in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\Pligg\\libs\\ez_sql_core.php on line 234, referer: http://localhost/Pligg/submit.php
    Any ideas?

    After going through all the threads again, I found this one:
    Problem with sneak.php

    with the solution to change the setting of MySQL not to be STRICT.

    Code:
    # Set the SQL mode to strict
    #sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
    # Set the SQL mode to NON strict for Pligg
    sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

  2. #2
    Casual Pligger MicroBerto's Avatar
    Joined
    Oct 2006
    Posts
    44
    Thanks
    Received:0
    Given: 0
    For those of you hitting the page from the search or from google, please see my final solution at http://forums.pligg.com/installation...try-again.html on the second page. I have two solutions which should work, the second post being more important and cleaner.

Similar Threads

  1. incorrect key at submit url problem Solved!
    By pligguser in forum Questions & Comments
    Replies: 6
    Last Post: 10-22-2007, 08:36 PM
  2. story details incorrect key try again
    By luckyclover in forum Questions & Comments
    Replies: 12
    Last Post: 10-06-2007, 05:57 PM
  3. Incorrect Avatar Fix
    By eH9116 in forum Questions & Comments
    Replies: 2
    Last Post: 02-14-2007, 09:32 AM
  4. Incorrect database name. Can anybody help?
    By bubblegun in forum Questions & Comments
    Replies: 1
    Last Post: 10-01-2006, 09:58 AM
  5. Incorrect key -> Object error
    By Xavier in forum Questions & Comments
    Replies: 0
    Last Post: 08-05-2006, 06:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg