PDA

View Full Version : 3.0.2 upgrade problems


Bailx
07-04-2004, 04:28 AM
getting this error

Fatal error: Call to undefined function: print_portal_output() in /OMITTED/index.php on line 27

(where index is cmps_index.php)

worked fine before trying upgrade.... uninstalled.... reinstalled a few times.... completely re-did everything and still getting this error....

Dawn
07-04-2004, 06:06 AM
you may have overwritten some php file edits. Go through the install instructions and check to see if you need to re-hack some files.

Our Sponsors
 

Bailx
07-04-2004, 12:35 PM
i went thru and redid the files after upgrading.....

i've read about 3.0.2 issues.... said you might have to remove your hacks before upgrading.....

anyone else seen this problem yet? in the meantime i'll doublecheck my edits

Brian
07-04-2004, 12:55 PM
The only way you would get that error is if you haven't made the file modifications.

Our Sponsors
 

Bailx
07-04-2004, 01:02 PM
wow a response from the man himself :p
i'll finish re-doing my edits and get back to you...

could be something simple like not having selected all the text in one of the boxes.... sometimes they can be hard to select all the text thru the html page (anyone else concur with me on that?)

Brian
07-04-2004, 01:06 PM
If you didn't select all of the text, then it's more likely that you would get a parse error or something like that on all of your forum pages instead. ;)

Bailx
07-04-2004, 01:12 PM
alright i just finished double checking my files (again ;))...... the only discrepancy lies in the functions_calendar.php file. (not sure if this is enough to break the whole thing?

anyways you say to look for this:

function construct_calendar_output($today, $usertoday, $calendarinfo, $fullcalendar = 0, $weekrange = '')
{
global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar, $show, $offset, $colspan, $days, $months, $show;


my new 3.0.2 upgraded file looks like this:

function construct_calendar_output($today, $usertoday, $calendarinfo, $fullcalendar = 0, $weekrange = '')
{
global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar, $show, $offset, $colspan, $days, $months;

and i just replaced ther whole thing with this:

function construct_calendar_output($today, $usertoday, $calendarinfo, $fullcalendar = 0, $weekrange = '')
{
global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar, $show, $offset, $colspan, $days, $months, $vba_options, $vboptions;


as you can see theres an extra $show.... not sure what thats about...... but it is possible this was causing the error? every other file was correct... i've checked 3 times now

Brian
07-04-2004, 01:21 PM
That error would be caused by your global.php file not having the modifications made... If you still can't find the problem and would like to fill out a support ticket then I'll be glad to have a look.
The changes to the functions_calendar.php file are correct. There was an extra $show variable there by mistake, but apparently has been fixed in 3.0.2. ;)

Bailx
07-04-2004, 01:43 PM
i'm gonna restore the old database and try the upgrade again.... i'm doing this on the test board so theres no rush..... if i still can't figure it out after this... i might have to do that :D

thanks brian.

Bailx
07-07-2004, 03:56 AM
well i never got it to work.... but 3.0.2 didn't last long.... 3.0.3 was out like... immeadiatly :p

anyways i've been too busy to try it again.... 3.0.2 just wasn't taking.... hopefully 3.0.3 will do better with handling of custom templates.... during an upgrade :cool:

Brian
07-07-2004, 10:16 AM
If you're still getting that error and would like to fill out a support ticket via the Members Area here I'll be glad to take a look.