PDA


View Full Version : error after update scripts


parisdns
06-05-2005, 06:10 AM
Fatal error: Call to undefined function: print_portal_output() in /home/cgratuit/public_html/index.php on line 35

here line 35 from: index.php

print_portal_output($home);

Any idea! Thanks.

parisdns
06-05-2005, 10:17 AM
chdir('/home/cgratuit/public_html/forums');

// ============================================
// No Further Editing Necessary!
// ============================================

$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();

require_once('../forums/global.php');

and this:

chdir('/home/cgratuit/public_html/forums');

// ============================================
// No Further Editing Necessary!
// ============================================

$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();

require_once('./forums/global.php');

I did try both!...

Nobody know !?!... :(

Brian
06-05-2005, 10:34 AM
There was no reason to modify this line:

require_once('./global.php');

parisdns
06-05-2005, 06:51 PM
Noops, I did keep the original form ./global.php and still got the same error !?!... :confused:

parisdns
06-06-2005, 09:06 AM
No body know !?!... :eek:

parisdns
06-06-2005, 09:25 AM
Lol !... Didn't upload the global.php with change !... :D

But now, I got another issue with the database:

There seems to have been a slight problem with the C'est GRATUIT ! database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

I did repair the database, and refresh my browser, same error !... :confused:

parisdns
06-06-2005, 09:32 AM
Woah ! Got this error now:

Warning: Invalid argument supplied for foreach() in /includes/sessions.php on line 271





Unable to add cookies, header already sent.
File: /home/cgratuit/public_html/forums/includes/init.php
Line: 27

:eek:

Brian
06-06-2005, 11:11 AM
Sounds like you either didn't run the upgrade script, or you may have some whitespace after the closing ?> tag in your cmps_index.php file.