**(tech support left this one)**
cgi-bin/calendar_admin.plCan't locate ConfigFile.pm in @INC (@INC contains:
/hsphere/local/home/user/mydomain.com/cgi-bin/calendarscri
pt/plugins
pt/lib /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at cgi-bin/calendar_admin.pl line 42.BEGIN failed--compilation aborted at cgi-bin/calendar_admin.pl line 48.
cgi-bin/calendar.plCan't locate ConfigFile.pm in @INC (@INC contains:
pt/lib /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at cgi-bin/calendar.pl line 34.BEGIN failed--compilation aborted at cgi-bin/calendar.pl line 41.
------------------WebMistressSHAGGY's Studio.com www.shaggysstudio.com
[This message has been edited by LadyDi (edited September 25, 2006).]
Is that file in the /hsphere/local/home/user/mydomain.com/cgi-bin/calendarscript/lib directory?
Are you sure that is the correct path to your web space on the server?
Can I also assume this only occurred after moving the script to another server, going by the comment you posted in the other forum message? Or are you a different user than 2LadyDi??
Dan O.
------------------
The correct path has my user name and domain, which I removed, do you need it? I did not know if I should post it publicly or not.
Thanks!!
Did you check to see if maybe something happened to that file??
I'm afraid I have no other ideas besides maybe some sort of server problem.
I am confused as to where it was lost?!?!!? Maybe if you could explain what it is and what it does, this would be great knowledge for me too.
Thank you always!!
[This message has been edited by LadyDi (edited September 26, 2006).]
You must not have been looking in the right place as AFAIK the script will not work without it. The files that should be in the /calendarscript/lib/ directory are:
asp.inccalendars.incCGISession.incConfigFile.pmDate.incDBFile.pmDBFileUtil.incEvent.incflock.incHTML.pmSimpleDateFormat.pmTimeLocal.incUser.pm
** So can I just d/l it and then upload it to get this working? **
It surely won't work without that file so uploading it will at least be needed. You might want to make sure all the rest of the files that are suppose to be in that directory are there are too.
** Where do I get it again I guess is the end question? **
You should be able to get it from the backup of the original site as if it was working, it should be there. You could also probably get it by downloading the CS package again or I assume you originally unzipped the script locally, in which case you may already have a copy on your computer.
** Maybe if you could explain what it is and what it does **
I have no idea what that specific file (nor most of the individual script files) does on its own.
** I am confused as to where it was lost? **
It's unlikely anyone here could tell you. If the script was working before than it had to be there are one time. Only someone with access to your server could have changed that. Maybe a server glitch?
JMO
asp.inccalendars.incCGISession.incConfig.pmCopy.pmDate.incDBFile,pmDBFileUtil.incEvent.incflock.incHTML.pmpermissions.incSimpleDateFormat.pmTimeLocal.incUser.pm
And that's all folks!!
Ok, back with an edit b/c I am seriously confused now. I tried to access the calendar and here's the message I rec'd:
Software error:Undefined subroutine &main::getCalendarInfo called at calendar.pl line 337.
Here's what Tech Support left me in the Help Section:
I have corrected your script to use Config.pm file instaed of ConfigFile.pm (seems taht your application just require to be edited before using).So, now
is working.However, http://www.shaggysstudio.com/cgi-bin/calendar.pl returns error:Undefined subroutine &main::getCalendarInfo called at calendar.pl line 335.(I have configured both files to display errror directly in browser instead of researching in the error logs)It means that function getCalendarInfo was not defined in all included files:require "asp.inc";require "DBFile.pm";require "DBFileUtil.inc";require "TimeLocal.inc";require "Date.inc";require "Config.pm";require "Event.inc";require "HTML.pm";require "CGISession.inc";require "User.pm";require "SimpleDateFormat.pm";require "calendars.inc";
Could you please check, where this function is and add include of this file, or just add this sub to your files.
I need some sleep b/c I am really lost.
[This message has been edited by LadyDi (edited September 27, 2006).]
Did you attempt to upgrade the installation when the problems started and never bothered to mention it?!?
Sounds like I should just install my old calendar from my old server. But as I said, that ConfigFile.pm is not in that 'lib' folder over there either.
But... I did try to do the upgrade on my own by d/l'ing the 3.21 tar.gz AND .zip. In that upgrade the only file that is in the 'lib' folder is a DBFile.pm and then there is a templates/admin/Enlgish folder that contains a HTML feedback page. Paths were changed to correct server path.I got the calendar_admin.pl page to work fine. I saw default calendar and then click it only to get a blank white screen. The calendar.pl gave me a blank white screen as well. I am finished.
So since the older version works fine... it is up and running. Consider this post closed.
** Problem solved. **
Glad to hear it.
Thank you for all your posts Dan O no matter. You've been here for a few years and I, at least, appreciate all the information and patience you've shown me.
Bless
Di