midwestdesignfirm Posted July 26, 2018 Share Posted July 26, 2018 Our developer is on vacation and we have a question, he did an incremental upgrade of our server from 5.4 to 5.6 and we have a php blog module. when we submit a story, it says it was successful but it does not save below is the code from the admin page. is there anything glaring that sticks out. The error logs show two errors. the errors are below. any help would be appreciated [26-Jul-2018 16:40:35 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/cpas/public_html/admin/includes/fg_membersite.php on line 734 [26-Jul-2018 16:41:59 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/cpas/public_html/admin/includes/functions.php on line 3 Here is line 734 of fg_membersite.php $this->connection = mysql_connect($this->db_host,$this->username,$this->pwd); Here is line 3 of functions.php $connection = mysql_connect(_DBHOST_,_DBUSER_,_DBPASS_); Quote Link to comment https://forums.phpfreaks.com/topic/307561-54-to-56-depreciation/ Share on other sites More sharing options...
requinix Posted July 26, 2018 Share Posted July 26, 2018 It wouldn't explain why saving doesn't work. The mysql extension was removed in PHP 7. You won't be able to upgrade beyond 5.6 until you update your code to use mysqli or PDO. Quote Link to comment https://forums.phpfreaks.com/topic/307561-54-to-56-depreciation/#findComment-1560074 Share on other sites More sharing options...
midwestdesignfirm Posted July 30, 2018 Author Share Posted July 30, 2018 we would just like it to work in 5.6 Quote Link to comment https://forums.phpfreaks.com/topic/307561-54-to-56-depreciation/#findComment-1560159 Share on other sites More sharing options...
mac_gyver Posted July 30, 2018 Share Posted July 30, 2018 Quote below is the code from the admin page there's no code posted in this thread to examine and as requinix stated, these error don't have anything to do with something not being saved. Quote Link to comment https://forums.phpfreaks.com/topic/307561-54-to-56-depreciation/#findComment-1560160 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.