need some help here [message #1263] |
Fri, 22 February 2008 16:29 |
ashmuw
Messages: 6 Registered: February 2008
|
Junior Member |
|
|
Hi I need some help with installation. I have managed to change a few files but I still get an error message. Here is the message:
Fatal error: Failed opening required 'classes/php_session.class.inc' (include_path='.;C:\phpdev\includesPATH_SEPARATOR../menuPATH _SEPARATOR../auditPATH_SEPARATOR../workflowPATH_SEPARATORC:\ phpdev\includes') in C:\phpdev\includes\std.singleton.php4.inc on line 39
Any help is appreciated
thanks
|
|
|
|
Re: need some help here [message #1265 is a reply to message #1264] |
Fri, 22 February 2008 18:17 |
AJM
Messages: 2368 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
File include.general.inc contains the following code:
$include_path = ini_get('include_path');
$include_path .= PATH_SEPARATOR .'../menu';
$include_path .= PATH_SEPARATOR .'../audit';
$include_path .= PATH_SEPARATOR .'../workflow';
ini_set('include_path', $include_path);
Here PATH_SEPARATOR is a constant which varies between *nix and Windows systems.
You did not amend this code by any chance, did you?
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
Re: need some help here [message #1266 is a reply to message #1265] |
Sun, 24 February 2008 23:54 |
ashmuw
Messages: 6 Registered: February 2008
|
Junior Member |
|
|
hi I did not change the include file save for the path only and here is a portion.
Your help is appreciated
.................
// This file contains generic functions
// modify INCLUDE_PATH
$include_path = ini_get('include_path');
if (preg_match('/C:\\\phpdev\\\includes/i',$include_path, $regs)) {
// this applies to my home PC only - remove directory and append it later
$include_std = PATH_SEPARATOR .$regs[0];
$include_path = str_replace($include_std, '', $include_path);
} // if
$include_path .= PATH_SEPARATOR .'../menu';
$include_path .= PATH_SEPARATOR .'../audit';
$include_path .= PATH_SEPARATOR .'../workflow';
if (isset($include_std)) {
$include_path .= $include_std;
} // if
ini_set('include_path', $include_path);
unset($include_path, $include_std, $regs);
require_once 'config.inc.default';
require_once 'error.inc';
// are we using PHP 5, or something earlier?
if (version_compare(phpversion(), '5.0.0', '<')) {
require 'std.singleton.php4.inc';
|
|
|
Re: need some help here [message #1267 is a reply to message #1266] |
Mon, 25 February 2008 04:33 |
AJM
Messages: 2368 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
I see that you have changed some code in file 'include.general.inc'. You are not supposed to do that. You only change the files that you are directed to change in the installation instructions. Please reload 'include.general.inc' from the downloaded zip file and try again.
If that still causes a problem then place the following line:
just before the line:
unset($include_path, $include_std, $regs);
Your include_path directive is not being set correctly, and I want to see what is causing it.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
|