Date: 07/17/00
- Next message: fbouchard: "Re: [phplib] SOLVED HELP: multiple phplib on the same server"
- Previous message: David Nind: "Re: [phplib] HELP: multiple phplib on the same server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi everyone,
I was wondering if anyone could help me with the first time i've been
stumped with PHP. I'm new to programming and PHP so I apologise if the
answer is blindingly obvious but i'd appreciate any help.
I'm building a shoppingcart and incorrectly added the two required class
variables to a shopping cart class before I tried to register a instance of
it with sesssion. The first time I tried to access the page concerned it
loaded correctly but the following message appeared at the bottom.
"Warning: Variable passed to reset() is not an array or object in
/home/aeffik/phplib-7.2b/php/session.inc on line 272"
The next 'session' page I accessed did not load correctly and instead
displayed this error,
"Parse error: parse error, expecting `STRING' or `'$'' in
/home/aeffik/phplib-7.2b/php/session.inc on line 332".
I've deleted the contents of the active_sessions and undone all the sesson
variable registering that I was trying, so now my code is back to its last
working state so no attempt is made to register variables with $sess but I
still receive the same error messages.
I've searched this list archive for similar errors but unsuccessfully.
However I did find two live sites currently displaying similar messages :)
Thanks
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: fbouchard: "Re: [phplib] SOLVED HELP: multiple phplib on the same server"
- Previous message: David Nind: "Re: [phplib] HELP: multiple phplib on the same server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

