PHP/MYSQL

Status
Not open for further replies.

mbillsx1

New Member
Messages
7
Reaction score
1
Points
1
Last night the site kept going down while I was working on it. Today I get up to do more work and now I'm getting PHP errors that tell me that you probably upgraded the PHP or MYSQL or one or the other and now my site is broken. BTW: everything was working fine last night when I stopped working on my site and the errors I'm getting are in a PHP file that I have never edited. Never once. Here is are the errors I am getting from my login script (note: I have shortened the path to the script below):

Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50173 Library:50531 in /includes/db_connect.php on line 22

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /includes/db_connect.php:22) in includes/functions.php on line 42

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /includes/db_connect.php:22) in /includes/functions.php on line 42

Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /includes/functions.php on line 43

And this is the actual lines it's talking about which I have never changed... ever.
db_connect.php line 22:
$mysqli = new mysqli(HOST, USER, PASSWORD, DATABASE);

functions.php lines 42 & 43:
session_start(); // Start the PHP session
session_regenerate_id(); // regenerated the session, delete the old one.

Please help get this fixed.
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
this is a "known" issue and is being worked on by staff
AND is now thrown by all three (3) x10hosting's free-hosting servers
 
Status
Not open for further replies.
Top