![]() |
#1
|
||||
|
||||
![]()
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 |
#2
|
||||
|
||||
![]()
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. |
#3
|
||||
|
||||
![]()
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? |
#4
|
||||
|
||||
![]()
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. |
#5
|
||||
|
||||
![]()
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. ^^ |
#6
|
||||
|
||||
![]()
Learned that myself. (bout the system issue).
|
#7
|
||||
|
||||
![]()
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. |
![]() |
|
|
![]() |
||||
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 |
What's New? |
What's Hot? |
What's Popular? |