Netman262
11-20-2009, 08:44 PM
I had a weird thing happen yesterday with the portal script.
Hostgator took the server down that I host my sites on so they could do some work on Apache.
When they brought the server back up, it caused the portal script to crash with a SourceGuardian error.
Here is the dialog that I had with Hostgator:
Affected URL : cheyenneportal.com
Description of Issue : They did a reboot on server and it came back up with the error on customers domain.
Displaying message when URL typed in browser:
Warning: dl() has been disabled for security reasons in /home/cheyenne/public_html/index.php on line 2
PHP script /home/cheyenne/public_html/index.php is protected by SourceGuardian and requires the SourceGuardian loader ixed.5.2.lin. The SourceGuardian loader has not been installed, or is not installed correctly. Please visit the SourceGuardian php encoder site to download required loader.
Hostgator support response:
Hello,
This was corrected for your account. This was not a server issue. YOur php.ini was not properly setting the loader for source guardian. I corrected this. Please let us know if you have any questions or issues.
After checking my site, a found that the Admin section was still having the same issue. I emailed them back and this is what they replied:
Hello,
The admin has been corrected. The proper php.ini is in the home directory and should not be modified. There was a php.ini in the admin directory. I renamed this to php.ini.bak and it properly loads now.
I'm not sure why the php.ini file was in both directories or if it is necessary or why it all of a sudden stopped working when they rebooted the server.
The portal script is working fine now and is pulling from the php.ini file in the main directory only.
I can provide a copy of my php.ini file if any of you techies want to analyze it and see what changes they made to make it work.
Just thought I would let you know in case you run in to the same problem.
Hostgator took the server down that I host my sites on so they could do some work on Apache.
When they brought the server back up, it caused the portal script to crash with a SourceGuardian error.
Here is the dialog that I had with Hostgator:
Affected URL : cheyenneportal.com
Description of Issue : They did a reboot on server and it came back up with the error on customers domain.
Displaying message when URL typed in browser:
Warning: dl() has been disabled for security reasons in /home/cheyenne/public_html/index.php on line 2
PHP script /home/cheyenne/public_html/index.php is protected by SourceGuardian and requires the SourceGuardian loader ixed.5.2.lin. The SourceGuardian loader has not been installed, or is not installed correctly. Please visit the SourceGuardian php encoder site to download required loader.
Hostgator support response:
Hello,
This was corrected for your account. This was not a server issue. YOur php.ini was not properly setting the loader for source guardian. I corrected this. Please let us know if you have any questions or issues.
After checking my site, a found that the Admin section was still having the same issue. I emailed them back and this is what they replied:
Hello,
The admin has been corrected. The proper php.ini is in the home directory and should not be modified. There was a php.ini in the admin directory. I renamed this to php.ini.bak and it properly loads now.
I'm not sure why the php.ini file was in both directories or if it is necessary or why it all of a sudden stopped working when they rebooted the server.
The portal script is working fine now and is pulling from the php.ini file in the main directory only.
I can provide a copy of my php.ini file if any of you techies want to analyze it and see what changes they made to make it work.
Just thought I would let you know in case you run in to the same problem.