Raised This Month: $12 Target: $400
 3% 

Is this broken with PHP7?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dungeon
Senior Member
Join Date: Sep 2009
Old 06-18-2016 , 11:36   Is this broken with PHP7?
Reply With Quote #1

Trying to do an install using XAMPP which has installed Apache/2.4.18 (Win32), OpenSSL/1.0.2e and PHP/7.0.6.

I'm at the point where I am adding the DB info to the config fie for the website however after I added the info I tried to connect to the site and I get the following errors

Code:
Deprecated:  Methods with the same name as their class will not  be constructors in a future version of PHP; DB_mysql has a deprecated  constructor in D:\xampp\htdocs\hlstatsx\includes\class_db.php on line 58

Deprecated:  Methods with the same name as their class will not  be constructors in a future version of PHP; Table has a deprecated  constructor in D:\xampp\htdocs\hlstatsx\includes\class_table.php on line 48

Deprecated:  Methods with the same name as their class will not  be constructors in a future version of PHP; TableColumn has a deprecated  constructor in D:\xampp\htdocs\hlstatsx\includes\class_table.php on line 515

Fatal error:  Uncaught Error: Call to undefined function mysql_connect() in D:\xampp\htdocs\hlstatsx\includes\class_db.php:87 Stack trace: #0 D:\xampp\htdocs\hlstatsx\hlstats.php(130): DB_mysql->DB_mysql('localhost', '', '', '', 0) #1 {main}   thrown in D:\xampp\htdocs\hlstatsx\includes\class_db.php on line 87
*note i replaced the config file with the blank one so it didn't show all my database info.

Anybody know what is going on here?

Last edited by dungeon; 06-18-2016 at 11:43.
dungeon is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode