PDA

View Full Version : ioncube problems


esiegel76
11-26-2007, 02:39 PM
I had my calendar working for several weeks up until last night when I accidentally uploaded and overwrote some of the calendar files. Now I am getting an ioncube error. I have my server's php.ini file setup with the zend addition, but no luck. I've also tried the run-time version and that won't work either now. I think I orginally had it working in run-time mode, but for some reason it doesn't work anymore. I even tried removing the entire calendar and reinstalling it with the auto installer. The install of the files succeeded but it gave me a message saying I would have to set up ioncube manually as it could not do it. I'm stumped. Can you please help? My calendar url is at http://ogauge.cyberstrux.com/calendar.

When I run the ioncube-loader-helper, the top of the page says this:

Warning: dl() [function.dl (http://ogauge.cyberstrux.com/calendar/ioncube/function.dl)]: Unable to load dynamic library '/usr/local/lib/php/20020429//../../../../../usr/local/www/vhosts/ogauge.cyberstrux.com/htdocs/calendar/ioncube/ioncube_loader_fre_4.4.so' - /usr/local/lib/php/20020429//../../../../../usr/local/www/vhosts/ogauge.cyberstrux.com/htdocs/calendar/ioncube/ioncube_loader_fre_4.4.so: unsupported file layout in /usr/local/www/vhosts/ogauge.cyberstrux.com/htdocs/calendar/ioncube/ioncube-loader-helper.php on line 411

However, dl functionality is ENABLED in my php.ini file.

Thanks,
Eric

ve9gra
11-26-2007, 06:57 PM
All ionCube encoded files have to be transfered in forced Binary mode. The .so files also have to be uploaded in Binary mode. You can reupload the core files in forced Binary... just make sure you don't overwrite any of your modified files (config.inc.php, calendar.php, license.php and your theme files)

esiegel76
11-26-2007, 07:37 PM
I don't think that's the issue, for 2 reasons. First, I tried downloading the tarball directly onto the server and unpacking it. So there was no transfer involved. Then, I tried using the auto-installer program. Wouldn't the auto-installer program tranfer the files in binary format?

-Eric

ve9gra
11-26-2007, 08:23 PM
You are correct, using the auto-installer would transfer the files in the proper mode.

Just as a check... do you have a php.ini either in the calendar folder or any of the folders above?? If you do, that file would override the settings in your /usr/local/etc/php.ini

esiegel76
11-26-2007, 08:26 PM
No, no php.ini files in the site folder. I just don't understand what the problem could be. It was working yesterday and then stopped working when I uploaded an old version of the calendar files. Today I wiped out the calendar directory and started fresh and it still won't work. I know that I had a problem getting it to work the first time and I can't remember what I did to fix it that time.

-Eric

Brian
11-27-2007, 10:07 AM
I'd be happy to try and upload the files if you can open a support ticket with your server information.