 |
 |
 |
 |
#199087 - 02/13/04 10:27 AM
Re: [6.6 - 6.7] [finished] Calendar
|
I type Like navaho
Registered: 03/10/00
Posts: 25452
Loc: Texas
|
Originally posted by AllenAyres: and the upgrade.cgi file Yes, this caused me a couple hour hassle yesterday when trying to install. The use vars statetment from ultimatebb.cgi needs to be added Also, when installing this mod I am getting an error when trying to view a profile: ============================================= An error has occurred: BEGIN not safe after errors--compilation aborted at CGIPath/ubb_profile.cgi line 1087. Please inform the board administration of this error so that they may fix the problem. Thank you! ============================================= Profiles work fine without this mod, not sure what's up. 
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#199090 - 03/01/04 12:35 PM
Re: [6.6 - 6.7] [finished] Calendar
|
Content Queen
Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
|
Originally posted by d-talk:
Hi,
i build it into 6.7 and get that error:
Global symbol "%vars_calendar" requires explicit package name at CGIPath/ubb_profile.cgi line 964. Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_profile.cgi line 965. Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_profile.cgi line 967. Global symbol "$julian_bday" requires explicit package name at CGIPath/ubb_profile.cgi line 970. Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_profile.cgi line 973. Global symbol "$julian_bday" requires explicit package name at CGIPath/ubb_profile.cgi line 973. BEGIN not safe after errors--compilation aborted at CGIPath/ubb_profile.cgi line 1051.
what can I do?
 I'm beginning to think I'm completely jinxed doing this new upgrade. I tried installing this hack to my UBB 6.7.0 test site two different ways. I first tried to use the instructions to create a multi-hack file--mostly because I like them for when I do future upgrades, etc. I got the same kind of error that d-talk has listed above. So then I hacked it the old-fashion way--trying to find the snippets of code and either add or replace as instructed. I get an error message similar to d-talks's above. I went through this thread, and I tried to follow along with the "fixes"--because I'm not sure if LK implemented them or not ... I still get that error message. My previous test-site was a 6.5 board ... so I don't know if I'm supposed to use the "upgrade" file or not--but I tried it--and even that gives me a whole bunch of errors. Like so many of the other mods I have at my current site, the calendar is vital to my community. Any  in trying to figure out why I'm getting these bug issues would be most appreciated. Remember, too, that I know very little about the inner workings of these files, so the K.I.S.S. would be most appreciated! 
_________________________
Sue adwoff.com
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#199103 - 03/02/04 08:48 AM
Re: [6.6 - 6.7] [finished] Calendar
|
Content Queen
Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
|
Well, Gizzy, I've done all that ... and I'm still getting this kind of a message: quote: syntax error at /home/adwoff/ubb-test/cgi/vars_calendar_events.cgi line 1, near "2452714y||Da Raisin's Birthday!|" syntax error at /home/adwoff/ubb-test/cgi/vars_calendar_events.cgi line 14, near "000006" target="" syntax error at /home/adwoff/ubb-test/cgi/vars_calendar_events.cgi line 15, near "000007" target="" syntax error at /home/adwoff/ubb-test/cgi/vars_calendar_events.cgi line 16, near "000057" target="" Illegal octal digit '8' at /home/adwoff/ubb-test/cgi/vars_calendar_events.cgi line 17, at end of line syntax error at /home/adwoff/ubb-test/cgi/vars_calendar_events.cgi line 17, near "000008" target="" syntax error at /home/adwoff/ubb-test/cgi/vars_calendar_events.cgi line 18, near "000022" target="" Illegal octal digit '9' at /home/adwoff/ubb-test/cgi/vars_calendar_events.cgi line 19, at end of line syntax error at /home/adwoff/ubb-test/cgi/vars_calendar_events.cgi line 19, near "000059" target="" syntax error at /home/adwoff/ubb-test/cgi/vars_calendar_events.cgi line 20, near "000060" target="" /home/adwoff/ubb-test/cgi/vars_calendar_events.cgi has too many errors.
I'm getting beyond frustrated right now. Good thing I have a lot of hair to pull out.  I can do PMs. I can access the profile area; when I update, of course, I get the above gobbly-gook. I could register a new name--as long as I didn't click on "Allow others to see my birth date?" I can access the directory. ------ I don't know what more I can do to try to get this mod to install correctly. As far as I know, I've gone through the steps and added/replaced where I should have done so (I did this both by creating a Multihack file, and then, when that failed, I manually did it for every file). I think with the exception of three pieces of code, I was able to find everything as laid out in the instructions' file. For example, in the instructions for the cp2_lib.cgi file, it said to find this piece of code: [$vars_wordlets_cp2{admin_modification},( --- Now I could not find that in a "clean" file--don't know if that's good or bad. So I did the alternative step. ---------- In the ultimatebb.cgi, I could not find this exact piece of code: if ($ubb eq '') {
&RequireCode("$vars_config{CGIPath}/ubb_forum_summary.cgi");
&forum_summary;
exit(0);
}-------- There were actually two different places where a "part" of this code existed: # forum summary
if ($ubb eq '') {
if(defined $vars_display{UseForumAsFsum}) {
$ubb = "forum";
$in{f} = $vars_display{UseForumAsFsum};
} else {
&RequireCode("$vars_config{CGIPath}/ubb_forum_summary.cgi");
&forum_summary;
exit(0);
} # end if
} # end if--------- and --------- if ($ubb eq 'forum') {
if ($in{f} =~ /CAT:/) {
my($j, $cat_number) = split (/:/, $in{f});
$in{category} = $cat_number;
delete $in{f};
&RequireCode("$vars_config{CGIPath}/ubb_forum_summary.cgi");
&forum_summary;
} else {
&RequireCode("$vars_config{CGIPath}/ubb_forum.cgi");
&get_forum;
}
exit(0);
} # end forum ----------- This could be where I'm making my mistake. I didn't know if I should add it in one place or the other or both ... so I chose to go with the first piece of code: # forum summary
if ($ubb eq '') {
if(defined $vars_display{UseForumAsFsum}) {
$ubb = "forum";
$in{f} = $vars_display{UseForumAsFsum};
} else {
&RequireCode("$vars_config{CGIPath}/ubb_forum_summary.cgi");
&forum_summary;
exit(0);
} # end if
} # end if
if ($ubb eq 'calendar') {
&RequireCode("$vars_config{CGIPath}/ubb_lib_calendar.cgi");
&calendar_main;
exit(0);
} #end calendarIf this is the problem--I sure hope it's that easy  --could someone please let me know?
_________________________
Sue adwoff.com
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|