Page 1 of 1

CMS Content Page

Posted: Wed Aug 23, 2017 4:39 pm
by ewalters
The PHP on the content page fell over with a message:

"deprecated MySQL_connect()" line 54 content.php

The admin page works fine and I can see the rows in the database tables.

Please advise

Re: CMS Content Page

Posted: Wed Aug 23, 2017 5:00 pm
by Pablo
If your webhost no longer supports the mySQL extension then make sure you select 'PHP5' in the Page properties so the code will use mySQLi instead.

Re: CMS Content Page

Posted: Fri Jul 27, 2018 8:12 pm
by wysiDan
I am getting the following error on the webpage that is viewed on my browser. "Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home4/goleanstream/churchpurse.life/index.php on line 54". By your previous comment you seem to indicate that this coming from my server and I should change the page properties to PHP extension and HTML5, if I understood correctly. I have the WWB page set to that configuration. Also, when I go to phpMyAdmin (from my webhost cpanel) I see that it says that PHP version: 5.6.30 is being used. Why am I still getting this error?

Re: CMS Content Page

Posted: Fri Jul 27, 2018 8:46 pm
by Pablo
By your previous comment you seem to indicate that this coming from my server and I should change the page properties to PHP extension and HTML5
No, you will need to set the PHP version in the page propoertieds to PHP5+

Re: CMS Content Page

Posted: Sun Jul 29, 2018 1:21 pm
by wysiDan
I see it under Properties, Miscellaneous, PHP Version. Works fine!

Thanks!