I am new to PHP. I've installed PHP 5.1 and MySQL 5.1 and copied the PhreeBooksR2.1 folder to apache tomcat webapps folder.
When I execute the URL:
http://localhost:8080/PhreeBooksR2.1/index.php getting the following message:
'login' && $module <> 'pw_lost') { // save the page requested to reload when logging back in $_SESSION['pb_cat'] = $_GET['cat']; $_SESSION['pb_module'] = $_GET['module']; $_SESSION['pb_jID'] = $_GET['jID']; $_SESSION['pb_type'] = $_GET['type']; } $cat = 'general'; $module = 'login'; } else { unset($_SESSION['pb_cat']); unset($_SESSION['pb_module']); unset($_SESSION['pb_jID']); unset($_SESSION['pb_type']); } // check to see if it is an ajax request if ($module == 'ajax') { $pre_process_path = DIR_FS_MY_FILES . 'custom/' . $cat . '/ajax/' . $_REQUEST["op"] . '.php'; if (file_exists($pre_process_path)) { require($pre_process_path); die; } $pre_process_path = DIR_FS_MODULES . $cat . '/ajax/' . $_REQUEST["op"] . '.php'; if (file_exists($pre_process_path)) { require($pre_process_path); die; } die; // go no further } //include the custom modfications for this module $custom_html = false; $include_header = false; $include_footer = false; $include_template = 'template_main.php'; // default template to use, can be over-ridden by pre_process //start processing the module, required, pull in custom modules if requested $pre_process_path = DIR_FS_MY_FILES . 'custom/' . $cat . '/pages/' . $module . '/pre_process.php'; if (file_exists($pre_process_path)) { define('DIR_FS_WORKING', DIR_FS_MY_FILES . 'custom/' . $cat . '/'); define('DIR_WS_WORKING', DIR_WS_FULL_PATH . 'my_files/custom/' . $cat . '/'); } else { $pre_process_path = DIR_FS_MODULES . $cat . '/pages/' . $module . '/pre_process.php'; if (file_exists($pre_process_path)) { define('DIR_FS_WORKING', DIR_FS_MODULES . $cat . '/'); define('DIR_WS_WORKING', DIR_WS_FULL_PATH . 'modules/' . $cat . '/'); } else die('No pre_process file, looking for the file: ' . $pre_process_path); } // load the pre_process file require($pre_process_path); // set the template path as defined from the pre-process script, include custom if exists if (file_exists(DIR_FS_MY_FILES . 'custom/' . $cat . '/pages/' . $module . '/' . $include_template)) { $template_path = DIR_FS_MY_FILES . 'custom/' . $cat . '/pages/' . $module . '/' . $include_template; } else { $template_path = DIR_FS_WORKING . 'pages/' . $module . '/' . $include_template; } if (!$custom_html) { ?> > >
What is the issue?
Can somebody help me out how to do installation, Please
Thanks
Jean