Jump to content

Error 500 if i try to use PHP7 as recomended


xn1337

Recommended Posts

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.

Link to comment
Share on other sites

  • 3 weeks later...
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.

 

Are you sure ioncube for php7.1 available?

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...

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 by bluerayconcepts
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated