PDA

View Full Version : Ioncube loaders problem?


admin
02-12-2008, 10:52 AM
IONCUBE ERRORS?

SITUATION ONE:
You will get the error when you first installing the script: (error of /sql/index.php)
> "Site error: the file */home/USERNAME/public_html/arpro/sql/index.php* requires the ionCube PHP
> Loader ioncube_loader_lin_5.2.so to be installed by the site
> administrator.
> ".

OR SITUATION TWO:
Here you have been using the script for a while. You will get the error when you accessing autoresponder adminpanel because of your host upgraded or changed the php environment/ioncube installation or simply you need different loaders: (error of /arpro/index.php)
> "Site error: the file */home/USERNAME/public_html/arpro/index.php* requires the ionCube PHP
> Loader ioncube_loader_lin_5.2.so to be installed by the site
> administrator.
> ".


First know your server API before going to the following steps:

1. Download phpinfo.php (http://www.scripts4webmasters.net/images/phpinfo.zip).
2. Upload it to your website root directory in ASCII.
3. Access it like http://www.yourwebsite.com/phpinfo.php
4. You will see 'Server API' row (4rth row). Next to it you will see either 'Apache (http://www.scripts4webmasters.net/images/apache.gif)' or 'CGI Binary' or 'CGI' (http://www.scripts4webmasters.net/images/cgibinary.gif).
5. Same time check ioncube installed or not by your host: Scroll down a little bit, you will see ioncube loaders installed on the server. Ioncube installed (http://www.scripts4webmasters.net/images/ioncube-install1.gif).


IF YOUR SERVER IS APACHE:

If your server API is Apache, you need to contact your host to install ioncube for you.


IF YOUR SERVER IS CGI BINARY:

== >> Your host supports ioncube as in step 5 above? (Solution: Ask them if they do. If not, ask them to install/upgrade ioncube. Most hosts are already supporting Ioncube.) If they want you to upload your own php.ini with ioncube path, continue reading ...


== >> Have you uploaded 'ioncube' directory under 'arpro' folder? (Solution: Upload ioncube directory under arpro folder.)


== >> Have you uploaded ioncube files in BINARY mode? (Solution: Delete the whole 'ioncube' folder and upload the files in suggested mode. Upload ioncube files in BINARY mode and php and text files in ioncube directory in ASCII mode)


== >> The ioncube loader file that is listed in above error (in this example it is ioncube_loader_lin_5.2.so) is actually present in ioncube folder? (Solution: Usually we supply these files along with every zip file automatically. If we missed it, please post in the foums or submit a support ticket.)


== >> Finding the Problem if all above are excluded - Try this:

1. Rename .htaccess to htaccess.txt in 'arpro' folder. (Rename back the htaccess.txt to .htaccess after fixing ioncube issue)

2. Now go to this url:
http://www.yoursite.com/arpro/ioncube/ioncube-loader-helper.php



3. You may see any of these possibilities:

* Ioncube Installed: Have you seen the message ioncube loaders installed *successfully*? (second paragraph) Means ioncube is supported by your host. Ioncube installed (http://www.scripts4webmasters.net/images/ioncube-install3.gif).
Again try to run the /sql/index.php.


* Ioncube not installed AND Dynamic loaders are supported but you need to configure ioncube path in php.ini for script to work: You will see a message 'Ioncube loaders are not working properly'. Ioncube not installed (http://www.scripts4webmasters.net/images/ioncube-install2.gif). Click on 'run time loading installation instructions'. It will tell you on how to configure ioncube loaders path in your php.ini.

Upload php.ini file to script directory. Make sure the zend extention path is in php.ini file.

[Zend]
zend_extension= /home/path/to/apro/ioncube/ioncube_loader_lin_5.2.so

(You need to modify .htaccess and upload php.ini to arpro folder - step 4 of the installation guide.)


* Ioncube not installed AND Dynamic loaders are NOT supported by your host: Click on 'run time loading installation instructions'. You will see an error that 'Unable to load dynamic library ... '. Dynamic loaders not enabled (http://www.scripts4webmasters.net/images/ioncube-install5.gif). You have to contact your host about this error and show them the error url. Ask them to enable dynamic loaders. Some hosts disable this as part of security.

Once they enabled dll(), you can upload php.ini with ioncube file path in it.
Once problem is fixed either by:

* Installing ioncube by your host OR

* (When dynamic loading allowed) You uploaded php.ini to the script directory with ioncube file path OR

* (When dynamic loading NOT allowed) Once your host enabled dll() > you uploaded php.ini with ioncube file path

Now run /sql/index.php or /arpro/index.php.

.