PDA

View Full Version : requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site



alterna584
06-10-2008, 12:26 PM
Hi guys,

I am trying to install Fedafi Wordpress plugin and it needs to use Ioncube. I have installed as instructed and as what was discussed in the bh support site. I downloaded the new php.ini file and changed the zend files as instructed to

zend_extension=/home2/redzland/ioncube/ioncube_loader_lin.sozend_extension_ts=/home2/redzland/ioncube/ioncube_loader_lin_ts.so

and Im still getting an error "requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site"

Has anyone else ran into these problems..... I searched the site but it seems that there really isnt much on Ioncube in here and on other forums I searched they never gave a solution, they just ended. I am not a coding prodigy

Tsadik
06-10-2008, 01:56 PM
Hey all, I am totally at a loss as well. I have tried everything possible, followed all the instructions I have found, searched the forums, copied my php.ini into every subdirectory, and still have gotten nothing accomplished.

Here is my php.ini





zend_extension=/home/dreamst2/ioncube/ioncube_loader_lin_5.2.so
zend_extension_ts=/home/dreamst2/ioncube/ioncube_loader_lin_5.2_ts.so

[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so




zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so


I cannot figure out why its still not working either.

Any help you can give would be amazing.

alterna584
06-11-2008, 01:05 PM
Thanks tsadik for not making me the only one! I've been searching forums everywhere and the same solutions keep popping up but dont work for me! Let me know if you find anything out and I will do like wise

Tsadik
06-11-2008, 03:46 PM
No problem alterna584. I know exactly what you are saying. Its all the same solutions, nothing thats the next step if you are still having trouble.

I know someone has got to know where we have gone wrong.

I have also tried my php.ini with just one of the "zend_extension" and still nothing.
Like just:


zend_extension_ts=/home/dreamst2/ioncube/ioncube_loader_lin_5.2_ts.so

or


zend_extension_=/home/dreamst2/ioncube/ioncube_loader_lin_5.2.so



This is really baffling me guys.

If I need to give more info, please let me know.

I know there is someone who knows exactly what is wrong.

Thanks

PS Here is the loader test page if this helps at all. (http://dreamstream.info/ioncube/ioncube-loader-helper.php?page=rtl-tester)

HamiltonWDS
06-12-2008, 05:12 PM
I am also having the same problem with IonCube.

I have followed the FAQ and with the searches in the forums here and either get two results:

As per FAQ, when using the PHP Config, the following lines are entered in the php.ini (After renaming):

zend_extension=/home2/sitename/ioncube/ioncube_loader_lin.so
zend_extension=/home2/sitename/ioncube/ioncube_loader_lin_ts.so
And copying to sub-folders results in a no-go of IonCube being discovered. The error of:

... requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator

If the line of:

zend_extension=/home2/sitename/ioncube/ioncube_loader_lin_5.2.so
is entered before or after the top lines, or even by itself (deleting the top two lines), then a 500 error occurs (and yes, before the Optimizer set of codes).

johnwasneverhere
06-13-2008, 09:59 PM
check this out...

http://helpdesk.bluehost.com/kb/index.php?x=&mod_id=2&id=171

HamiltonWDS
06-14-2008, 07:38 PM
Unfortunately the solution in the FAQ does not help.
Appears that some applications do not accept the ioncube_loader_lin.so or ioncube_loader_lin_ts.so statements as there are no version numbers provided.

HamiltonWDS
06-16-2008, 08:41 PM
There appears to have been a change, or maybe I installed the wrong Ioncube files or those previous files were corrupted.

Whatever it was, the following does work and no 500 error codes pop-up:
1. Verify the type of server being used, for example: Linux x86_64
2. If there is an existing Ioncube folder and the site is not working, might as well delete the existing ones and re-upload/extract the new ioncube files.
3. Now depending on the application, the following steps will vary.
4. Have an ioncube folder (with all ioncube files) located out of the public_html folder (example: home/username/ioncube)
5. Modify the php.ini file to have the following lines (below the [ZEND] line and above any other zend commands):
zend_extension=/home2/sitename/ioncube/ioncube_loader_lin_5.2.so
zend_extension=/home2/sitename/ioncube/ioncube_loader_lin_5.2_ts.so
6. Copy all of the php.ini files to all sub-folders (search the FAQ of how to do this, quickly and easily).
7. Run a test, if the test fails, continue with below.
8. Copy the ioncube folder into the root of the site being used.
(Example: home/username/public_html/ioncube)
9. Modify the php.ini file with the following changes to the path:
zend_extension=/home2/sitename/public_html/ioncube/ioncube_loader_lin_5.2.so
zend_extension=/home2/sitename/public_html/ioncube/ioncube_loader_lin_5.2_ts.so
10. Copy the php.ini file to all sub-folders.
11. Conduct a test, the test should succeed.

If the test fails, go ahead and post here.

vscribe
07-07-2008, 02:27 PM
I have installed this per the posting.

I see according to the cpanel that the php.ini for the site is at usr/lib/

Would that be the problem?

I would appreciate any help as I'm stumped

gaetgodi
07-21-2008, 07:51 PM
Worked for me, the second zend_extension= should be zend_extension_ts=

Dana
08-29-2008, 12:48 PM
Thanks, I got my add-on running!

I forget where I read it, but it was mentioned that if you have FastCGI running, you only need that php.ini in your public_html directory. if you are not using that, you will need to put the php.ini into each script directory that will try and use Ioncube. It was the copying the php.ini into a different directory that worked for me!

Hope this helps for others that might come across the same problem.

gotry
08-30-2008, 03:45 PM
Hi,
I've the same problem.
I've created a directory called "IONCUBE" with all ioncube loaders in /home2/user/, and then I've put this

[Zend]
zend_extension=/home2/wedeenne/ioncube/ioncube_loader_lin_5.2.so
zend_extension=/home2/wedeenne/ioncube/ioncube_loader_lin_5.2_ts.so
in my php.ini which is located in /home/user/public_html/ then I've click on "save changes" in "PHP config". The encoded files are located in /home2/user/public_html/68/.
The error continues.
What am I doing wrong?




6. Copy all of the php.ini files to all sub-folders (search the FAQ of how to do this, quickly and easily).

I've searched "php.ini" and I don't found any results...:(

Thanx!

nckmed
09-22-2008, 12:49 AM
I tried all of the steps and then this is what my php.ini file has text:

zend_extension=/home2/utvconcepts/locator/ioncube/ioncube_loader_lin_5.2.so
zend_extension_ts=/home2/utvconcepts/locator/ioncube/ioncube_loader_lin_5.2_ts.so

I then posted it in ever sub domain and this is the error that i still get.

Site error: the file /home/content/u/t/v/utvconcepts/html/locator/admin/index.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

I need help so badly and I'm running out of time can anyone plz help me. If it helps i host though godaddy.

Early Out
09-22-2008, 07:09 AM
I need help so badly and I'm running out of time can anyone plz help me. If it helps i host though godaddy.
If you're hosting on Godaddy, no one here can help you. This is a forum for people who host their sites on Bluehost.

chrnoaria
09-23-2008, 10:57 PM
I'm having the same problem here. I'm trying to use JoomSuite modules which requires me to have Ioncube. I have do all the instructions above and get successful message from the ioncube-loader-helper.php. But the modules still didn't work and show the site error message. Could anybody help with this?

chrnoaria
09-24-2008, 01:05 AM
Nevermind. Just solved the problem. Only need to copy the php.ini file to the administrators folder.

brackishwaters
11-08-2008, 04:19 PM
I have read all of these responses and the FAQ from BH but to no avail. I think my problem is the path to the default php.ini and i could really use the help.

I installed the default php.ini per the faq's instructions and tried this ini with the additional
zend_extension = /home/sitename/ioncube/ioncube_loader_lin_5.2.so
line added after the ZEND but before the first command.

I tried this with both the ioncube folder inside public_html and above it. I have the correct 64 linux version of ioncube in the folder as well. I then copy this to my root install requiring the ioncube (/joomla) and also the folder that is calling for it (/joomla/administrator/components/)
I also tried using a custom php.ini to point to the ini located in the joomla root folder and you can see this code below:

<?php
// Put all the php.ini parameters you want to change below. One per line.
// Follow the example format $parm[] = "parameter = value";
$parm[] = "register_globals = Off";
$parm[] = "session.use_trans_sid = 0";
zend_extension=/home/sitename/ioncube/ioncube_loader_lin_5.2.so
// full unix path - location of the default php.ini file at your host
// you can determine the location of the default file using phpinfo()
$defaultPath = '/usr/local/lib/php.ini';
// full unix path - location where you want your custom php.ini file
$customPath = "/home/sitename/php.ini";
// nothing should change below this line.
if (file_exists($defaultPath)) {
$contents = file_get_contents($defaultPath);
$contents .= "\n\n; USER MODIFIED PARAMETERS FOLLOW\n\n";
foreach ($parm as $value) $contents .= $value . " \n";
if (file_put_contents($customPath,$contents)) {
if (chmod($customPath,0600)) $message = "The php.ini file has been modified and copied";
else $message = "Processing error - php.ini chmod failed";
} else {
$message = "Processing error - php.ini write failed";
}
} else {
$message = "Processing error - php.ini file not found";
}
echo $message;
?>

I really think my error here is the path to the default php.ini but I have tried everything. I have been successful isntalling this before on a php4 host without ioncube but for some reason BH is giving me trouble. I need this for my Joomsuite add on as well!

brackishwaters
11-09-2008, 09:45 AM
nevermind,
i found the solution to be adding
zend_extension_ts = /<path>/ioncube_loader_lin_5.2_ts.so
instead of the one missing the _ts

trogster
06-15-2009, 08:10 AM
Hello, I am trying to use a wordpress plugin encoded with ioncube.
I am using it on a domain different than my main domain, so its in a subfolder inside /public_html.

This is what I have tried so far:

Cpanel show x86_64 so I downloaded
http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
and I upload it (decompressed) in "/%root%/ioncube" (one level up public_html)
Then I created the default php.ini and added:

[Zend]
zend_extension=/home7/username/ioncube/ioncube_loader_lin_5.2.so
zend_extension_ts=/home7/username/ioncube/ioncube_loader_lin_5.2_ts.so

I added this php.ini into /public_html/DOMAINFOLDER/blog/wp-content/plugins/pluginfolder (to all those folders not just the last one). (I've also tried uploading to public_html directly)

I tried with PHP5, PHP5 (Single php.ini) and PHP5 (FastCGI).

Didn't work.

Then I tried uploading the ioncube folder into the DOMAINFOLDER and changed the php.ini's files.

But still didn't work, I run out of ideas to try now :(


update: FIXED - Sorry for this post, if anyone is trying to use ioncube for wordpress plugin make sure you upload php.ini into wp-admin folder

gloryforixseal
06-16-2009, 06:29 PM
The best way to use the bat file is to run it and have explorer running in a small window and simply drag and drop your working windows folder into the bat file.

Hit enter and everything should update.

TonyS
06-17-2009, 10:53 PM
When I'm fixing the problem, here is my usual process.

Go to cPanel -> PHP Config
Choose PHP5 (Single php.ini)
Click Save Changes
Click the Ioncube checkbox
Click Install php.ini Master File
Click Save Changes

Go to cPanel -> File Manager, choose "web root" and hit Go
located the php.ini.default file, check the box next to it
hit Rename, rename to php.ini, click "rename file"

That usually (about 95% of the time) takes care of the problem.

Brett_101
06-23-2009, 07:12 PM
Hello fellow Bluehosters!

I'm trying to install the JoomSuite User Component to my website 101studentdesign.com. I seem to have the ioncube issue resolved, and I'm trying the install instructions that integrate the component with the standard login module. I understand there is a way to allow the component to run independently, but I'm not savvy enough for all that coding.

My main issue was that my "create new account" link was giving me a link with "com_juser&view=register" instead of "com_juser&task=register". I've tried looking at all the possible default.php pages that might be causing the problem, but all the links in all the pages read correctly.

However, somewhere in my installation I managed to disable the main login module which effectively shut me out of my joomla site. Bluehost support was SUPER about getting me back in the driver's seat. JoomSuite support has suggested that I install the update to JoomSuite User. I did that this morning and now I can't access any of component options (Configuration, Field Manager, etc) from the JoomSuite USer component. I get this error message in a new window:

Warning: require_once(/home/onezerq9/public_html/components/com_juser/controllers/fieldmanager.php) [function.require-once]: failed to open stream: No such file or directory in /home/onezerq9/public_html/components/com_juser/juser.php on line 46

Fatal error: require_once() [function.require]: Failed opening required '/home/onezerq9/public_html/components/com_juser/controllers/fieldmanager.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/onezerq9/public_html/components/com_juser/juser.php on line 46


I am a novice at Joomla! and even more of a novice when it comes to php. I can follow instructions very well of the instructions are detailed enough. That seems to have been my issue all along with JoomSuite. I've let them know repeated that I am dissatisfied with the clarity and detail of their install instructions.

I suppose that's why they give a 15 day trial license (because it takes that long to get the component working properly).

I would appreciate any help that anyone could offer.

-Brett

TonyS
06-23-2009, 09:04 PM
Those errors look like it's saying the mentioned file is missing. Check in your File Manager to see if the file exists in the right place. If it's there, open a ticket to the Scripting techs so they can take a look at the problem.

Brett_101
06-23-2009, 10:51 PM
I sent them a message early this morning, and haven't heard back from the yet.

I just sent another message. We'll see if it gets ignored too.

-Brett

Early Out
06-24-2009, 04:58 AM
I sent them a message early this morning, and haven't heard back from the yet.

I just sent another message. We'll see if it gets ignored too.

-Brett
Use Live Chat. Support tickets sometimes don't get answered for a day or two. And sending another message within hours is just counter-productive - all you're doing is making the queue of waiting tickets longer, which is hardly likely to improve the response.

glennluther
09-26-2009, 12:27 PM
I was pulling out my hair trying to get this to work. I happened to see this, it was exactly what I needed. I cannot tell you how much I appreciate you posting this.

Glenn.


When I'm fixing the problem, here is my usual process.

Go to cPanel -> PHP Config
Choose PHP5 (Single php.ini)
Click Save Changes
Click the Ioncube checkbox
Click Install php.ini Master File
Click Save Changes

Go to cPanel -> File Manager, choose "web root" and hit Go
located the php.ini.default file, check the box next to it
hit Rename, rename to php.ini, click "rename file"

That usually (about 95% of the time) takes care of the problem.

aiscom
10-19-2009, 01:40 PM
Hello!
Did you find a solution, I also get an error like this after pressing the registration button from juser.
The files are there.

thx ais

Warning: JUserControllerUser::_joinActivity(/usr/www/users/wmsmra/joomla/components/com_community/api.php) [function.JUserControllerUser--joinActivity]: failed to open stream: No such file or directory in /usr/www/users/wmsmra/joomla/components/com_juser/controllers/user.php on line 0

Fatal error: JUserControllerUser::_joinActivity() [function.require]: Failed opening required '/usr/www/users/wmsmra/joomla/components/com_community/api.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/www/users/wmsmra/joomla/components/com_juser/controllers/user.php on line 0

phinux
10-20-2009, 12:52 AM
aiscom, I'm not an expert on the plugin, but something is wrong with the configuration somewhere. It's looking for files in /usr/www/users/wmsmra...etc but your home folder for your Bluehost account will look something like /home#/username/public_html...

So you need to figure out where the component is getting that /usr/www/users path and replace it with the path to your installation. If your Joomla installation worked out of the box, and you installed the component using Joomla's interface this shouldn't have happened. If you have trouble finding it you might submit a ticket to Bluehost's scripting team. Let them know the steps you've taken so far to install the software and see if they'd be willing to help you figure it out.

Any time you get an error that contains "failed to open stream: No such file or directory in..." try checking to see if the files actually exist in that location.