vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBadvanced CMPS (https://vborg.vbsupport.ru/forumdisplay.php?f=101)
-   -   Portal Not showing up ? (https://vborg.vbsupport.ru/showthread.php?t=79439)

michael5472 04-05-2005 08:37 PM

Portal Not showing up ?
 
Please can someone help me i have installed the mod and it all has gone in ok but for some reason the portal is not showing how do i make it show up ?

I have the vBa CMPS options in the admin cp but i can't see an option to turn it on !

Please help me

EDIT:
Just read through and i have gone to:
/forum/cmps_index.php and i am getting this error:

Code:

Parse error: parse error, unexpected '/' in /home/satforum/public_html/forum/cmps_index.php on line 25

Zachery 04-05-2005 09:28 PM

Quote:

Originally Posted by michael5472
Please can someone help me i have installed the mod and it all has gone in ok but for some reason the portal is not showing how do i make it show up ?

I have the vBa CMPS options in the admin cp but i can't see an option to turn it on !

Please help me

EDIT:
Just read through and i have gone to:
/forum/cmps_index.php and i am getting this error:

Code:

Parse error: parse error, unexpected '/' in /home/satforum/public_html/forum/cmps_index.php on line 25

Whats on line 25

michael5472 04-06-2005 05:03 PM

It looks like this:

Code:

<?php
// ++=========================================================================++
// || vBadvanced CMPS v1.0.1
// || ? 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || vb.org distro
// ||
// ++ ========================================================================++

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

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

chdir('/home/satforum/public_html/forum');

// ============================================
// No Further Editing Necessary!
// ============================================ <---- THIS LINE CAUSING THE PROBLEM

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

require_once('./global.php');

print_portal_output($home);

?>


Delphiprogrammi 04-06-2005 05:12 PM

Quote:

Originally Posted by michael5472
It looks like this:

Code:

<?php
// ++=========================================================================++
// || vBadvanced CMPS v1.0.1
// || ? 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || vb.org distro
// ||
// ++ ========================================================================++

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

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

chdir('/home/satforum/public_html/forum');

// ============================================
// No Further Editing Necessary!
// ============================================ <---- THIS LINE CAUSING THE PROBLEM

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

require_once('./global.php');

print_portal_output($home);

?>


that's impossible according to the PHP syntax lines starting with "//"(without the quotes) are comments and are ignored by the php parser also remove the white space before closing PHP tag (?>)


All times are GMT. The time now is 06:18 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01498 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete