Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 02-02-2011, 02:32 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 574,401
Hall of Famer is on a distinguished road
Default

Invalid adoptable id error is usually caused by mismatch of your owned_adoptables table and this line in doadopt.php below:

PHP Code:
mysql_query("INSERT INTO ".$prefix."owned_adoptables VALUES ('', '$type', '$name','$loggedinname','0','0', '$code', '','$alts','fortrade','no','$gender','$loggedinname', 'Happy', '$side', '$MAXHP', '$MAXHP', '$Attack', '$Defense', '$Speed', '$Evade', '$Element','$evolution','$evolutionlevel','$evolutionform', '$evolutionform2'))"); 
I'd advise you to look at your prefix_owned_adoptables table carefully, or you may want to post a screenshot of your database table structure of prefix_owned_adoptables.

Also I recommend you to edit out this part of the codes from all your script files:

PHP Code:
// **********************************************************************
// Rusnak PHP Adoptables Script
// Copyright 2009 Brandon Rusnak
// For help and support: http://www.rusnakweb.com/forum/
//
// Redistribution prohibited without written permission
// ********************************************************************** 
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #2  
Old 02-02-2011, 02:53 PM
PTGigi's Avatar
PTGigi PTGigi is offline
Crazily Friendly~HoF
 
Join Date: Jul 2009
Location: Somewhere >.>
Posts: 370
Gender: Female
Credits: 35,794
PTGigi
Default

Quote:
Originally Posted by Hall of Famer View Post
Invalid adoptable id error is usually caused by mismatch of your owned_adoptables table and this line in doadopt.php below:

PHP Code:
mysql_query("INSERT INTO ".$prefix."owned_adoptables VALUES ('', '$type', '$name','$loggedinname','0','0', '$code', '','$alts','fortrade','no','$gender','$loggedinname', 'Happy', '$side', '$MAXHP', '$MAXHP', '$Attack', '$Defense', '$Speed', '$Evade', '$Element','$evolution','$evolutionlevel','$evolutionform', '$evolutionform2'))"); 
I'd advise you to look at your prefix_owned_adoptables table carefully, or you may want to post a screenshot of your database table structure of prefix_owned_adoptables.

Also I recommend you to edit out this part of the codes from all your script files:

PHP Code:
// **********************************************************************
// Rusnak PHP Adoptables Script
// Copyright 2009 Brandon Rusnak
// For help and support: http://www.rusnakweb.com/forum/
//
// Redistribution prohibited without written permission
// ********************************************************************** 
Yeah I first thought that would be the problem but after checking it over and over again I realized it was not :S I did just re-check it again and it's exactly like my owned_adoptables table. That's why I'm thinking it's the cash since I can see no other issues and I could adopt pets before I installed the purchasing mod.

Alrighty :3
__________________


"I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are."~Mewtwo
My Adoptables|Nuzlocke Webcomic
Reply With Quote
Reply


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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi Alternate Images Taintedkitten Questions and Supports 3 01-10-2013 07:44 PM
Another multi-currency question. Tequila Questions and Supports 10 02-04-2011 10:00 PM
AEF Multi AllMw2 Other Chat 5 06-02-2010 12:30 PM
Multi Account jcga Questions and Supports 3 11-12-2009 12:39 PM
Buying 'cash' with cash? Quillink Questions and Supports 4 07-20-2009 03:21 AM


All times are GMT -5. The time now is 01:14 PM.

Currently Active Users: 4362 (0 members and 4362 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636