Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-12-2006, 11:23 AM
New Pligger
 
Join Date: May 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
incorrect key at submit url problem Solved!

hi,


the problem is cause by a missing code to assign the randkey from the form post to the code.

you just need to add this

$linkres->randkey = $_POST['randkey'];
to line 11 to yourtemplate\submit_step_3.tpl


bellow are some pictures for references.

good work buddies!

john
Attached Thumbnails
incorrect-key-submit-url-problem-solved-pligg_incorretkey_onsubmit_error1.jpg   incorrect-key-submit-url-problem-solved-pligg_incorretkey_onsubmit_error2.jpg  
Reply With Quote
  #2 (permalink)  
Old 08-03-2006, 09:53 PM
New Pligger
 
Join Date: Aug 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Hmm getting Fatal error: Call to a member function on a non-object in /home/site/public_html/pligg/libs/link.php on line 295
Reply With Quote
  #3 (permalink)  
Old 09-25-2006, 12:31 PM
New Pligger
 
Join Date: Sep 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah, I am getting the same error after adding that line
Reply With Quote
  #4 (permalink)  
Old 08-14-2007, 06:19 AM
repute's Avatar
Casual Pligger
 
Join Date: Jul 2007
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Step 3 preview is now empty with no error... (pligg 0.97)
Reply With Quote
  #5 (permalink)  
Old 08-23-2007, 10:44 PM
AshDigg's Avatar
Coder
 
Join Date: Dec 2005
Posts: 1,574
Thanks: 235
Thanked 345 Times in 206 Posts
The problem appears to be a problem with MySQL strict mode. Take a look at this.
Search your /libs/link.php file for the yellow code on the left of the page and replace it with the yellow code on the right of that page.
__________________
- Ash
Reply With Quote
  #6 (permalink)  
Old 09-21-2007, 04:06 AM
MicroBerto's Avatar
Casual Pligger
 
Join Date: Oct 2006
Posts: 50
Thanks: 14
Thanked 16 Times in 5 Posts
For those of you hitting the page from the search or from google, please see my final solution at story details incorrect key try again on the second page. I have two solutions which should work, the second post being more important and cleaner.
Reply With Quote
  #7 (permalink)  
Old 10-22-2007, 11:36 PM
New Pligger
Pligg Version: 9.8
Pligg Template: Pligg
 
Join Date: Oct 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you.
I solved the problem.
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in STORY SUBMIT bhatiacane Bug Report 6 03-09-2008 05:13 PM
[SOLVED] Weird Problem - Submit "Button" is a "Textbox" vivek231 Bug Report 2 08-07-2007 11:03 AM
Is anybody out there who solved the ie problem with the nav (second level)? lauris "Mollio-Beat" 2 01-28-2007 11:16 AM
submit problem revolver General Help 2 11-19-2006 11:11 PM


Search Engine Friendly URLs by vBSEO 3.2.0