Can't access admin after a move to PHP 5

Discussion in 'Technical Support' started by kedmond, Jan 18, 2012.

  1. kedmond Customer

    I've just moved my hosting server from PHP 4 to PHP 5 and now get the following error when trying to access administration:

    Site error: the file /homepages/18/d210579288/htdocs/troton/administration/includes/init.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

    Switching back to PHP 4 allows me to access the admin OK but I need to be running PHP 5 to support Wordpress sites on the same hosting account.

    I'm running V4.0.8 Developer

    I've run /ioncube/ioncube-loader-helper.php and get the following result:

    An ionCube encoded file has been loaded successfully.
    Encoded files should now function correctly.


    You expert help would be much appreciated.
  2. Mike-N-Tosh Developer & Moderator

    Well, I can't say with absolute certainty, but seeing how v 4.08 was released over 3 years ago, I would say that it is not designed to run on php v5.x. You probably need to upgrade your version of 68 Classifieds.

    This isn't any different then expecting Microsoft Office 2000 to run on Windows 7.

    Bear in mind that the version of the ioncube-loader-helper.php itself that was distributed with 68 Classifieds looks like it was revised in 2007 and may not itself run properly with php v5.x. Of course as the read me says itself it is always best to run ioncube at config level called from the php.ini.

    Without knowing details of your server configuration other than you are running php v4 and v5, it would be difficult for anyone to give you much further advice.
  3. seymourjames All Hands On Deck

    Try asking your hosting provider to turn on ioncube loaders which are needed. You probably can't do it without root access. That is why it is saying - "installed by the site administrator" . however, in general 4.08 as Mike points out probably won't run anyway.
  4. Blair Administrator

  5. seymourjames All Hands On Deck

    He may not be able to do that Blair if the system admin needs to turn it on in php.ini which is often the case with shared hosting. I have come across this several times with customers.
  6. kedmond Customer

    Thanks for all your advice. I managed to fix the issue.

    Basically I needed to include a php.ini file in the admin folder which references the location of the ioncube loader. I'd already previously installed the ioncube files on the root directory of my domain server. Not sure why I'd failed to upload the php.ini file previously!

    Cheers.
  7. TheTechGuru Customer

    For others who run into a similar issue with 1and1

    Basically you create a text file, rename it from *.txt to php.ini, stick the below code inside, and ftp it to your 68c admin folder.

    Make sure the "x's" in the code below match your particular directory structure in 1and1

    Code:
    zend_extension=/homepages/xx/xxxxxxxxxxxxxxxx/htdocs/ioncube/ioncube_loader_lin_5.2.so
    

Share This Page