Well copy/paste the functions_forums to your functions directory, and look into the script files login.php and register.php.
|
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 |
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.
|
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. |
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.
|
Ok just tell me what to do...
|
Do you have the old functions file? If so, just replace this line below:
PHP Code:
PHP Code:
|
No, you told me to replace it with the new one.
|
umm so you dont have the old functions.php file anymore? If so, download Mys v1.3.0 again and use that one.
|
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 |
All times are GMT -5. The time now is 11:47 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.