xn1337 Posted December 30, 2016 Share Posted December 30, 2016 Hi all, Install works fine on PHP 5.6 but when i try to run it on PHP 7.0.14 with ionloader installed and working, i get the below errors in my apache log: [sat Dec 31 01:17:02.627637 2016] [fcgid:warn] mod_fcgid: stderr: PHP Fatal error: Cannot redeclare mysql_affected_rows() in on line 0, referer: https://****/whmcs/admin/systemhealthandupdates.php [sat Dec 31 01:17:05.131260 2016] [fcgid:warn] mod_fcgid: stderr: PHP Fatal error: Cannot redeclare mysql_affected_rows() in on line 0 [sat Dec 31 01:17:06.983949 2016] [fcgid:warn] mod_fcgid: stderr: PHP Fatal error: Cannot redeclare mysql_affected_rows() in on line 0 My WHMCS install is running on a Domain setup under Virtualmin running in Centos 7, when i switch the PHP version to use i get the error on 7, functions fine on 5.6? License Type: Plus (250) Version: 7.1.1 Thanks Thomas. 0 Quote Link to comment Share on other sites More sharing options...
TheTechLounge Posted January 3, 2017 Share Posted January 3, 2017 Yeah same issue here but on Cloud Linux. 0 Quote Link to comment Share on other sites More sharing options...
tletourneau Posted January 20, 2017 Share Posted January 20, 2017 I am seeing the same thing with Cloud Linux. Works fine with 5.6 but I get a 500 error with 7.0, I've ensured ioncube is loaded (and I get a different error when it isn't). 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted January 20, 2017 Share Posted January 20, 2017 Try using 7.1, as it's the latest version, not 7.0 I've been using 7.1 (and 7.0) for a few weeks to test out mods and haven't had a single issue. Others have as well, I'm sure, otherwise this would have been fixed long ago. 0 Quote Link to comment Share on other sites More sharing options...
jawanet Posted January 27, 2017 Share Posted January 27, 2017 Try using 7.1, as it's the latest version, not 7.0I've been using 7.1 (and 7.0) for a few weeks to test out mods and haven't had a single issue. Others have as well, I'm sure, otherwise this would have been fixed long ago. Are you sure ioncube for php7.1 available? 0 Quote Link to comment Share on other sites More sharing options...
easyhosting Posted January 27, 2017 Share Posted January 27, 2017 i was told in a ticket it is down to 3rd party modules, so have to make sure 3rd party modules are compatible with PHP 7+ 0 Quote Link to comment Share on other sites More sharing options...
EWH1 Posted January 27, 2017 Share Posted January 27, 2017 Are you sure ioncube for php7.1 available? I didn't think it supported PHP 7.1 yet either...? 0 Quote Link to comment Share on other sites More sharing options...
marnslee Posted February 21, 2017 Share Posted February 21, 2017 nice, they couldn't tell me that and I wasted a day looking for PHP issues, thanks, found the problem in addons 0 Quote Link to comment Share on other sites More sharing options...
bluerayconcepts Posted March 3, 2017 Share Posted March 3, 2017 (edited) Yeah it seems to be plugin related. I removed any plugins i don't use and am left with error logs: [03-Mar-2017 11:55:17 America/Los_Angeles] PHP Fatal error: The file /home/bluerayc/public_html/brclient/modules/addons/enom_pro/enom_pro_compat_checker.php was encoded by the ionCube Encoder for PHP 5.3 and cannot run under PHP 7.0. Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 5.6. in Unknown on line 0 I have already submitted a support ticket to Circle Tree but have yet to get a response I have also began bugging my other plugin developers about this as well: CircleTree Enom Pro - in beta, seems to be working prelimiarily with PHP7 Namecheap FraudRecord - Not encoded and acording to them should work fine ReliableSite SpamExperts FraudLabsPro Zumada SEO - not encoded for PHP7 Technically speaking anything not encoded should work with PHP7 but I have tickets in anyway just confirming. Edited March 3, 2017 by bluerayconcepts 0 Quote Link to comment Share on other sites More sharing options...
kceaSERVICES Posted March 7, 2017 Share Posted March 7, 2017 Had the same issue with a fresh install of WHMSC7.1, php 5.6 on a Linux server. Issue lies in ionCube not being installed for php7. Once installed, worked perfect and no errors. Make sure ioncube is installed correctly for php7 and you should be fine. Hope that helps. 0 Quote Link to comment 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.