vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   forum path on a vps server (https://vborg.vbsupport.ru/showthread.php?t=194042)

Medtech 10-19-2008 06:39 PM

forum path on a vps server
 
I have been trying to figure this one out.

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/ftaso0/httpdocs/forums/cmps_index.php) is not within the allowed path(s): (/var/www/vhosts/ftasolutions.com/httpdocs:/tmp) in /var/www/vhosts/ftasolutions.com/httpdocs/forums/cmps_index.php on line 29
Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.

any ideas anyone?

snakes1100 10-19-2008 07:25 PM

Unfortunately, we can not know your forum path or what you actually have in the file, you can find your path rather easy tho by looking at your php info via the admincp, that path will tell were you need to be, look in the last section/box of info toward the bottom of the php info page.

djxcee 10-20-2008 02:35 AM

Create a new php file, add the following and upload it:
PHP Code:

<?php

if ($_SERVER['PATH_TRANSLATED'])
{
    
$path $_SERVER['PATH_TRANSLATED'];
}
else if (
$_SERVER['SCRIPT_FILENAME'])
{
    
$path $_SERVER['SCRIPT_FILENAME'];
}
else
{
    echo 
'We are sorry, but this script is unable to determine your forums path.';
    exit;
}

$path str_replace(array('\\''//'), array('/''/'), $path);

echo 
substr($path0, (strlen($path) - 14));

?>


Marco van Herwaarden 10-20-2008 07:17 AM

Does the file /home/ftaso0/httpdocs/forums/cmps_index.php exist, or should it have been /var/www/vhosts/ftasolutions.com/httpdocs/forums/cmps_index.php?

Anyway you should as this at the vBAdvanced support website.


All times are GMT. The time now is 08:43 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.00980 seconds
  • Memory Usage 1,715KB
  • 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
  • (1)bbcode_php_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