PDA

View Full Version : Adopt Problem


SJC
04-17-2009, 09:17 PM
When I adopt a adoptable, it adopts 2 of the same thing with the same name. Like if I adopted something called Test, It gives me 2 adoptables called Test, not just 1.

BMR777
04-18-2009, 11:55 AM
Odd... Is this on the old release or the new one?

Link please? :)

SJC
04-18-2009, 06:52 PM
New release.
http://www.pokefarm.netau.net/index.php

BMR777
04-18-2009, 06:58 PM
That's rather odd. Have you made any code changes at all?

SJC
04-18-2009, 07:00 PM
I haven't changed the adopt.php code at all. I changed siggy.php though. Would that effect anything? I changed the strings on it to only 1 string.

BMR777
04-18-2009, 07:04 PM
No, that shouldn't affect anything. I don't know why this is happening for you as there really is nothing to explain how it is happening. Maybe try reuploading a fresh, unaltered copy of doadopt.php and see if that fixes anything.

SJC
04-18-2009, 07:09 PM
Still adopts two of the same. What if I re-upload adopt.php?

BMR777
04-18-2009, 07:10 PM
You could try that as well. I'm trying to think though how it is adopting two...it should only really be able to adopt one.

SJC
04-18-2009, 07:11 PM
Or it could be a SQL problem.

BMR777
04-18-2009, 07:26 PM
Yeah, that must be it. Maybe for some reason your host's database is messed up. Can you do a fresh install on a fresh database and see if this is corrected?

SJC
04-18-2009, 07:34 PM
Yeah I just took the SQL details from sql.txt made a new database, then copied the adopts_users table to the new database and it worked, would I be able to copy adopts_adoptables to the new database?

BMR777
04-18-2009, 07:35 PM
You can try copying it, but if there was a problem there that could issues as well. If at all possible just make new tables, but you can try copying them and see if that solves the issue.

SJC
04-18-2009, 07:40 PM
It was the theme I was using. Something made it adopt 2 adoptables. When I swiched themes, it only adopted 1.

BMR777
04-18-2009, 07:41 PM
Ok, that's really weird. :)

SJC
04-18-2009, 07:44 PM
Do you think have it as a side menu would have made it like that?

BMR777
04-18-2009, 07:46 PM
I don't know what in the theme could have been the problem. Maybe try re-installing the theme, maybe something happened during the theme install?

SJC
04-18-2009, 10:03 PM
I didn't want to start a new thread, but is it possible to change the font of the letters of the text underneath the adoptable?

BMR777
04-19-2009, 04:42 PM
I didn't want to start a new thread, but is it possible to change the font of the letters of the text underneath the adoptable?


I replied in your other thread about this. :)