View Full Version : When Creating A Page
rb290
11-15-2005, 04:06 AM
I always get this
"/usr/local/bin:/usr/bin:/bin"
also my cmps_index.php file has nothing in it, someone tell me if its supposed to be like this or should be codes in there?
jim6763nva
11-15-2005, 09:24 AM
I always get this
"/usr/local/bin:/usr/bin:/bin"
also my cmps_index.php file has nothing in it, someone tell me if its supposed to be like this or should be codes in there?
Yes, It should have something in it. Maybe your installation zip file was damaged during download. Try redownloading it again.
Jim
rb290
11-15-2005, 11:26 AM
i re-downloaded it several times, still get nothing in the cmps_index.php file,
can someone please upload theirs for me?
Brian
11-15-2005, 12:41 PM
Here's the content you should have in your cmps_index.php file:
<?php
// ++=========================================================================++
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/yoursite/public_html/forum');
// ============================================
// No Further Editing Necessary!
// ============================================
$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();
require_once('./global.php');
print_portal_output($home);
?>
rb290
11-15-2005, 07:18 PM
so my forum directory is /public_html/
will it look like this:
chdir('/public_html/');
rb290
11-15-2005, 07:31 PM
whats this mean
Warning: chdir(): No such file or directory (errno 2) in /home/thug/public_html/cmps_index.php on line 22
Brian
11-17-2005, 01:59 PM
FAQ forum. ;)
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.