Kayako logo
Technical Chat From server configurations to local area networking - the technical discussion forum.

Kayako develops robust helpdesk software, live chat and real-time visitor monitoring software.
Kayako is trusted by more than 30,000 organizations, including a number of Fortune 500 companies and government institutions.
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
Ricky Smith Offline
New Member
 
Posts: 18
Join Date: Jun 2007
Location: Winter Park, FL
IonCube - 30-05-2008, 03:47 AM

Hey, I'm running Plesk 8.4.0 and normally IonCube comes pre installed but apparently not. I just transfered over to a new server and I'm trying to get my Kayako Support working and I get greeted with a nice error.

Anyone know how to fix this?

Site error: the file /var/www/vhosts/plexnetworks.com/subdomains/helpdesk/httpdocs/swift.php requires the ionCube PHP Loader ioncube_loader_lin_5.1.so to be installed by the site administrator.
   
Reply With Quote
  (#2) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 5,222
Join Date: Aug 2006
Location: Mumbai, India
30-05-2008, 07:50 AM

You can load ionCube loaders in runtime as explained on this page -- PHP Encoder, protection, installer and performance tools from ionCube: Loader Installation



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/ - NEW SKIN ADDED!!
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#3) Old
craigbrass Offline
Senior Member
 
Posts: 7,517
Join Date: Jun 2005
Location: Cumbria, UK
30-05-2008, 09:01 AM

What that error basically means is that the server administrator disallows things being run at script runtime. In this case, you must get the administrator to install the loaders at server level so they are constantly running.

I have found software runs faster when it is installed at server level anyway.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Click here for Kayako Software Development

My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako
   
Reply With Quote
  (#4) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 5,222
Join Date: Aug 2006
Location: Mumbai, India
30-05-2008, 09:38 AM

Quote:
Originally Posted by craigbrass View Post
What that error basically means is that the server administrator disallows things being run at script runtime. In this case, you must get the administrator to install the loaders at server level so they are constantly running.

I have found software runs faster when it is installed at server level anyway.
Right, I guess I didn't read the error message carefully which suggested you tried to run the loaders in runtime.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/ - NEW SKIN ADDED!!
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#5) Old
craigbrass Offline
Senior Member
 
Posts: 7,517
Join Date: Jun 2005
Location: Cumbria, UK
30-05-2008, 09:50 AM

You were right actually Hiren. I was explaining why he is getting that error.

There are two "runtimes" so to speak. PHP Runtime when PHP is started with the web server and Script Runtime which is when the php file(s) are / is launched. Sometimes server administrators stop Script Runtime of such things like IonCube for security reasons and in which case, it must be installed at server level or remove the security restriction that is stopping it from running at Script Runtime.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Click here for Kayako Software Development

My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako
   
Reply With Quote
  (#6) Old
Ricky Smith Offline
New Member
 
Posts: 18
Join Date: Jun 2007
Location: Winter Park, FL
30-05-2008, 07:57 PM

I've copied the files and I added the line to my php.ini and I've restarted the webserver. However still no go.

ionCube Loader Installation Tool

ionCube Loader Installation Tool

phpinfo()

/usr/lib/php/ioncube_loader_lin_5.1.so
/usr/lib/php/modules/php_ioncube_loader_lin_5.0.so
/usr/lib/php/modules/php_ioncube_loader_lin_5.1.so
/usr/lib/php/modules/php_ioncube_loader_lin_5.2.so

Last edited by Ricky Smith; 30-05-2008 at 07:59 PM.
   
Reply With Quote
  (#7) Old
Ricky Smith Offline
New Member
 
Posts: 18
Join Date: Jun 2007
Location: Winter Park, FL
30-05-2008, 08:16 PM

I just tried installing Zend instead and it said everything was completed and succesfully restarted the apache server. However now the Zend version of SupportSuite says Zend isn't installed. I swear this Plesk Control Panel atleast the 8.4.0 is just messed.

This is what I get when doing php -v

[root@liquidwind ~]# php -v
Failed loading /usr/local/Zend/lib/Optimizer-3.3.3/php-5.1.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer-3.3.3/php-5.1.x/ZendOptimizer.so: cannot restore segment prot after reloc: Permission denied
PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
[root@liquidwind ~]#

Last edited by Ricky Smith; 30-05-2008 at 08:22 PM.
   
Reply With Quote
  (#8) Old
craigbrass Offline
Senior Member
 
Posts: 7,517
Join Date: Jun 2005
Location: Cumbria, UK
30-05-2008, 08:24 PM

I swear there is an option in Plesk admin to install both. You can with cPanel's WHM.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Click here for Kayako Software Development

My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako
   
Reply With Quote
  (#9) Old
Ricky Smith Offline
New Member
 
Posts: 18
Join Date: Jun 2007
Location: Winter Park, FL
30-05-2008, 08:32 PM

Here's what the php.ini file looks like

[IonCube]
zend_extension = /usr/lib/php/modules/php_ioncube_loader_lin_5.1.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
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

now here's what my PHP -v says

[root@liquidwind ~]# php -v
Failed loading /usr/lib/php/modules/php_ioncube_loader_lin_5.1.so: /usr/lib/php/modules/php_ioncube_loader_lin_5.1.so: undefined symbol: zend_unmangle_property_name_ex
Failed loading /usr/lib/php/modules/php_ioncube_loader_lin_5.1.so: /usr/lib/php/modules/php_ioncube_loader_lin_5.1.so: undefined symbol: zend_unmangle_property_name_ex
Failed loading /usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so: cannot restore segment prot after reloc: Permission denied
PHP 5.2.5 (cli) (built: Jan 19 2008 10:30:38)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
[root@liquidwind ~]#

Last edited by Ricky Smith; 30-05-2008 at 08:43 PM.
   
Reply With Quote
  (#10) Old
Ricky Smith Offline
New Member
 
Posts: 18
Join Date: Jun 2007
Location: Winter Park, FL
31-05-2008, 07:27 AM

Never mind all fixed.
   
Reply With Quote
  (#11) Old
craigbrass Offline
Senior Member
 
Posts: 7,517
Join Date: Jun 2005
Location: Cumbria, UK
31-05-2008, 09:25 AM

Glad you got it sorted in the end. May I ask why you are using IonCube if Zend was already installed though?


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Click here for Kayako Software Development

My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako
   
Reply With Quote
  (#12) Old
Ricky Smith Offline
New Member
 
Posts: 18
Join Date: Jun 2007
Location: Winter Park, FL
31-05-2008, 08:51 PM

Well I'm using Plesk and by default it normally has IonCube so we did a switch to our new server we just installed down at the datacenter and for whatever reason IonCube wasn't installed or working properly and couldn't figure out why. So you can have Zend and IonCube installed together on the Plesk server however the Zend install also didn't work. So I ended up with both IonCube and Zend not working. Had to do some debugging with help from someone at another message forum and disable a few things, change a few settings and what not.
   
Reply With Quote
Reply

Tags
ioncube

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation issues with zend and ioncube mrmandrill2 Installation & Upgrading 15 03-09-2009 07:05 PM
Requires the ionCube PHP Loader ? ddixon Installation & Upgrading 2 26-03-2008 11:32 AM
Zend and IonCube sdwhite Installation & Upgrading 4 15-02-2008 09:39 AM
Zend and IonCube? Jamie Edwards Installation & Upgrading 0 21-04-2007 11:52 PM
ionCube builds available Varun Shoor Technical Chat 0 12-07-2003 10:55 AM



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78