Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#21
|
||||
|
||||
Well copy/paste the functions_forums to your functions directory, and look into the script files login.php and register.php.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#22
|
||||
|
||||
I'm getting this now when I try to login
Fatal error: Call to undefined method PDO::select() in /home/taleofdr/public_html/login.php on line 63 |
#23
|
||||
|
||||
Oh this is because you are missing the database class. Copy/paste the class_database.php and functions.php files to your site and it should work. Note you do not have to use select() or other database methods introduced in Mys v1.3.1, the old $adopts->query() and $stmt->fetchObject() still works.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#24
|
||||
|
||||
Could not connect to database, the following error has occurred:
SQLSTATE[HY000] [2005] Unknown MySQL server host 'DBHOST' (1) Did you make major changes or something? It's hard for me to upgrade b.c I have so many customizations. Now I'm all screwed up. |
#25
|
||||
|
||||
Yeah I did, the config file now uses PHP constants instead of variables. The new database class is being used everywhere. I can help you get rid of the constants though, and then it should be backward-compatible with Mys v1.3.0.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#26
|
||||
|
||||
Ok just tell me what to do...
|
#27
|
||||
|
||||
Do you have the old functions file? If so, just replace this line below:
PHP Code:
PHP Code:
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#28
|
||||
|
||||
No, you told me to replace it with the new one.
|
#29
|
||||
|
||||
umm so you dont have the old functions.php file anymore? If so, download Mys v1.3.0 again and use that one.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#30
|
||||
|
||||
I have my old one saved but when I did what you told me to do I get this:
Fatal error: Class 'Database' not found in /home/taleofdr/public_html/functions/functions.php on line 10 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mysidia Adoptables v1.3.3[Security Release] | Hall of Famer | Mysidia Adoptables Official Announcement | 122 | 05-18-2013 04:02 PM |
Mysidia Adoptables v1.3.0[Security Release] | Hall of Famer | Mysidia Adoptables Official Announcement | 180 | 04-01-2012 10:16 PM |
Mysidia Adoptables v1.2.0[Security Release] | Hall of Famer | Mysidia Adoptables Official Announcement | 21 | 03-22-2011 04:13 PM |
Mysidia Adoptables v1.1.4[Security Release] | Hall of Famer | Mysidia Adoptables Official Announcement | 15 | 01-28-2011 11:48 AM |
Mysidia Adoptables v1.1.3[Security Release] | Hall of Famer | Mysidia Adoptables Official Announcement | 27 | 01-26-2011 02:59 PM |
What's New? |
What's Hot? |
What's Popular? |