mariovaldez.net
http://www.mariovaldez.net/webapps/forums/

Syntax Error when entering CM. Please help.
http://www.mariovaldez.net/webapps/forums/viewtopic.php?f=3&t=86
Page 1 of 1

Author:  Guest [ 18 Aug 2004, 03:32 ]
Post subject:  Syntax Error when entering CM. Please help.

I receive the following error when i enter the CM

Notice: A session had already been started - ignoring session_start() in d:\usr\www\html\phprojekt\lib\gpcs_vars.inc.php on line 5

Please help

Author:  Mark Coudriet [ 18 Aug 2004, 06:42 ]
Post subject:  Session Error

Open your php.ini file, under "Error handling and logging" put this
error_reporting = E_ALL & ~E_NOTICE

That should fix your problem. :wink:

Author:  Guest [ 18 Aug 2004, 18:53 ]
Post subject:  The suggestion does not work.

The suggestion does not work. Can you please let me know whether i change the config correctly. Thank You

I change the php.ini from

error_reporting (0);
// set some other variables
$var_ini_set = ini_set("magic_quotes_gpc","on");
$var_ini_set = ini_set("include_path","./");
// avoid this d... error warning since it does not affect the scritps here
$var_ini_set = ini_set("session.bug_compat_42", 1);
$var_ini_set = ini_set("session.bug_compat_warn", 0);

TO

error_reporting = E_ALL & ~E_NOTICE ;
// set some other variables
$var_ini_set = ini_set("magic_quotes_gpc","on");
$var_ini_set = ini_set("include_path","./");
// avoid this d... error warning since it does not affect the scritps here
$var_ini_set = ini_set("session.bug_compat_42", 1);
$var_ini_set = ini_set("session.bug_compat_warn", 0);;
// set some other variables
$var_ini_set = ini_set("magic_quotes_gpc","on");
$var_ini_set = ini_set("include_path","./");
// avoid this d... error warning since it does not affect the scritps here
$var_ini_set = ini_set("session.bug_compat_42", 1);
$var_ini_set = ini_set("session.bug_compat_warn", 0);

Author:  Mark Coudriet [ 19 Aug 2004, 07:52 ]
Post subject:  I Think

What I gave you was for you to edit in your php.ini directly.
Try this:
Code:
error_reporting( E_ALL & ~E_NOTICE);

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/