Reply
"Invalid Link ID" message when submitting paid link
Old 04-24-2008, 08:41 AM "Invalid Link ID" message when submitting paid link
gamefreaked's Avatar
Super Talker

Posts: 141
Trades: 1
"Invalid Link ID" message when submitting paid link
Hi,

I have a message "invalid link id" displayed on the payment page whenever a paid submission is submitted on the directory.

This is not on return from PayPal, this is straight after filling out the submission form, choosing a paid option and clicking on submit, which then goes to the payment page which should show the confirmation details and the paypal button to make the payment.

The problem is that the link id is not being sent to the payment page in the query string of the URL, the code that should send the ID is in the submit.php page:

//Move to payment page
@ header("Location: payment.php?id=".$data['ID']);
@ exit;
}

However the $data['ID'] does not have any value when the redirect is made to the payment page, so the invalid id message is displayed on the payment page.

The problem can be seen at the site: www.theaace.com

I have looked around the forum and found no answer to this, but possibly I missed it.

I would appreciate any help with this

Thanks
gamefreaked is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 04-24-2008, 06:29 PM Re: "Invalid Link ID" message when submitting paid link
solomongaby's Avatar
Webmaster Talker

Latest Blog Post:
How Do You Find Music Online ?
Posts: 522
Name: Gabe Solomon
Location: Romania
Trades: 1
from what i can guise without seeing the code i would say something is bad in the query that inserts the data into the database ... so there is no id generated.
__________________
If you like my posts ... TK is appreciated:)
Web Directory | Blog
solomongaby is offline
Reply With Quote
View Public Profile Visit solomongaby's homepage!
 
Old 04-24-2008, 11:16 PM Re: "Invalid Link ID" message when submitting paid link
addonchat's Avatar
Super Talker

Posts: 113
Name: Chris Duerr
Trades: 0
Can you post the relevant code for setting, and retrieving the data['ID'] var? I imagine (as solomongaby said) you're creating it when the form is submitted and storing it in the database. I'm guessing you're using an field with AUTO_INCREMENT? More code would be helpful
__________________
Chris Duerr
AddonChat Java Chat Software
http://www.addonchat.com/ - Affiliate Program
addonchat is offline
Reply With Quote
View Public Profile
 
Old 04-26-2008, 10:31 AM Re: "Invalid Link ID" message when submitting paid link
gamefreaked's Avatar
Super Talker

Posts: 141
Trades: 1
Thanks problem is solved
gamefreaked is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to "Invalid Link ID" message when submitting paid link
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.14981 seconds with 13 queries