Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Undefine Session Varible on Manual Screen
02-08-2012, 09:54 AM,
#1
Undefine Session Varible on Manual Screen
Everything seems ok so far but when I click on manual tab I get a error message of:

Notice: Undefined variable: _SESSION in C:\wamp\www\webERP\doc\Manual\ManualContents.php on line 30

This is on a Windows 7 machine.

Any suggestions? Everything else seems to be working.
Reply
02-08-2012, 04:07 PM,
#2
RE: Undefine Session Varible on Manual Screen
I am not seeing that. What version are you using
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
02-08-2012, 07:28 PM, (This post was last modified: 02-08-2012, 07:37 PM by phil.)
#3
RE: Undefine Session Varible on Manual Screen
Looks like I did that in May 2011...
The reason escapes me now - I think it was some issue with the API manual page.
I have still got:
Code:
error_reporting (-1);
in config.php

When I come across notices I am fixing them. I am not seeing that error but I think I should be...
When I uncomment line 24:
Code:
include($PathPrefix.'includes/session.inc');
and try the API manual page I get:
Code:
Fatal error: Cannot redeclare CryptPass() (previously declared in /initrd/mnt/dev_save/hiawatha/webERP/includes/session.inc:319) in /initrd/mnt/dev_save/hiawatha/webERP/includes/session.inc on line 328

I took out the same line in the manual api page and it appears to come up - although html formatting now appears munted??
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
02-09-2012, 03:44 AM, (This post was last modified: 02-09-2012, 05:48 AM by phil.)
#4
RE: Undefine Session Varible on Manual Screen
i don't recall changing any of tthe formatting
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
02-09-2012, 09:46 AM,
#5
RE: Undefine Session Varible on Manual Screen
So, what is the procedure for fixing something like this? Do I need to download and replace a .php file or files or edit the source code?
Reply
02-09-2012, 10:19 AM,
#6
RE: Undefine Session Varible on Manual Screen
You can get the repaired script downloaded from:

http://web-erp.svn.sourceforge.net/viewv...ision=4885

Just copy this script over your existing webERP/doc/Manual/ManualContents.php script
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
02-10-2012, 01:33 AM,
#7
RE: Undefine Session Varible on Manual Screen
Yes Tim and Phil that fixed the problem. Thank you for the quick response and help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)