Jump to content

Helping with running php codes


flowergal

Recommended Posts

Hi, im a newbie to php. I need to configure and run my system on xampp platform. This system was developed by my friend but i dont know how to configure it. Im using windows xp. When i try to login to the admin page, im getting the following error stated in the forum.

 

http://www.phpfreaks.com/forums/index.php?topic=327839.0

 

Since im new to php, I dont know how to fix my codes to run the system. I need to resolve this asap bcoz i need to show my system to my college tutor. Please help me. thanks.

Link to comment
https://forums.phpfreaks.com/topic/251515-helping-with-running-php-codes/
Share on other sites

Hi, i'm getting the following error messages and i dont know how to fix.

 

Undefined index: access in C:\xampp\htdocs\CourseMS2_2_1\includes\header.php on line 27

Undefined variable: user in C:\xampp\htdocs\CourseMS2_2_1\includes\header.php on line 37

Trying to get property of non-object in C:\xampp\htdocs\CourseMS2_2_1\includes\header.php on line 37

Undefined index: access in C:\xampp\htdocs\CourseMS2_2_1\includes\header.php on line 37

 

please help me.. i need this solved urgently.. thanksss

i took this from config.php under C:\xampp\htdocs\CourseMS2_2_1\admin

 

<?

//Database configuration

define('DB_NAME', 'coursems');

define('DB_USER', 'root');

define('DB_PASS', '');

define('DB_HOST', 'localhost');

define('USE_PCONNECT', 'false');

 

//CourseMS Paths

define('HTTP_SERVER', 'http://localhost/CourseMS2_2_1/');

define('HTTP_PATH', '');

define('EXPORT_PATH', '/exports/');

define('REL_EXPORT_PATH', 'exports/');

// PHPESP database configuration

 

define('ESP_DB_NAME', 'book1');

define('ESP_DB_USER', 'root');

define('ESP_DB_PASS', '');

define('ESP_DB_HOST', 'localhost');

//phpESP paths

 

define('PHPESP_PATH', '/web/htdocs/course/public/handler.php');

define('PHPESP_APP', 'http://localhost/esp/');

//Google Map Key file

 

define('GOOGLE_MAP_KEY', '');

//Email settings

 

define('FROM', '[email protected]');

define('SIGNATURE', 'CourseMS Support Team');

define('RANDOM_STRING', 'bob');

 

// Site Configuration Settings

 

define('TABLE_WIDTH', '100%');

define('SEC_TABLE_WIDTH', '90%');

define('JOB_REQUIREMENTS', 'false');

 

// Requirement Levels

 

define('LEVEL1_NAME', 'Jobs');

define('LEVEL2_NAME', 'Specialties');

define('LEVEL3_NAME', 'Bands');

define('LEVEL1_REQUIRED', 'true');

define('LEVEL2_REQUIRED', 'true');

define('LEVEL3_REQUIRED', 'true');

 

include('../site_config.php');

?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.