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
  #11  
Old 01-19-2015, 02:16 AM
MikiHeart's Avatar
MikiHeart MikiHeart is offline
Premium Member
 
Join Date: Apr 2009
Posts: 187
Gender: Female
Credits: 20,440
MikiHeart
Default

Hey, a little update on the script I was working on. If the user updates their profile, and select no pet, it becomes set to 0, this this happens:

Code:
Fatal error: Uncaught exception 'AdoptNotfoundException' with message 'Adoptable ID 0 does not exist or does not belong to the owner specified...' in C:\wamp\www\micronoms\classes\class_ownedadoptable.php on line 26
( ! ) AdoptNotfoundException: Adoptable ID 0 does not exist or does not belong to the owner specified... in C:\wamp\www\micronoms\classes\class_ownedadoptable.php on line 26
I'll do some more work on it.

Edit:

I fixed it XD With one minor change!

From:
Code:
if ($this->userfavpet == "0"){
To:
Code:
if ($this->userfavpet == "0" or $this->userfavpet == ""){
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Seeking Advanced PHP Coder (PAID) SoubisSacrifice Staff Central 14 01-29-2015 10:42 AM
Seeking a coder + artists~ Pear Staff Central 14 07-06-2014 03:42 PM
I need basic coding help Moontides Feedback and Suggestions 23 05-28-2014 01:54 PM
Seeking Mysidia coder Solistia Staff Central 4 05-03-2011 04:19 AM
My BASIC programs SleepWalker Other Chat 0 04-05-2010 08:37 AM


All times are GMT -5. The time now is 04:07 AM.

Currently Active Users: 268 (0 members and 268 guests)
Threads: 4,080, Posts: 32,024, 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 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636