vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #1  
Old 08-24-2004, 01:51 PM
luiseman luiseman is offline
Junior Member
 
Join Date: Jun 2004
Posts: 2
Default Error with cmps_index.php

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:

PHP Code:
// 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.
  #2  
Old 08-24-2004, 02:01 PM
luiseman luiseman is offline
Junior Member
 
Join Date: Jun 2004
Posts: 2
Default

everything in order
  #3  
Old 08-24-2004, 02:06 PM
mholtum's Avatar
mholtum mholtum is offline
I ******* single moms.
 
Join Date: May 2004
Location: Tempe, Arizona
Posts: 1,938
Default Re: Error with cmps_index.php

chdir('./usr/home/calamar/public_html/foroccnet30'); This is wrong
I have my forums in /forum/
so I have chdir('./forum');
  #4  
Old 08-24-2004, 02:08 PM
mholtum's Avatar
mholtum mholtum is offline
I ******* single moms.
 
Join Date: May 2004
Location: Tempe, Arizona
Posts: 1,938
Default Re: Error with cmps_index.php

Yours should be :
chdir('./foroccnet30');
  #5  
Old 08-24-2004, 02:35 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Error with cmps_index.php

That line should be:
chdir('/usr/home/calamar/public_html/foroccnet30');

Or, as mholtum said, this will probably work as well:

chdir('./foroccnet30');
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:51 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.