PDA

View Full Version : Base Path and URL



triponline
09-01-2004, 03:06 PM
I am installing on a virtual host. My files are in the public_html/realty folder.

What would a Base Path compare to a Base URL Could you give an example?

Thanks
bob

the_sandking
09-01-2004, 03:39 PM
base path = local server physical path

examples:

/var/www/html or /public_html/realty


baseurl = Internet URL

example:
http://www.yoursite.com/realty

triponline
09-02-2004, 09:20 PM
I appreciate your help. I have set up a lot of scripts and have written many of my own but this one seems to be giving me fits. It is likely due to encounter a new hole in my slow but ongoing education.

Warning: main(): open_basedir restriction in effect. File(/home/transpar/www/realty/template/vertical-menu/style.php) is not within the allowed path(s): (/home/tripon:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/tripon/public_html/realty/include/common.php on line 62

Warning: main(/home/transpar/www/realty/template/vertical-menu/style.php): failed to open stream: Operation not permitted in /home/tripon/public_html/realty/include/common.php on line 62

Warning: main(): Failed opening '/home/transpar/www/realty/template/vertical-menu/style.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tripon/public_html/realty/include/common.php on line 62

Warning: main(): open_basedir restriction in effect. File(/home/transpar/www/realty/include/language/english.php) is not within the allowed path(s): (/home/tripon:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/tripon/public_html/realty/include/common.php on line 67

Warning: main(/home/transpar/www/realty/include/language/english.php): failed to open stream: Operation not permitted in /home/tripon/public_html/realty/include/common.php on line 67

Warning: main(): Failed opening '/home/transpar/www/realty/include/language/english.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tripon/public_html/realty/include/common.php on line 67

Warning: main(): open_basedir restriction in effect. File(/home/transpar/www/realty/include/main.php) is not within the allowed path(s): (/home/tripon:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/tripon/public_html/realty/include/common.php on line 158

Warning: main(/home/transpar/www/realty/include/main.php): failed to open stream: Operation not permitted in /home/tripon/public_html/realty/include/common.php on line 158

Warning: main(): Failed opening '/home/transpar/www/realty/include/main.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tripon/public_html/realty/include/common.php on line 158

Warning: main(): open_basedir restriction in effect. File(/home/transpar/www/realty/include/adodb/adodb.inc.php) is not within the allowed path(s): (/home/tripon:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/tripon/public_html/realty/include/common.php on line 161

Warning: main(/home/transpar/www/realty/include/adodb/adodb.inc.php): failed to open stream: Operation not permitted in /home/tripon/public_html/realty/include/common.php on line 161

Warning: main(): Failed opening '/home/transpar/www/realty/include/adodb/adodb.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tripon/public_html/realty/include/common.php on line 161

Fatal error: Call to undefined function: adonewconnection() in /home/tripon/public_html/realty/include/common.php on line 162

Any help you can provide would be appreciated.

Bob

the_sandking
09-02-2004, 09:43 PM
I think your basepath should be:

/home/tripon/public_html/realty

Otherwise post your 'common.php' so we can take a look.. redact your password ..