Tips and Tricks HQ Support Portal › Forums › WP PDF Stamper › IonCube Loader
Tagged: amazon s3, dreamhost, Ioncube, IonCube Decoder, Ioncube Encoder 4.07, ioncube loader, PDF Stamper 3.3.3, php.ini
- This topic has 28 replies, 9 voices, and was last updated 10 years, 3 months ago by labdpt.
-
AuthorPosts
-
September 28, 2011 at 1:01 am #22581adminKeymaster
Mayber your server needs the “php.ini” file to be placed inside that folder that has the ioncubed encoded files (wp-pdf-stamper). I have seen one other user who had a similar issue. Check this post:
https://support.tipsandtricks-hq.com/forums/topic/ioncube-loader-problem#post-22225
May 10, 2012 at 10:16 am #22582EiswuxeMemberHi,
I am at the exact point like many before:
– phpinfo() says, IonCube Loader is installed
– the “IonCube” test.php files work and show the desired message
– I put the php.ini in EVERY folder that has PHP files in it
– I asked tech support (STRATO) if it could be a config problem with them, and they said everything is configured right
But the requirements plugin does STILL say the Loader / Decoder is not found, and the PDF Stamper Plugin does not activate but says “fatal error”. What can I do?
May 10, 2012 at 11:16 pm #22583adminKeymasterYep, that means the IonCube loader is not recognized in your WordPress install (this is why when you access a simple test script directly it works). Bottom line is that if the minimum requirement plugin says “Decoder Not Found” then the PDF stamper won’t work for your install. This is why we give the minimum requirement checker plugin for free so you can check it before you get into this hassle.
Here are some examples of where the hosting provider all said that IonCube loader is installed correctly but it turned out otherwise:
https://support.tipsandtricks-hq.com/forums/topic/ioncube-php-loader-ioncube_loader_lin_52so
https://support.tipsandtricks-hq.com/forums/topic/another-ioncube-loader-problem
https://support.tipsandtricks-hq.com/forums/topic/ioncube-loader-problem
Do this test too
Download a set of test scripts from here:
http://www.tipsandtricks-hq.com/wp-content/uploads/plugins/ioncube/Ioncube-Test-Package.zip
Unzip the folder and you will see that it has two files. The content of the two files are exactly the same except one file is ioncubed and the other is not.
Upload the “ioncubed-version.php” file to your website and access it like the following:
http://www.example.com/uploaded-folder/ioncubed-version.php
Do you see the following output when you access the “ioncubed-version.php” script?
Hello World! If Ioncube is working properly on the server then this message will show up fine
May 11, 2012 at 6:41 am #22584EiswuxeMemberThanks for the reply!
Yes. If I put the php.ini file into the same folder as the ioncubed-version.php, then the message shows up correctly.
As soon as I delete the php.ini file and call the ioncubed-version.php, no message shows up. Seems all correct so far.
That left me to think that all that is missing is the php.ini file in the correct folder. So I placed the php.ini file in the folder of both the “pdf stamper” and the “requirements checker” plugin. I even put it in all folders that contain any php code. But the requirement plugin still says that the ioncube loader is not found.
Even better. I checked the code of the requirements-plugin and found out that it just checks if two php functions are available: ioncube_loader_version and ioncube_loader_iversion.
So I created a simple wordpress plugin myself and made the same check. In my plugin, the functions exist and thus the ioncube loader is available.
The only difference from my plugin to the requirements plugin is that it comes with one single file and is not displayed in the “settings-menu” of wordpress. Its just a plugin that gets called when a blogpost is loaded.
So I keep wondering what your plugins are making different.
Are there any “working directories” for wordpress plugins where I need to put the php.ini file? I am really at the end of the rope
May 11, 2012 at 7:13 am #22585adminKeymasterMeaning, the loader functions are not available inside WP admin. I sent you an email to get site access so I can do some digging around.
May 14, 2012 at 2:19 am #22586adminKeymasterTurned out that the Ioncube loader wasn’t available inside WP Admin Dashboard on this site (it was only available on the front end of the site).
http://www.example.com/wp-admin/
So the user uploaded the “php.ini” file in the “wp-admin” folder and it worked nicely.
July 16, 2012 at 5:26 pm #22587sameerMember– I have the IonCube loader installed properly. I get the message: “Hello World! If Ioncube is working properly on the server then this message will show up fine”
– I have installed php.ini in wp-admin folder and also in the wp-pdf-stamper folder
But still the Minimum Requirement Checker is not recognizing IonCube Decoder. Upon WP PDF Stamper plugin activation, it shows site error “public_html/wp-content/plugins/wp-pdf-stamper/wp_pdf_stamp1.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.”
Please help.
July 17, 2012 at 4:26 am #22588adminKeymasterThat means the IonCube Loader is still not present in the WordPress environment which is an issue with the hosting setup. This is why we give you the minimum requirement checker plugin and request you to check your server with it before purchasing the PDF stamper.
Anyway, try doing the following:
Please put the php.ini file inside the minimum requirement checker plugin folder and let me know if it detects IonCube from inside WordPress.
July 17, 2012 at 4:20 pm #22589sameerMemberUnfortunately, no. I put the ph.ini file into the minimum requirement checker plugin folder but the IonCube was could not be detected.
If there is any other way or should I just talk to my host (which is Hostgator).
July 18, 2012 at 12:39 am #22590adminKeymasterTalking to your host would be the best option as they will know if there is any special tweak that needs to be applied. We have a few customers who are using this plugin on HostGator so this is definitely possible but on your hosting account it is just not clicking.
If you tell them the following they should be able to help:
IonCube Loader is present in PHP but it is not present/recognized in the WordPress environment. So when a plugin calls the following function from inside WordPress it says that IonCube is not present:
function_exists('ioncube_loader_version')
Any ioncubed file is not readable by PHP inside WordPress either.
July 19, 2012 at 8:57 am #22591sameerMemberThanks. The problem is now fixed. My hosting provider said that the php.ini file was not configured to be used by all subdirectories. So it was then configured and the plugin has now got activated. Thanks for all the support.
August 23, 2014 at 9:57 pm #22592labdptSpectatorPrior to purchasing the PDF Stamper, I am attempting to install the IonCube library. So far unsuccessfully.
Basically the the loader wizard is not seeing the zend_extension. And the custom php.ini file is not being recognized.
The wizard script did create a custom php.ini file which includes the appropriate zend_extension for my server and account.
I have placed this file in the IonCube folder as well as in a .php folder as instructed by the Dreamhost Wiki.
In a chat with Dreamhost support I was told that shared hosting accounts do not use php.ini files but a phprc file. I have created this file and included the zend_extension. This did not change the error message.
The Apache server that I am on is using PHP 5.4.20 and FastCGI. The CURL library is presant.
In between each configuration change i have ssh into the server and issued the killall killall -9 php54.cgi command to force PHP to reload.
The script mentioned in the first post is for PHP 5.2. so I am hesitant to use it. Dreamhost will not install or support third party software on their servers.
Has anyone been able to manually install IonCube and if so what was the process that worked.
Thanks in advance for your attention to my question.
August 24, 2014 at 12:11 am #22593wzpModeratorWhen it comes to getting IonCube properly installed on your server; this is a problem best handled by your hosting provider, because each hosting provider may have different installation requirements. Have you tried requesting them to install it for you?
August 24, 2014 at 4:07 am #22594labdptSpectatorUPDATE Success!
On my dev server I have several sub domains hosted. I was trying to install the phprc file into the sub domain .php directory. This is not correct.
The phprc file and the IonCube generated php.ini file must be in the users root .php directory. The IonCube folder can be in a sub domain directory.
-
AuthorPosts
- You must be logged in to reply to this topic.