luiseman
08-24-2004, 01:51 PM
Version vb 3.0.3. New installation.
Version vba cmps 1.0.0
http://www.grassteam.com/cmps_index.php
http://www.grassteam.com/foroccnet30
When I'm installing vbadvanced following the instructions, at this step:
File: cmps_index.php
// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================
chdir('./usr/home/calamar/public_html/foroccnet30');
// ============================================
// No Further Editing Necessary!
// ============================================
require_once('./global.php');
print_portal_output($home);
Failing to open page:
Warning: chdir(): No such file or directory (errno 2) in /usr/home/calamar/public_html/cmps_index.php on line 19
Warning: main(./global.php): failed to open stream: No such file or directory in /usr/home/calamar/public_html/cmps_index.php on line 25
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/calamar/public_html/cmps_index.php on line 25
In file global.php the change:
// identify where we are
define('VB_AREA', 'Forum');
// aņadido portal
if (defined('VBA_PORTAL'))
{
$phrasegroups = array_merge($phrasegroups,
array(
'calendar',
'adv_portal',
'postbit'
)
);
$specialtemplates = array_merge($specialtemplates,
array(
'adv_modules',
'adv_portal_opts',
'attachmentcache',
'bbcodecache',
'birthdaycache',
'eventcache',
'iconcache',
'maxloggedin',
'smiliecache',
'userstats'
)
);
$globaltemplates = array_merge($globaltemplates,
array(
'adv_portal',
'adv_portal_footer'
)
);
}
// fin aņadido portal
// #############################################################################
// Start initialisation
Regards.
Version vba cmps 1.0.0
http://www.grassteam.com/cmps_index.php
http://www.grassteam.com/foroccnet30
When I'm installing vbadvanced following the instructions, at this step:
File: cmps_index.php
// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================
chdir('./usr/home/calamar/public_html/foroccnet30');
// ============================================
// No Further Editing Necessary!
// ============================================
require_once('./global.php');
print_portal_output($home);
Failing to open page:
Warning: chdir(): No such file or directory (errno 2) in /usr/home/calamar/public_html/cmps_index.php on line 19
Warning: main(./global.php): failed to open stream: No such file or directory in /usr/home/calamar/public_html/cmps_index.php on line 25
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/calamar/public_html/cmps_index.php on line 25
In file global.php the change:
// identify where we are
define('VB_AREA', 'Forum');
// aņadido portal
if (defined('VBA_PORTAL'))
{
$phrasegroups = array_merge($phrasegroups,
array(
'calendar',
'adv_portal',
'postbit'
)
);
$specialtemplates = array_merge($specialtemplates,
array(
'adv_modules',
'adv_portal_opts',
'attachmentcache',
'bbcodecache',
'birthdaycache',
'eventcache',
'iconcache',
'maxloggedin',
'smiliecache',
'userstats'
)
);
$globaltemplates = array_merge($globaltemplates,
array(
'adv_portal',
'adv_portal_footer'
)
);
}
// fin aņadido portal
// #############################################################################
// Start initialisation
Regards.