![]() |
Home Community Mys-Script Creative Off-Topic |
|
![]() |
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
![]()
So I just added an adoptable to my site, and since I deleted all of the previous ones, it is the only one. It has been set to show up always in the adoption center, but it isn't appearing? It's in the database, but otherwise there isn't anything on the site?
EDIT: I was able to give myself an adoptable via the ACP, so everything else seems to be working, it just isn't showing up here.
__________________
Last edited by AlexC; 04-08-2012 at 02:32 PM. |
#2
|
||||
|
||||
![]()
I had this same problem, with the pets randomly disappearing from where they were supposed to be shown on the site, they were still in the database, just no longer adoptable.
__________________
My Mods Site (1.3.4, 2020 Mods) |
#3
|
||||
|
||||
![]()
Alright, I wasn't sure if it was just me. I actually had it in the last script too - only like, half showed up, I wasn't sure what it was. I just deleted all of them and was going to start over.
__________________
|
#4
|
||||
|
||||
![]()
Well is this happening just randomly to any adoptables, or that certain species always wont show up? If the latter is true, check the ids of your adoptables from the table prefix.adoptables and table prefix.adoptables_conditions. The two ids must match each other, or the pets wont show from adoption center. I will incorporate a rebuild_id script for such tables in future, so if by any chance the adoptables or user ids are different from each table, it will sort things out for you.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#5
|
||||
|
||||
![]()
I went and checked that database and found that the id's didn't match. Also had a spare one floating around. o.O Thank you, guess that was the problem - I have no idea how that got out of whack. xD
__________________
|
#6
|
||||
|
||||
![]()
Yeah, for adoptables and users that have multiple tables, each is linked together with another with a reference field that contains the same information. If this information does not match, you wont see the adoptables from adoption center, or users from members list.
This usually should not be a problem for anyone of you, unless you have a habit of resetting id increment from phpmyadmin. The below screenshot shows you how you can do this: ![]() The highlighted field increments by 1 whenever you insert a new row into database, and wont decline even if a row is removed. Theoretically the id increases by 1 after you create a new pet, and it stays at the current pointer even if you hard-delete a pet. I am not sure how you can have id mismatches unless you've done more than creating/deleting adoptables in ACP.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#7
|
||||
|
||||
![]()
I did go through the database to edit a bunch of stuff, so that's problably how it happened- I 'll try to find that thing and fix it.
__________________
|
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adopt many adoptables at once. | Aasixx | Questions and Supports | 9 | 09-17-2012 11:16 AM |
Adopt Center | Alaric | Questions and Supports | 12 | 12-27-2011 05:07 AM |
Would you adopt these adoptables? | elfhome | Other Chat | 2 | 02-15-2011 03:54 PM |
Is it possible not to display the species name of the adoptable in adopt center? | Hall of Famer | Questions and Supports | 3 | 03-07-2010 06:54 PM |
Organize adoptables on adopt.php | kisazeky | Questions and Supports | 4 | 03-22-2009 07:14 PM |
What's New? |
What's Hot? |
What's Popular? |