Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > Installation / Upgrade Questions

Installation / Upgrade Questions Questions or issues concerning the installation of the Easy PHP Calendar script.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Bad bytecode file format?
Old 01-13-2009, 06:03 PM   #1
traypup
Calendar User
 
traypup is offline
Join Date: Mar 2007
Posts: 12
Default Bad bytecode file format?

Hi there,

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.

Thanks,
Tracey
 

Old 01-13-2009, 06:52 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Have you modified your headerCustomInc.php file? It's trying to load it...
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 01-13-2009, 07:01 PM   #3
traypup
Calendar User
 
traypup is offline
Join Date: Mar 2007
Posts: 12
Default

Hi Brian,

I didn't edit that file at all.

t.
 

Old 01-13-2009, 08:30 PM   #4
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Try to download a fresh .zip and then upload that file only in forced Binary mode.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 01-14-2009, 06:58 PM   #5
traypup
Calendar User
 
traypup is offline
Join Date: Mar 2007
Posts: 12
Default

I just tried that and got the exact same error.
 

Old 01-14-2009, 07:42 PM   #6
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Is the headerCustom.inc.php file in the directory?
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 01-14-2009, 07:47 PM   #7
traypup
Calendar User
 
traypup is offline
Join Date: Mar 2007
Posts: 12
Default

Yes it is. It says it's 0kb, if that makes a difference. But the file is there.
 

Old 01-14-2009, 10:06 PM   #8
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

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.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 01-15-2009, 07:01 AM   #9
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Seems that your hunch about the headerCustom.inc.php was correct Brian...

http://pecl.php.net/bugs/bug.php?id=10742

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 Code:
<?php //Insert your code here ?>
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 01-15-2009, 04:50 PM   #10
traypup
Calendar User
 
traypup is offline
Join Date: Mar 2007
Posts: 12
Default

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!
Tracey
 

Old 01-15-2009, 07:48 PM   #11
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

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.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 01-16-2009, 04:33 PM   #12
traypup
Calendar User
 
traypup is offline
Join Date: Mar 2007
Posts: 12
Default

You're right. I'll leave it as is. It's working great now. Thanks so much, guys!

Tracey
 
Closed Thread

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal error: Incompatible file format absolutsth General Support 8 05-09-2007 06:55 PM
how to change date format in xml file mcq General Support 1 05-03-2007 04:20 PM
Flat File Question highnoon General 4 12-27-2006 04:55 PM
Parsing Outlook file... teeohhem Customizations (Themes / Templates) 3 09-28-2006 09:30 PM
flat file newbie question mmcneal76 General Support 5 08-03-2004 01:17 PM



All times are GMT -4. The time now is 04:50 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |