Pages: [1]
  Print  
Author Topic: Problem configuring config.inc.php  (Read 801 times)
webxpress
Newbie
*
Offline Offline

Posts: 1


View Profile Email
« on: February 23, 2010, 06:38:10 PM »

Please could you help me to configure config.inc.php?
I've got phprealty uploaded to www.000webhost.com, with these data:
// database connection information
$database_type = "mysql";
$database_server = "mysql13.000webhost.com";
$database_user = "a8872970_cemls";
$database_password = "freedom2010";
$dbase = "a8872970_realty";
$table_prefix = "phprealty_";

// other global site variables
define('WWW',"http://armecopublicidad.site11.com/phprealtyv05/"); // with trailing slash
define('REL',$_SERVER['DOCUMENT_ROOT']."/phprealtyv05/"); // adjust this to the directory of phpRealty if it is not your document_root.

WITH TRAILING SLASH "/"
define('TEMPS',REL."templates/default/"); // change to the folder that you use for your template, with trailing slash
define('WTEMPS',WWW."templates/default/"); // change to the folder that you use for your template, with trailing slash
define('SITENAME',"http://armecopublicidad.site11.com"); // site name
define('LANG',"templates/languages/english.inc.php"); // path to language file. there are 2 ways to set this:
                      // ex1:LANG = "templates/languages/english.inc.php" OR
                      // ex2:LANG = "/home/user/path/to/phprealty/templates/languages/english.inc.php"

When I try to go to login page this is the answer:

Warning: require() [function.require]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/phprealtyv05/manager/includes/phprealty.class.php) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a8872970/public_html/index.php on line 18

Warning: require(/usr/local/apache/htdocs/phprealtyv05/manager/includes/phprealty.class.php) [function.require]: failed to open stream: Operation not permitted in /home/a8872970/public_html/index.php on line 18

Fatal error: require() [function.require]: Failed opening required '/usr/local/apache/htdocs/phprealtyv05/manager/includes/phprealty.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a8872970/public_html/index.php on line 18

I'm not a programmer at all, and first of all I see no line numbers.
Thank you in advance for your help
Logged
Pages: [1]
  Print  
 
Jump to: