|
G.deangeli
|
 |
« on: 07/October/2011, 01:43:59 PM » |
|
Hello
We moved our websites to a new server and I had the following error message this morning on Nbill comonent:
The file /home/www/client/globalnetsite/administrator/components/com_nbill/admin.nbill.php is corrupted.
This may or may not be related to the server, but what do you suggest I do?
Thanks G ?rard
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #1 on: 07/October/2011, 01:44:54 PM » |
|
Assuming you have already tried re-uploading the file (in case it got corrupted during upload), I suggest you check that ionCube is installed, and that the loader is the correct version for the version of PHP you are running.
|
|
|
|
|
Logged
|
|
|
|
|
G.deangeli
|
 |
« Reply #2 on: 07/October/2011, 02:21:51 PM » |
|
Well I have uploaded the file (from a previous backup) without success and the server administrator confirms that IonCube loader is the correct version for PHP5 What shall I do next? Thanks G ?rard
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #3 on: 07/October/2011, 04:12:00 PM » |
|
I would still advise upgrading the loader to the latest version. To my knowledge, the error 'the file /xxx/admin.nbill.php is corrupted' only comes from using an old or buggy loader (this error is mentioned in the nBill help: http://www.nbill.co.uk/help/index.php?page=pre-requisites.html)
|
|
|
|
|
Logged
|
|
|
|
|
G.deangeli
|
 |
« Reply #4 on: 08/October/2011, 03:11:03 AM » |
|
Ok. I asked the server administrator to check on this. Meanwhile, front-end can no longer be accessed: instead I have a page with the following message this time: The file /home/www/client/globalnetsite/administrator/components/com_nbill/framework/classes/nbill.globals.class.php is corrupted. This file was restored fron the backup, but with no success Any suggestion? Maybe I should restore the whole site? 
|
|
|
« Last Edit: 08/October/2011, 08:25:00 AM by G.deangeli »
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #5 on: 08/October/2011, 01:22:06 PM » |
|
It is the same issue - the ionCube loader on that server is unable to decode the nBill files. The only way to resolve it is to update the loader.
|
|
|
|
|
Logged
|
|
|
|
|
G.deangeli
|
 |
« Reply #6 on: 11/October/2011, 03:55:55 PM » |
|
Hi After verification by the Server Administrator, the current Ioncube loader on the server is 4.0.10 (of July 18 2011) as shown in the configuration http://193.200.139.34/lesinfo.php5 Any other suggestion? Thanks a lot G ?rard
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #7 on: 11/October/2011, 07:40:21 PM » |
|
In that case it sounds like ionCube have introduced a bug in their loader's backward compatability. I will do some testing and see if I can find a solution.
|
|
|
|
|
Logged
|
|
|
|
|
G.deangeli
|
 |
« Reply #8 on: 12/October/2011, 06:39:02 AM » |
|
Thanks Russell. I appreciate. G ?rard
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #9 on: 12/October/2011, 01:52:15 PM » |
|
I tested it on version 4.0.10 of the loader and it worked fine for me. ionCube provide the following information about this error message: The file may really be corrupted, or there may be an old Loader installed that does not recognise the type of encoded file that you have. You can check whether the Loader is already installed by using a phpinfo script, and if a version 2 Loader is installed, e.g. 2.5, then that should be updated to the latest Loader. Corrupted files are rare, but can occur to some types of encoded files if they are uploaded using an FTP program in ASCII mode instead of binary, or if the TAR smart cr/lf conversion feature is enabled in WinZIP. If updating Loaders does not resolve the problem, try reinstalling the PHP script making sure to transfer in binary. Is it possible your FTP client uploaded the files in ASCII mode instead of binary?
|
|
|
|
|
Logged
|
|
|
|
|
G.deangeli
|
 |
« Reply #10 on: 12/October/2011, 02:12:29 PM » |
|
Is it possible your FTP client uploaded the files in ASCII mode instead of binary? [/quote]
Now you are referring here to my initial uploading of nbill component zip file (and patches), transfer of files to my new dedicated server (done by my Hosting provider) or something else?
Note: Can you can provide paid support on this to get the site back on?
Thanks G ?rard
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #11 on: 12/October/2011, 02:19:42 PM » |
|
I mean whatever mechanism was used to place the files in their current location. You could try re-uploading all of the nBill files by FTP and making sure your FTP client is in binary mode. If that does not work, you can submit a support ticket giving me access to your site and I will see if I can fix it.
|
|
|
|
|
Logged
|
|
|
|
|
G.deangeli
|
 |
« Reply #12 on: 12/October/2011, 02:28:40 PM » |
|
OK I will let you know. Thanks
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #13 on: 12/October/2011, 04:49:37 PM » |
|
Following your support ticket, I re-uploaded all of the nBill files by FTP and it started working. The files really did seem to be corrupted.
|
|
|
|
|
Logged
|
|
|
|
|
G.deangeli
|
 |
« Reply #14 on: 12/October/2011, 05:55:18 PM » |
|
Ok! Thanks a lot for your help.
|
|
|
|
|
Logged
|
|
|
|
|