PDA


View Full Version : Fatal error: Call to undefined function: print_portal_output() Help!!! :(


LFFPicard
07-25-2005, 06:44 PM
Ok,
I followed everything by the book, except adding the extra mods in the readme..

I have
VB 3.0.7
VBA RC2
Custom Style Tren_z

I went through all my vb options and set everything up, even installed the style, then added Vbadvanced..

I wanted htem to run in the same directory so after reading around i changed
"Forums Home Page Options
Script Name for Forum Home Page"
form "index" to "forums"
Renamed my VB index.php for forums.php
and renamed VBaindex to index.php

Now the only thing i dislike here is...
"If you change this value you must manually rename the forumhome PHP script to match the new value." - I have no idea what that means....

But the main issue is now i have installed Vba by the book, i goto load index.php and get....

Fatal error: Call to undefined function: print_portal_output() in /home/proph/public_html/guilds/index.php on line 35

This is what my index.php looks like (Vbadvanced index.php)

<?php
// ++=========================================================================++
// || vBadvanced CMPS v2.0 RC2 (vB 3.0.x) - 15943
// || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 18:02, Mon Jul 18th 2005
// ||
// ++ ========================================================================++

error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
define('VBA_SCRIPT', 'CMPS');

// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================

// chdir('/home/proph/public_html/guilds');

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

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

require_once('./global.php');

print_portal_output($home);

?>

Line 35 is "print_portal_output($home);"
I have no idea what is wrong, any suggestions?

p.s I saw it was suggested ot comment out the path, so i did, it also make sno differenc eif it wasnt commented out i still get this error.

Thanks in advance

LFFPicard
07-25-2005, 07:55 PM
OK i figured it out, after playing with global.php it works,
I had ot add a space betweent he codes added.