PDA

View Full Version : Installation Probs on Apache -



fishy
05-01-2004, 01:00 PM
searched for my answers, but no luck, so here goes -

unable to install and rcv following errors when open site:


Notice: Undefined variable: sender in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 265

Notice: Undefined variable: sender in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 266

Notice: Undefined variable: listingID in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 266

Notice: Undefined variable: comment in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 266

Notice: Undefined variable: listing in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 268

Notice: Undefined variable: sender in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 276

Notice: Undefined variable: sender in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 277

Notice: Undefined variable: sender_email in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 277

Notice: Undefined variable: sender_password in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 277

Notice: Undefined variable: comment in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 277

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php:265) in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\main.php on line 4

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php:265) in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\main.php on line 4

Notice: Undefined variable: printer_friendly in C:\Program Files\Apache Group\Apache2\htdocs\reality\template\vertical-menu\user_top.html on line 38

followed the instructions & common.php is:



///////////////////////////////////////////////////
// SITE INFORMATION
// make sure this info is accurate
$config['version'] = '1.1.4'; //Do Not Modify
// Your site's web address (don't forget the http://) - leave off the trailing slash
$config['baseurl'] = 'http://server-name/reality';
// The actual location of openlistings on the machine -- leave off the trailing slash
// Windows users need to use double slashes eg. c:\\www\\open-realty
$config['basepath'] = 'C:\\Program Files\\Apache Group\\Apache2\\htdocs\\reality';
$config['admin_name'] = 'my-name'; // Your name -- all email will come from this name
$config['admin_email'] = 'my-name@my-name.com'; // all email which is sent from the site will come from this address
$config['site_title'] = 'Open-Realty '.$config['version']; // Site title
$config['company_name'] = 'Open-Realty Real Estate, Inc.'; // Company Name used on Legal Page.
$config['company_location'] = 'OPEN SOURCE SOLUTION TO REAL ESTATE LISTINGS'; // Company Location for header. E.g. "of Susquehanna County, Pennsylvania"
$config['company_logo'] = '/images/title.jpg'; //Location of company logo.

///////////////////////////////////////////////////
// DATABASE TYPE
// default is mysql -- make sure you edit this file
// to make sure DB settings are correct!
global $db_type;
$db_type = 'mysql';
// possible choices are: access, ado, db2, ado_access, vfp, fbsql, ibase
// firebird, borland_ibase, informix, mssql, mysql, mysqlt, maxsql, oci8
// oci8po, odbc, oracle, postgres, postgres7, sqlanywhere, sybase

$db_user = ''; //database user
$db_password = ''; //database password
$db_database = 'reality'; //database definition file
$db_server = 'localhost'; //database server -- usually localhost, but one never knows


thanks for any insigts or pointers in the right direction.

best.

rogerthat
05-01-2004, 04:46 PM
HI,

Youve used the windows base reference to your folder, apache uses

/home/cpanelusername/public_html

Thats the format I use anyway.

Hope it helps, if im wrong, sorry. Dependent on your user panel it usually has the format of basepaths.

RECS
05-01-2004, 04:55 PM
searched for my answers, but no luck, so here goes -

unable to install and rcv following errors when open site:


Notice: Undefined variable: sender in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 265

Notice: Undefined variable: sender in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 266

Notice: Undefined variable: listingID in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 266

Notice: Undefined variable: comment in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 266

Notice: Undefined variable: listing in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 268

Notice: Undefined variable: sender in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 276

Notice: Undefined variable: sender in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 277

Notice: Undefined variable: sender_email in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 277

Notice: Undefined variable: sender_password in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 277

Notice: Undefined variable: comment in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php on line 277

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php:265) in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\main.php on line 4

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Program Files\Apache Group\Apache2\htdocs\reality\include\language\engl ish.php:265) in C:\Program Files\Apache Group\Apache2\htdocs\reality\include\main.php on line 4

Notice: Undefined variable: printer_friendly in C:\Program Files\Apache Group\Apache2\htdocs\reality\template\vertical-menu\user_top.html on line 38

followed the instructions & common.php is:



///////////////////////////////////////////////////
// SITE INFORMATION
// make sure this info is accurate
$config['version'] = '1.1.4'; //Do Not Modify
// Your site's web address (don't forget the http://) - leave off the trailing slash
$config['baseurl'] = 'http://server-name/reality';
// The actual location of openlistings on the machine -- leave off the trailing slash
// Windows users need to use double slashes eg. c:\\www\\open-realty
$config['basepath'] = 'C:\\Program Files\\Apache Group\\Apache2\\htdocs\\reality';
$config['admin_name'] = 'my-name'; // Your name -- all email will come from this name
$config['admin_email'] = 'my-name@my-name.com'; // all email which is sent from the site will come from this address
$config['site_title'] = 'Open-Realty '.$config['version']; // Site title
$config['company_name'] = 'Open-Realty Real Estate, Inc.'; // Company Name used on Legal Page.
$config['company_location'] = 'OPEN SOURCE SOLUTION TO REAL ESTATE LISTINGS'; // Company Location for header. E.g. "of Susquehanna County, Pennsylvania"
$config['company_logo'] = '/images/title.jpg'; //Location of company logo.

///////////////////////////////////////////////////
// DATABASE TYPE
// default is mysql -- make sure you edit this file
// to make sure DB settings are correct!
global $db_type;
$db_type = 'mysql';
// possible choices are: access, ado, db2, ado_access, vfp, fbsql, ibase
// firebird, borland_ibase, informix, mssql, mysql, mysqlt, maxsql, oci8
// oci8po, odbc, oracle, postgres, postgres7, sqlanywhere, sybase

$db_user = ''; //database user
$db_password = ''; //database password
$db_database = 'reality'; //database definition file
$db_server = 'localhost'; //database server -- usually localhost, but one never knows


thanks for any insigts or pointers in the right direction.

best.

mY GUESS IS THAT

RECS
05-01-2004, 05:01 PM
searched for my answers, but no luck, so here goes -

unable to install and rcv following errors when open site:




///////////////////////////////////////////////////
// DATABASE TYPE
// default is mysql -- make sure you edit this file
// to make sure DB settings are correct!
global $db_type;
$db_type = 'mysql';
// possible choices are: access, ado, db2, ado_access, vfp, fbsql, ibase
// firebird, borland_ibase, informix, mssql, mysql, mysqlt, maxsql, oci8
// oci8po, odbc, oracle, postgres, postgres7, sqlanywhere, sybase

$db_user = ''; //database user
$db_password = ''; //database password
$db_database = 'reality'; //database definition file
$db_server = 'localhost'; //database server -- usually localhost, but one never knows


thanks for any insigts or pointers in the right direction.

best.

I think your not connecting to you Database. You need a -- $db_user = ''; //database user -- I use "root" and If you are setup using a password you also need include it.

REC

fishy
05-02-2004, 06:38 PM
rogerthat -
--> thanks. but i have apache installed on windows. you're refering to the structure on a unix/linux box, not what apache uses.

recs -
--> i able to connect to the db. it appears that the $sender variable is not being set. i'm trying to track down where this is being set.

best.