Tips and Tricks HQ Support Portal › Forums › WP PDF Stamper › ioncube ERROR when Activating WP-PDF-Stamper
Tagged: error
- This topic has 19 replies, 7 voices, and was last updated 14 years, 1 month ago by Paulfonzo.
-
AuthorPosts
-
July 7, 2010 at 2:36 am #1443chriseggMember
I get this error no matter what I do to try to activate the plugin…
Site error: the file /hsphere/local/home/c293632/chriseggleston.com/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.
I have installed iconCube and I have tried to activate this on 3 different sites with 3 different hosting accounts
Any help would be appreciated!
THanks
July 7, 2010 at 2:42 am #22290IvyMemberHi, Can you please install the minimum requirements plugin and let us know if there is a “Checkmark” or “X” next to the IonCube requirement.
You can find all the information for this here:
July 7, 2010 at 2:50 am #22291chriseggMemberYes there is an X next to the iconCube requirement…so it is not installed properly? I followed the instruction given me by my hosting company….http://help.godaddy.com/article/5608?
Thanks
July 7, 2010 at 3:14 am #22292chriseggMemberok thanks for the help having that plugin to check is very helpful!! But I have fixed the problem!
here is what I had to do, I had to create a php5.ini file in my root directory and add these lines of code there…
[Zend]
zend_extension=/your-absolutepath/ioncube/ioncube_loader_lin_5.2.so
Replacing ‘your-absolutepath’ with the hosting accounts actual absolutepath (noted for anyone that finds this thread and needs help with the same problem)
Originally I tried adding those lines of code to the php.ini file which did not work.
July 7, 2010 at 4:33 am #22293IvyMemberI am glad you got this working and thank you for posting your fix. Each server configuration is different so sometimes small tweaks are needed.
September 10, 2010 at 2:39 am #22294Sarah1111MemberHi I am having this same problem but I don’t know what iconCube is, or how to create a php5.ini file. Thanks for any help you can offer!
September 10, 2010 at 5:54 am #22295amin007ParticipantWe have a minimum requirement checker plugin for the PDF stamper plugin that you can find on the product description page. Here is the link if you missed it:
You shouldn’t have to do anything manually for Ioncube. Please contact your hosting and see if they will install it for you if your server do not have it installed already (most web hosting companies will install it for you as it’s a popular decoder)
October 4, 2010 at 11:06 pm #22296MattMemberHi.
Still waiting to hear back from my site host regarding intalling IonCube. I’m curious if it might be associated with php5? The site is currently running php4 and when I attempted to upgrade I lost some functionality in other areas of the site (there’s a members area that was built years back by another gent and it goes “kaboom” when I try to switch to php5).
So… can IonCube be installed on php4? And if not, do I need IonCube to run the plugin, or simply for installation?
Thanks! (and sorry for the long post)
October 5, 2010 at 2:31 am #22297amin007ParticipantIoncube can be installed on both PHP4 or PHP5. As soon as Ioncube is installed on your server the plugin should work.
This is my personal opinion regarding PHP4… you really should consider upgrading to PHP5 due to the many security bugs that have been fixed in PHP5 (you should always try to use the latest when it comes to your server’s security). Remember, you can’t freeze time and stay back dated forever so the sooner you do it the less hassle you will have.
October 11, 2010 at 7:58 pm #22298PaulfonzoMemberHi,
I have read all the posts, tried some tweaks (all failed), and then installed the min_require_checker:
Minimum Requirement Checker v1.0
Summary
IonCube Decoder Present (this has a red X)
CURL Library Present (this has a green check)
PHP Version 5.2.14
My server uses WP 3.01
WP Stamper installed okay, but when activated still produces the following error:
“Site error: the file /homepages/31/d110419763/htdocs/newworldview/wordpress/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.”
So, I called my ISP, and they helped me install the proper ionCube PHP loader zipfile for their server. Now, when I run “info.php” in my root directory, I get the following:
“This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd.”
They had me add a php.ini file (not php5.ini as someone posted earlier, I tried changing the name to no avail) to my /wordpress/ directory which is not the root directory (it’s a prototype, so it’s installed in a subdirectory and I have a .htaccess file in the subdirectory protecting the subdirectory while we prototype).
The php.ini file my webhost provided has two lines (I don’t believe the [zend] line used in the above php5.ini example is a problem or is it?):
zend_optimizer.optimization_level=15
zend_extension=/homepages/31/d110419763/htdocs/newworldview/wordpress/ioncube/ioncube_loader_lin_5.2.so
The path name is correct to the correct file in the correct directory.
Any suggestions?
Thanks in advance!
Paul H.
October 11, 2010 at 11:32 pm #22299wzpModeratorInside the ioncube directory should be a “loader-wizard.php” file. Run it, from a browser.
I suspect it will say something like IonCube not properly installed. It will then attempt to troubleshoot your php.ini files.
October 12, 2010 at 12:47 am #22300PaulfonzoMemberHi,
Thanks for the response.
I ran the loader-wizard.php. Initially it said that there was an error. Unfortunately I did not record it. It also suggested that I copy the php.ini file into the /wordpress/ioncube/ subdirectory, which I did.
At one point, the wizard claimed to have created a php.ini file in root, but when I checked nothing was there. So I copied it there to no avail.
I ran the wizard again and it said:
“ionCube Loader Wizard
An updated version of this Wizard script is available here.
The ionCube Loader 3.3.20 is already installed and encoded files should run without problems.
Please note that if encoded files in a different directory from the Wizard fail then you should attempt to copy the php.ini file to each directory in which you have encoded files.
Please contact the script provider if you do experience any problems running encoded files.
For security reasons we advise that you remove this Wizard script from your server now that the ionCube Loader is installed.”
###
So I copied php.ini into root, root/wordpress, and root/wordpress/ioncube, and again received the following error message when attempting to activate the PDF-Stamper plug-in:
“Site error: the file /homepages/31/d110419763/htdocs/newworldview/wordpress/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.”
Any further suggestions?
Could this have to do with my running wordpress in a subdirectory with a password protected /wordpress/ as temporary root. Could the .htaccess files in /wordpress and /root be causing this?
Again, the tech from my webserver originally placed the php.ini in /wordpress/
Thanks,
Paul H.
October 12, 2010 at 1:29 am #22301wzpModeratorSince the wizard claims that IonCube is installed…
Undo that last change, you made, after the wizard claim it was working.
Try temporarily renaming that .htaccess file to something else and see if it works now.
October 12, 2010 at 1:12 pm #22302PaulfonzoMemberI renamed the .htaccess in root, and it still generates the same error:
Site error: the file /homepages/31/d110419763/htdocs/newworldview/wordpress/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.
I left the root .htaccess renamed, and renamed the root/wordpress/ .htaccess, and the site won’t run at all without that one.
I ran info.php again, and it shows ioncube to be installed:
PHP Version 5.2.14
System Linux infong 2.4 #1 SMP Wed Nov 4 21:12:12 UTC 2009 i686 GNU/Linux
Build Date Aug 13 2010 12:53:55
Configure Command ‘../configure’ ‘–program-suffix=5’ ‘–with-pear=/usr/lib/php5’ ‘–with-config-file-path=/usr/lib/php5’ ‘–with-mysqli’ ‘–with-kerberos’ ‘–with-imap-ssl’ ‘–enable-soap’ ‘–with-xsl’ ‘–enable-mbstring=all’ ‘–with-curl’ ‘–with-mcrypt’ ‘–with-gd’ ‘–with-pdo-mysql’ ‘–with-freetype-dir’ ‘–with-libxml-dir’ ‘–with-mysql’ ‘–with-zlib’ ‘–enable-debug=no’ ‘–enable-safe-mode=no’ ‘–enable-discard-path=no’ ‘–with-png-dir’ ‘–enable-track-vars’ ‘–with-db’ ‘–with-gdbm’ ‘–enable-force-cgi-redirect’ ‘–with-ttf’ ‘–enable-ftp’ ‘–enable-dbase’ ‘–enable-memory-limit’ ‘–enable-calendar’ ‘–enable-wddx’ ‘–with-jpeg-dir=/usr/src/kundenserver/jpeg-6b’ ‘–enable-bcmath’ ‘–enable-gd-imgstrttf’ ‘–enable-shmop’ ‘–enable-mhash’ ‘–with-mhash’ ‘–with-openssl’ ‘–enable-xslt’ ‘–with-xslt-sablot’ ‘–with-dom’ ‘–with-dom-xslt’ ‘–with-dom-exslt’ ‘–with-imap’ ‘–with-iconv’ ‘–with-bz2’ ‘–with-gettext’ ‘–enable-exif’ ‘–with-idn’ ‘–with-sqlite’ ‘–enable-sqlite-utf8’ ‘–enable-zip’ ‘–with-tidy’ ‘–enable-gd-native-ttf’
Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/lib/php5
Loaded Configuration File /homepages/31/d110419763/htdocs/newworldview/wordpress/php.ini
Scan this dir for additional .ini files (none)
additional .ini files parsed (none)
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, data, http, ftp, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed
Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd
Any other suggestions?
Thanks,
Paul H.
October 12, 2010 at 1:46 pm #22303PaulfonzoMemberP.S. The minimum requirement checker plug-in still lists “Ioncude Decoder Present” with a red X
-
AuthorPosts
- You must be logged in to reply to this topic.