Jump to content

Edit History

complusit

complusit


Solved

Hi,

All I'm getting is white pages 500 error since the host upgrade to Easy Apache 4 from 3 on Cpanel, and to php 5.6 (Without notice I might add).

1.6.1.3 , My SQL Server 5.6.41, WebServer mysqllib 5.1.73

I have tried changing the version of PHP in cpanel and cleared the smarty cache folders,

I ran in debug mode and got this:

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/XXXX/public_html/classes/db/MySQL.php:51 Stack trace: #0 /home/XXXX/public_html/classes/db/Db.php(319): MySQLCore->connect() #1 /home/XXXXX/public_html/classes/db/Db.php(239): DbCore->__construct('localhost', 'XXXX_presXX...', '@XXXXXX, 'XXXXXX_presXX...') #2 /home/XXXXX/public_html/config/alias.php(66): DbCore::getInstance() #3 /home/XXXXX/public_html/classes/shop/Shop.php(329): pSQL('www.complusener...') #4 /home/XXXXX/public_html/config/config.inc.php(114): ShopCore::initialize() #5 /home/XXXXX/public_html/XXXX/index.php(36): require('/home/XXXXX/...') #6 {main} thrown in /home/XXXXX/public_html/classes/db/MySQL.php on line 51

Does anyone have any idea please how to get our site back?

 

Many Thanks

Marcus

complusit

complusit

Hi,

All I'm getting is white pages 500 error since the host upgrade to Easy Apache 4 from 3 on Cpanel, and to php 5.6 (Without notice I might add).

1.6.1.3 , My SQL Server 5.6.41, WebServer mysqllib 5.1.73

I have tried changing the version of PHP in cpanel and cleared the smarty cache folders,

I ran in debug mode and got this:

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/XXXX/public_html/classes/db/MySQL.php:51 Stack trace: #0 /home/XXXX/public_html/classes/db/Db.php(319): MySQLCore->connect() #1 /home/XXXXX/public_html/classes/db/Db.php(239): DbCore->__construct('localhost', 'XXXX_presXX...', '@XXXXXX, 'XXXXXX_presXX...') #2 /home/XXXXX/public_html/config/alias.php(66): DbCore::getInstance() #3 /home/XXXXX/public_html/classes/shop/Shop.php(329): pSQL('www.complusener...') #4 /home/XXXXX/public_html/config/config.inc.php(114): ShopCore::initialize() #5 /home/XXXXX/public_html/XXXX/index.php(36): require('/home/XXXXX/...') #6 {main} thrown in /home/XXXXX/public_html/classes/db/MySQL.php on line 51

Does anyone have any idea please how to get our site back?

 

Many Thanks

Marcus

complusit

complusit

Hi,

All I'm getting is white pages 500 error since the host upgrade to Easy Apache 4 from 3 on Cpanel, and to php 5.6 (Without notice I might add).

1.6.1.3 , My SQL Server 5.6.41, WebServer mysqllib 5.1.73

https://www.complusenergy.co.uk

I have tried changing the version of PHP in cpanel and cleared the smarty cache folders,

I ran in debug mode and got this:

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/XXXX/public_html/classes/db/MySQL.php:51 Stack trace: #0 /home/XXXX/public_html/classes/db/Db.php(319): MySQLCore->connect() #1 /home/XXXXX/public_html/classes/db/Db.php(239): DbCore->__construct('localhost', 'XXXX_presXX...', '@XXXXXX, 'XXXXXX_presXX...') #2 /home/XXXXX/public_html/config/alias.php(66): DbCore::getInstance() #3 /home/XXXXX/public_html/classes/shop/Shop.php(329): pSQL('www.complusener...') #4 /home/XXXXX/public_html/config/config.inc.php(114): ShopCore::initialize() #5 /home/XXXXX/public_html/XXXX/index.php(36): require('/home/XXXXX/...') #6 {main} thrown in /home/XXXXX/public_html/classes/db/MySQL.php on line 51

Does anyone have any idea please how to get our site back?

 

Many Thanks

Marcus

complusit

complusit

Hi,

All I'm getting is white pages 500 error since the host upgrade to Easy Apache 4 from 3 on Cpanel, and to php 5.6 (Without notice I might add).

1.6.1.3 , My SQL Server 5.6.41, WebServer mysqllib 5.1.73

https://www.complusenergy.co.uk

I have tried changing the version of PHP in cpanel and cleared the smarty cache folders,

I ran in debug mode and got this:

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/XXXX/public_html/classes/db/MySQL.php:51 Stack trace: #0 /home/XXXX/public_html/classes/db/Db.php(319): MySQLCore->connect() #1 /home/XXXXX/public_html/classes/db/Db.php(239): DbCore->__construct('localhost', 'XXXX_presXX...', '@XXXXXX, 'XXXXXX_presXX...') #2 /home/XXXXX/public_html/config/alias.php(66): DbCore::getInstance() #3 /home/XXXXX/public_html/classes/shop/Shop.php(329): pSQL('www.complusener...') #4 /home/XXXXX/public_html/config/config.inc.php(114): ShopCore::initialize() #5 /home/XXXXX/public_html/XXXX/index.php(36): require('/home/XXXXX/...') #6 {main} thrown in /home/XXXXX/public_html/classes/db/MySQL.php on line 51

Does anyone have any idea please how to get our site back?

 

Many Thanks

Marcus

complusit

complusit

Hi,

All I'm getting is white pages 500 error since the host upgrade to Easy Apache 4 from 3 on Cpanel, and to php 5.6 (Without notice I might add).

https://www.complusenergy.co.uk

I have tried changing the version of PHP in cpanel and cleared the smarty cache folders,

I ran in debug mode and got this:

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/XXXX/public_html/classes/db/MySQL.php:51 Stack trace: #0 /home/XXXX/public_html/classes/db/Db.php(319): MySQLCore->connect() #1 /home/XXXXX/public_html/classes/db/Db.php(239): DbCore->__construct('localhost', 'XXXX_presXX...', '@XXXXXX, 'XXXXXX_presXX...') #2 /home/XXXXX/public_html/config/alias.php(66): DbCore::getInstance() #3 /home/XXXXX/public_html/classes/shop/Shop.php(329): pSQL('www.complusener...') #4 /home/XXXXX/public_html/config/config.inc.php(114): ShopCore::initialize() #5 /home/XXXXX/public_html/XXXX/index.php(36): require('/home/XXXXX/...') #6 {main} thrown in /home/XXXXX/public_html/classes/db/MySQL.php on line 51

Does anyone have any idea please how to get our site back?

 

Many Thanks

Marcus

×
×
  • Create New...