script/database installed correctly:
You can login to admin area here
>> when clicked for index page
code:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/script/config.php) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/user/public_html/script/license_check.php on line 24
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/config.php) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/user/public_html/script/license_check.php on line 35
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/apache/htdocsconfig.php) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/user/public_html/script/license_check.php on line 35
no config file found
Info:
Script is installed on a directory absolute path ( /user/local/apache/htdocs/home/user/public_html/script/ ) (not localhost)
As far as i understand, script is trying to locate a config file here (/usr/local/apache/htdocs/script/config.php) where it should be looking at /home/user/public_html/script/ where the config file actually exist.
Now here's what I have done
## .htaccess:
RewriteBase /script/
RewriteCond %{HTTP_HOST} ^(.+).domain.com [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [R=301,NC,L]
## license_check.php (amended)
define( "LOCAL_PATH", $docRoot. "/home/user/public_html/script/" );
define( "WEB_PATH", $totalPath. "http://domain.com/script/" );
does any one know where to define/change the installation path??
many thanks



