Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Undefine Session Varible on Manual Screen
02-08-2012, 09:54 AM
Post: #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.
Find all posts by this user
Quote this message in a reply
02-08-2012, 04:07 PM
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
02-08-2012, 07:28 PM (This post was last modified: 02-08-2012 07:37 PM by phil.)
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
02-09-2012, 03:44 AM (This post was last modified: 02-09-2012 05:48 AM by phil.)
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
02-09-2012, 09:46 AM
Post: #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?
Find all posts by this user
Quote this message in a reply
02-09-2012, 10:19 AM
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
02-10-2012, 01:33 AM
Post: #7
RE: Undefine Session Varible on Manual Screen
Yes Tim and Phil that fixed the problem. Thank you for the quick response and help.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)