Jump to content

What is Ioncube and ZendGuard? Are they necessary?


Recommended Posts

Hi,

I've got a problem with my website at www.smallpetfeeders.com. While the Back Office loads fine and very fast, the Front Office loads excessively slow. Here is a copy of my recent main error log...

 

[Tue Oct 16 20:35:53 2012] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.

[Tue Oct 16 20:35:56 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: undefined symbol: zend_resolve_path, referer: http://www.capcle.com/zh-hans/%E4%B8%8A%E5%B8%82%E8%8B%B1%E8%AF%AD%E8%AF%BE%E7%A8%8B

[Tue Oct 16 20:35:56 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ixed.lin: /usr/php/53/usr/lib64/php/modules/ixed.lin: undefined symbol: zend_str_tolower_dup, referer: http://www.capcle.com/zh-hans/%E4%B8%8A%E5%B8%82%E8%8B%B1%E8%AF%AD%E8%AF%BE%E7%A8%8B

[Tue Oct 16 20:35:56 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: undefined symbol: gc_remove_zval_from_buffer, referer: http://www.capcle.com/zh-hans/%E4%B8%8A%E5%B8%82%E8%8B%B1%E8%AF%AD%E8%AF%BE%E7%A8%8B

[Tue Oct 16 20:35:56 2012] [error] [client 24.136.95.160] Invalid method in request CCM_POST /ccm_system_windowsauth/request HTTP/1.1

[Tue Oct 16 20:36:03 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: undefined symbol: zend_resolve_path, referer: http://www.capcle.com/zh-hans/%E4%B8%8A%E5%B8%82%E8%8B%B1%E8%AF%AD%E8%AF%BE%E7%A8%8B

[Tue Oct 16 20:36:03 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ixed.lin: /usr/php/53/usr/lib64/php/modules/ixed.lin: undefined symbol: zend_str_tolower_dup, referer: http://www.capcle.com/zh-hans/%E4%B8%8A%E5%B8%82%E8%8B%B1%E8%AF%AD%E8%AF%BE%E7%A8%8B

[Tue Oct 16 20:36:03 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: undefined symbol: gc_remove_zval_from_buffer, referer: http://www.capcle.com/zh-hans/%E4%B8%8A%E5%B8%82%E8%8B%B1%E8%AF%AD%E8%AF%BE%E7%A8%8B

[Tue Oct 16 20:36:10 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: undefined symbol: zend_resolve_path, referer: http://www.capcle.com/zh-hans/%E4%B8%8A%E5%B8%82%E8%8B%B1%E8%AF%AD%E8%AF%BE%E7%A8%8B

[Tue Oct 16 20:36:10 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ixed.lin: /usr/php/53/usr/lib64/php/modules/ixed.lin: undefined symbol: zend_str_tolower_dup, referer: http://www.capcle.com/zh-hans/%E4%B8%8A%E5%B8%82%E8%8B%B1%E8%AF%AD%E8%AF%BE%E7%A8%8B

[Tue Oct 16 20:36:10 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: undefined symbol: gc_remove_zval_from_buffer, referer: http://www.capcle.com/zh-hans/%E4%B8%8A%E5%B8%82%E8%8B%B1%E8%AF%AD%E8%AF%BE%E7%A8%8B

[Tue Oct 16 20:36:14 2012] [error] [client 24.136.95.160] Invalid method in request CCM_POST /ccm_system_windowsauth/request HTTP/1.1

[Tue Oct 16 20:36:16 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: undefined symbol: zend_resolve_path, referer: http://www.capcle.com/zh-hans/admin/structure/types/manage/post/fields/field_mp3/widget-type?render=overlay

[Tue Oct 16 20:36:16 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ixed.lin: /usr/php/53/usr/lib64/php/modules/ixed.lin: undefined symbol: zend_str_tolower_dup, referer: http://www.capcle.com/zh-hans/admin/structure/types/manage/post/fields/field_mp3/widget-type?render=overlay

[Tue Oct 16 20:36:16 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: undefined symbol: gc_remove_zval_from_buffer, referer: http://www.capcle.com/zh-hans/admin/structure/types/manage/post/fields/field_mp3/widget-type?render=overlay

[Tue Oct 16 20:36:16 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: undefined symbol: zend_resolve_path, referer: http://www.capcle.com/zh-hans/admin/structure/types/manage/post/fields/field_mp3/widget-type?render=overlay

[Tue Oct 16 20:36:16 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ixed.lin: /usr/php/53/usr/lib64/php/modules/ixed.lin: undefined symbol: zend_str_tolower_dup, referer: http://www.capcle.com/zh-hans/admin/structure/types/manage/post/fields/field_mp3/widget-type?render=overlay

[Tue Oct 16 20:36:16 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: undefined symbol: gc_remove_zval_from_buffer, referer: http://www.capcle.com/zh-hans/admin/structure/types/manage/post/fields/field_mp3/widget-type?render=overlay

[Tue Oct 16 20:36:17 2012] [error] [client 159.253.19.28] Failed loading /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: undefined symbol: zend_resolve_path

[Tue Oct 16 20:36:17 2012] [error] [client 159.253.19.28] Failed loading /usr/php/53/usr/lib64/php/modules/ixed.lin: /usr/php/53/usr/lib64/php/modules/ixed.lin: undefined symbol: zend_str_tolower_dup

[Tue Oct 16 20:36:17 2012] [error] [client 159.253.19.28] Failed loading /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: undefined symbol: gc_remove_zval_from_buffer

[Tue Oct 16 20:36:18 2012] [error] [client 187.104.43.134] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

[Tue Oct 16 20:36:18 2012] [error] [client 187.104.43.134] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

[Tue Oct 16 20:36:23 2012] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!

[Tue Oct 16 20:36:25 2012] [error] [client 175.142.113.187] File does not exist: /usr/local/apache/htdocs/index.php, referer: http://www.getrealconsulting.com/clients/heart360-for-american-heart-assocation/

Use of uninitialized value $1 in concatenation (.) or string at /usr/local/cpanel/cgi-sys/fourohfour.cgi line 31.

[Tue Oct 16 20:36:29 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: undefined symbol: zend_resolve_path, referer: http://www.capcle.com/zh-hans/admin/structure/types/manage/post/fields?render=overlay

[Tue Oct 16 20:36:29 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ixed.lin: /usr/php/53/usr/lib64/php/modules/ixed.lin: undefined symbol: zend_str_tolower_dup, referer: http://www.capcle.com/zh-hans/admin/structure/types/manage/post/fields?render=overlay

[Tue Oct 16 20:36:29 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: undefined symbol: gc_remove_zval_from_buffer, referer: http://www.capcle.com/zh-hans/admin/structure/types/manage/post/fields?render=overlay

[Tue Oct 16 20:36:30 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: undefined symbol: zend_resolve_path, referer: http://www.capcle.com/zh-hans/admin/structure/types/manage/post/fields?render=overlay

[Tue Oct 16 20:36:30 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ixed.lin: /usr/php/53/usr/lib64/php/modules/ixed.lin: undefined symbol: zend_str_tolower_dup, referer: http://www.capcle.com/zh-hans/admin/structure/types/manage/post/fields?render=overlay

[Tue Oct 16 20:36:30 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: undefined symbol: gc_remove_zval_from_buffer, referer: http://www.capcle.com/zh-hans/admin/structure/types/manage/post/fields?render=overlay

[Tue Oct 16 20:36:35 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: undefined symbol: zend_resolve_path, referer: http://www.capcle.com/zh-hans/%E4%B8%8A%E5%B8%82%E8%8B%B1%E8%AF%AD%E8%AF%BE%E7%A8%8B

[Tue Oct 16 20:36:35 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ixed.lin: /usr/php/53/usr/lib64/php/modules/ixed.lin: undefined symbol: zend_str_tolower_dup, referer: http://www.capcle.com/zh-hans/%E4%B8%8A%E5%B8%82%E8%8B%B1%E8%AF%AD%E8%AF%BE%E7%A8%8B

[Tue Oct 16 20:36:35 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: undefined symbol: gc_remove_zval_from_buffer, referer: http://www.capcle.com/zh-hans/%E4%B8%8A%E5%B8%82%E8%8B%B1%E8%AF%AD%E8%AF%BE%E7%A8%8B

[Tue Oct 16 20:38:01 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: /usr/php/53/usr/lib64/php/modules/ioncube_loader_lin.so: undefined symbol: zend_resolve_path

[Tue Oct 16 20:38:01 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ixed.lin: /usr/php/53/usr/lib64/php/modules/ixed.lin: undefined symbol: zend_str_tolower_dup

[Tue Oct 16 20:38:01 2012] [error] [client 14.154.131.246] Failed loading /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: /usr/php/53/usr/lib64/php/modules/ZendGuardLoader.so: undefined symbol: gc_remove_zval_from_buffer

 

 

This has left me wondering...what is ZendGuard? And what is Ioncube? And why is it referring to an asian site that I don't recognize? I'd venture to think this is the source of my delay issue.

 

Could someone help me solve this please? My clients would certainly appreciate it.

 

-Dave

SPF

Link to comment
Share on other sites

.what is ZendGuard? And what is Ioncube?

 

Both of those are decryption engines for the PHP code encrypted by developers to protect their code being copied. One (or more) of the 3rd party modules you have installed is using this method. If the decryption engines are not available the module simply will not function.

 

To prevent errors either identify and remove the modules or fix the loaders so they load properly.

 

And why is it referring to an asian site that I don't recognize?

 

Referred Asian site is where the client of the logged request is coming from and has no relation to the error.

 

My clients would certainly appreciate it

 

They may actually appreciate the services of a server admin more if they rely on that server for their business.

 

Marty Shue

Link to comment
Share on other sites

Your setup is trying to install the widely used ionCube Loader and Zend Loader components, and also a less common one called ixed, and these are either all for a system with a different version of PHP or else your PHP build is not exporting symbols (the --enable-versioning configuration option for PHP builds can cause this). In either case, this would explain symbol not found errors.

 

If you can edit the php.ini file, look for zend_extension lines that reference those components and comment the lines out by adding a semi-colon ';' at the start of the lines. Restart the web server software and the errors should go away. If you have PHP components that fail to work, quite possibly logging an error to your PHP log file (or browser if display_errors is set to on), then one or more of the Loader components are required. For example, if you have an error that says our ionCube Loader is required, then it would need be installed.

 

From your errors, you appear to have PHP 5.3 on a 64 bit Linux system. If required, you should then obtain the latest Loader from whichever provider is relevant, and install according to their instructions. In our case, such a Loader would be called ioncube_loader_lin_5.3.so, and you would reference its location via a zend_extension line. If you do need to use ionCube encoded files and you have problems, our Loader Wizard from http://ioncu.be/L can help, and we also have a support helpdesk at http://ioncu.be/S where we can answer ionCube related questions.

 

Hope this helps and good luck!

Edited by ioncube (see edit history)
Link to comment
Share on other sites

  • 4 months later...

When I try to encode the php class file of a payment module that I developed with ionCube Pro PHP Encoder 7.0 I get following errors when trying to install the payment module:

-parse error

-class missing

 

Same error occur when trying to use an encoded php class file of any default payment methods.

 

Is it impossible to do so, or do I have to follow a certain routine to accomplish this?

 

As an example following error occurs after encoding the standard included Ogone class file (attached).

 

 

The following module(s) could not be loaded:

  1. ogone (parse error in /modules/ogone/ogone.php)
  2. ogone (class missing in /modules/ogone/ogone.php)

ogone.php

ogone_original.php

Link to comment
Share on other sites

×
×
  • Create New...