Can't access php forums after installing WordPress and Deprecated error

Forum for you who has PHP installation issues

Moderators: egami, macek, gesf

Post Reply
chicagotech
New php-forum User
New php-forum User
Posts: 1
Joined: Sun Jul 22, 2018 5:50 am
Location: Chicago, USA
Contact:

Sun Jul 22, 2018 5:59 am

After I installed WordPress, people can't access all my php forums with this message:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; acm has a deprecated constructor in /home4/chicagot/public_html/netforums/includes/acm/acm_file.php on line 23

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; user has a deprecated constructor in /home4/chicagot/public_html/netforums/includes/session.php on line 1423

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bitfield has a deprecated constructor in /home4/chicagot/public_html/netforums/includes/functions_content.php on line 1233

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dbal has a deprecated constructor in /home4/chicagot/public_html/netforums/includes/db/dbal.php on line 23

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home4/chicagot/public_html/netforums/includes/db/mysql.php:47 Stack trace: #0 /home4/chicagot/public_html/netforums/common.php(213): dbal_mysql->sql_connect('localhost', 'chicagot_pbb01', 'ropDiBkgko', 'chicagot_pbb01', '', false, false) #1 /home4/chicagot/public_html/netforums/index.php(20): include('/home4/chicagot...') #2 {main} thrown in /home4/chicagot/public_html/netforums/includes/db/mysql.php on line 47

I have restored it using hosting backup, but that doesn't fix the problem. Help please.
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net/forum1.htm
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com

User avatar
hyper
php-forum Fan User
php-forum Fan User
Posts: 761
Joined: Mon Feb 22, 2016 5:52 pm

Sun Jul 22, 2018 3:25 pm

Stop displaying error messages (in your php.ini file) and make the changes to your code before the deprecated code stops your site working altogether.

Post Reply