Forum Archive - Ioncube Loader

Ioncube Loader
Mar 27, 2012 3:35 pm by dwboygenius
Gtranslate worked great until Google shut down the free service. We bought pro so we could use the Bing Translation method. This is being configured/tested on a development server (http://dev.gotrnova.org/). I believe I have everything installed and properly configured, but I get an error when I click the Spanish translation link. The error is: Site error: the file /home6/gotrnova/public_html/c/gtranslate/translate.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation. However, when I run the Ioncube Loader Wizard, it tells me everything is configured: Loader Installed The ionCube Loader version 4.0.14 for PHP 5.2 is already installed and encoded files should run without problems. I've been working on this for a few hours and am stuck. Is there something obvious I'm missing?
Re: Ioncube Loader
Mar 27, 2012 4:13 pm by Yana
Hi, Please check the PHP information for the system requirements and ask your hosting provider to enable ionCube loader for you. If it is not possible, you can use our new Enterprise service.
Re: Ioncube Loader
Mar 27, 2012 4:20 pm by dwboygenius
Thanks for the quick reply! When I run phpinfo.php, it has ionCube Loader listed under Additional Modules. It also says: 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 v4.0.14, Copyright (c) 2002-2011, by ionCube Ltd., and with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies This leads me to believe it is enabled. Is that not the whole story? Is there another level of "enabled" that I need to request even though it appears to be enabled?
Re: Ioncube Loader
Mar 27, 2012 5:51 pm by Edvard
Hi, Put info.php file from the package into gtranslate folder and check it. It is possible that ionCube is enabled for your www root folder, however it is not for gtranslate subfolder.
Re: Ioncube Loader
Mar 27, 2012 6:15 pm by dwboygenius
Getting closer. That fixed the ionCube Loader errors. However, the translation isn't actually working. Here's the strange part. When I do not include the following rewrites in the .htaccess file: # gtranslate config RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)/(.*)$ /$1/$3 [R=301,L] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)$ /$1/ [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1 [L,QSA] ...then my homepage translates, but half the content and style are removed, which is strange. Also, I get "Page Not Found" for any other page on the site, which is to be expected. However, when I include those Rewrites, no translation works anywhere, but I do not get any "Page Not Found" errors (as expected). The URLs appear to be correct (prefixed with "/es/"), but I can't figure out why, now that everything appears to be functioning properly, no translation is occurring. Thanks again for your help!
Re: Ioncube Loader
Mar 27, 2012 7:03 pm by Edvard
Please read this to install it: https://gtranslate.io/docs/57-gtranslat ... umentation If you have problems installing it, please use our contact us form to send your FTP and back-end admin access, so our support specialist will install it for you.
Re: Ioncube Loader
Mar 28, 2012 12:22 am by dwboygenius
HI Edvard - Thanks, but I already ran all the way through the installation a couple times. I decided to just move this to production since my translation wasn't working anyway, and it appears I do have everything configured properly (at least I think so). If you go to http://www.gotrnova.org/es/about/our-mission and click the Espanol link in the top right, you'll see that the Title gets translated, and if you view the source you'll see some of the meta tags get translated, but it just stops after that. So that's why I think it's set up properly, but maybe there's something else going on. If you don't have an easy answer, I'll give in and submit my backend info for you guys to take a look. Thanks again for all the help!
Re: Ioncube Loader
Mar 28, 2012 5:29 am by dwboygenius
Strangely enough, I went out for coffee and upon my return it appears to be working. However, in some cases only part of the page is translated. Sometimes it's just the page header (which is an <h2>, like this:http://www.gotrnova.org/es/programs/program-fees), sometimes it stops halfway down the page (like this: http://www.gotrnova.org/es/programs/enroll). Do you think this could be related to markup, length of page or is there could there be some other factor? Is this a common thing? (As a reminder, I'm using the Bing translator)
Re: Ioncube Loader
Mar 28, 2012 7:02 am by Yana
Hi, Please make sure that /gtranslate/cache and /gtranslate/cache/xx folders permissions are 777.

SIMILAR TOPICS

IONCUBE ISSUEMay 26, 2018 11:59 pmReplies: 3Post by: apeks
Problem with Ioncube - Gtranslate PROApr 24, 2015 10:08 amReplies: 28Post by: carmelo.brischetto
IonCube EncoderSep 2, 2014 1:38 pmReplies: 1Post by: bibache90
translate.php was encoded by the ionCube Encoder for PHP 5 aAug 29, 2014 6:08 pmReplies: 1Post by: tnelson
translate.php was encoded by the ionCube Encoder for PHP 5 aApr 1, 2014 5:15 amReplies: 3Post by: ToneyesOffice

Try GTranslate with a free 15 day trial