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 05-30-2016, 01:23 AM
Ruri Lesavka's Avatar
Ruri Lesavka Ruri Lesavka is offline
Member
 
Join Date: Aug 2010
Posts: 15
Credits: 4,364
Ruri Lesavka
Default Error when creating new adoptables

edit; fixed
errors are related to MySQL version and settings, HOF fixed it :D


---------------------

I get this error when trying to create a new adoptable that is 'always available' and no alternative outcome. (Database error 1366 - Incorrect integer value: '' for column 'altoutlevel' at row 1)


If I put '0's in the alternative outcome section even when not selecting the option to enable alternative outcome it gives this error. (Database error 1366 - Incorrect integer value: '' for column 'number' at row 1)



What file(s) did I mess up? D:
__________________

Last edited by Ruri Lesavka; 06-05-2016 at 06:51 PM.
Reply With Quote
  #2  
Old 05-30-2016, 07:33 PM
Ruri Lesavka's Avatar
Ruri Lesavka Ruri Lesavka is offline
Member
 
Join Date: Aug 2010
Posts: 15
Credits: 4,364
Ruri Lesavka
Default

If no one knows how to fix this error. Should I just get the script reinstalled and add back all the stuff?

How do I add back all my files? I tried putting all the files back when the mysidia host restarted but it gave an error so I put back the original files and one by one added in files I've edited. Is there a easier way to transfer my files to a new host?


edit;
I just tested the files on x10 hosting and everything seems to work fine. I've moved the files and edited the sql database to match my website and it works ok. I can add new adoptables.
Is the problem something to do with mysidia hosting?
__________________

Last edited by Ruri Lesavka; 05-30-2016 at 08:23 PM.
Reply With Quote
  #3  
Old 05-30-2016, 10:03 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: 333,758
Hall of Famer is on a distinguished road
Default

You can check your database table adopts_adoptables_conditions, and for column 'number'. If this value is empty, check the 'null' checkboxes and make it null(or you can make it value 0 since the number does not matter). An empty string is an invalid value for integer column, it must be a number of null.

Edit: I am looking into your website now and I will see if I can find out anything.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #4  
Old 05-30-2016, 11:30 PM
Ruri Lesavka's Avatar
Ruri Lesavka Ruri Lesavka is offline
Member
 
Join Date: Aug 2010
Posts: 15
Credits: 4,364
Ruri Lesavka
Default

Quote:
Originally Posted by Hall of Famer View Post
You can check your database table adopts_adoptables_conditions, and for column 'number'. If this value is empty, check the 'null' checkboxes and make it null(or you can make it value 0 since the number does not matter). An empty string is an invalid value for integer column, it must be a number of null.

Edit: I am looking into your website now and I will see if I can find out anything.
adopts_adoptables and adopts_adoptables_conditions

Both of them has the same structure as the one on my x10hosting.

Alright, thanks for the help :D
__________________
Reply With Quote
  #5  
Old 06-01-2016, 03:38 AM
Ruri Lesavka's Avatar
Ruri Lesavka Ruri Lesavka is offline
Member
 
Join Date: Aug 2010
Posts: 15
Credits: 4,364
Ruri Lesavka
Default

Ah, I tried making a alchemy recipe thing and it gives the same error.
Database error 1366 - Incorrect integer value: 'none' for column 'recipe' at row 1

I haven't touched the php or the sql stuff for alchemy before ;u;

Also this shows up at the top
Warning: Cannot modify header information - headers already sent by (output started at /home/alliummy/public_html/classes/class_adminsidebar.php:18) in /home/alliummy/public_html/admincp/alchemy.php on line 91
__________________

Last edited by Ruri Lesavka; 06-01-2016 at 03:43 AM.
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


All times are GMT -5. The time now is 08:49 AM.

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