View Full Version : Bad bytecode file format?
01-13-2009, 06:03 PM
I've installed this software a few times without problem, but today I'm getting this error when I try to run the setup:
Warning: bcompiler: Bad bytecode file format at 00000000 in /u/vp/poudreriverartscenter.com/www/calendar/setup/header.inc.php on line 93
It all seems to be running properly despite that, except when I try to set up the database info. Then I get a security violation warning. I tried to re-upload the setup directory (I was sure to upload it in the correct mode from the start).
Any suggestions? I searched the forums, but I can't find this error anywhere.
01-13-2009, 06:52 PM
Have you modified your headerCustomInc.php file? It's trying to load it...
01-13-2009, 07:01 PM
I didn't edit that file at all.
01-13-2009, 08:30 PM
Try to download a fresh .zip and then upload that file only in forced Binary mode.
01-14-2009, 06:58 PM
I just tried that and got the exact same error.
01-14-2009, 07:42 PM
Is the headerCustom.inc.php file in the directory?
01-14-2009, 07:47 PM
Yes it is. It says it's 0kb, if that makes a difference. But the file is there.
01-14-2009, 10:06 PM
Can you check the the paths are correct in the calendar/calendar.php file?
Did you move this installation from somewhere else or change the directory?
Sorry for all of the questions, but we've never seen this error before.
01-15-2009, 07:01 AM
Seems that your hunch about the headerCustom.inc.php was correct Brian...
I'm going to guess that the version of PECL that is installed on traypup's server is still using an old version.
Edit: Oh and simply adding a comment in headerCustom.inc.php should do the trick.
<?php //Insert your code here ?>
01-15-2009, 04:50 PM
Brian and Gervais, Thank you SO much! That fixed it. I put some code into headerCustom.inc.php and ran the setup again and boom, the error message is gone. I'm going to work on the rest of the setup and see how it all goes.
Should I get with the hosting company about that thing you said may be an old version or just leave it be? I realized last night that I never set up EPC on this particular server, so I'm glad it wasn't me doing something wrong. I hate those days when I second guess myself.
Thanks again for your help...I am SO happy! :kitty:
01-15-2009, 07:48 PM
If it ain't broke, don't fix it. :)
I'd say if everything is working now, don't get the host involved or you could end up breaking something else in the process.
01-16-2009, 04:33 PM
You're right. I'll leave it as is. It's working great now. Thanks so much, guys!
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.