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 12-13-2012, 07:23 PM
Nieth's Avatar
Nieth Nieth is offline
Aspiring
 
Join Date: Dec 2012
Location: North Carolina
Posts: 154
Gender: Male
Credits: 11,073
Nieth is on a distinguished road
Send a message via MSN to Nieth
Default Levelup/Click Error

Hey, sometime when we click pets to give them clicks, or just just try to level them up we get an error. I tried reading into it and going to the areas where it specified that they were, but I couldn't find anything obvious, since I'm not really a coder. Someone please take a look;


Warning: mt_rand() [function.mt-rand]: max(0) is smaller than min(5) in /home/aristo91/public_html/classes/class_member.php on line 111

Fatal error: Uncaught exception 'Exception' with message 'Cannot change user money by a non-numeric value!' in /home/aristo91/public_html/classes/class_member.php:95 Stack trace: #0 /home/aristo91/public_html/levelup.php(75): Member->changecash(false) #1 {main} thrown in /home/aristo91/public_html/classes/class_member.php on line 95





Also, when trying to open mail from SYSTEM, it states that it is not a user and you cannot open it;

Fatal error: Uncaught exception 'Exception' with message 'User SYSTEM does not exist...' in /home/aristo91/public_html/classes/class_member.php:26 Stack trace: #0 /home/aristo91/public_html/classes/class_privatemessage.php(79): Member->__construct('SYSTEM') #1 /home/aristo91/public_html/messages.php(37): PrivateMessage->getpostbar() #2 {main} thrown in /home/aristo91/public_html/classes/class_member.php on line 26
Reply With Quote
  #2  
Old 12-13-2012, 07:46 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: 340,851
Hall of Famer is on a distinguished road
Default

You specified the wrong settings for the levelup money reward setting. You need to enter two numbers, the first one must be smaller than the second one. For instance, '10, 20' is a valid combination, while '10' or '10, 5' is not.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 12-13-2012, 07:57 PM
Nieth's Avatar
Nieth Nieth is offline
Aspiring
 
Join Date: Dec 2012
Location: North Carolina
Posts: 154
Gender: Male
Credits: 11,073
Nieth is on a distinguished road
Send a message via MSN to Nieth
Default

Alright, that was me being dumb when I installed the script. x.x Sorry about that.


What about the second error? Or should changing it fix that one too?
Reply With Quote
  #4  
Old 12-13-2012, 08:06 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: 340,851
Hall of Famer is on a distinguished road
Default

umm the second is indeed a glitch... Please post an issue in the bug tracker, I will try to fix it soon.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #5  
Old 12-13-2012, 08:18 PM
Nieth's Avatar
Nieth Nieth is offline
Aspiring
 
Join Date: Dec 2012
Location: North Carolina
Posts: 154
Gender: Male
Credits: 11,073
Nieth is on a distinguished road
Send a message via MSN to Nieth
Default

Sure, no problem. As a temporary fix though, users can create an account named 'SYSTEM' and it will work perfectly fine. Just a heads up for everyone!

Thanks for the help. ^^
Reply With Quote
  #6  
Old 12-13-2012, 08:26 PM
LucasA33's Avatar
LucasA33 LucasA33 is offline
Member
 
Join Date: Jul 2011
Posts: 144
Gender: Male
Credits: 12,456
LucasA33 is on a distinguished road
Default

Learned that myself. (bout the system issue).
__________________
Reply With Quote
  #7  
Old 12-13-2012, 11:48 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: 340,851
Hall of Famer is on a distinguished road
Default

Well what I am thinking about is, why do we even need such a nonexistent 'System' user at all? In vbulletin the System User is one of the root admins you can set in ACP, as I will be doing for this bug fix.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
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
Help with levelup in 1.3.3? Infernette Questions and Supports 1 03-25-2013 05:47 PM
Levelup Problems? Tequila Questions and Supports 4 11-18-2011 11:52 PM
help with levelup.php please Sensacionsk8 Questions and Supports 7 02-27-2011 01:44 PM
help me with levelup.php Sensacionsk8 Questions and Supports 0 02-23-2011 05:48 PM
levelup issue ipman Questions and Supports 8 01-26-2011 09:33 AM


All times are GMT -5. The time now is 04:40 PM.

Currently Active Users: 9614 (0 members and 9614 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