Changed line 256 in page.php from
session_register($session);
to
session_register($HTTP_SESSION_VARS['session']);
This fixed the session problem. Now I'll work on the template problem.
Howard
Running FreeBSD 4.7/Apache 1.3/PHP 4.3.3RC1/Mysql 4.03
Getting the following errors.
Notice: Undefined variable: session in /usr/local/www/pages/ig-shop/page.php on line 256
Fatal error: Cannot redeclare clear_parse() in /usr/local/www/pages/ig-shop/class.FastTemplate.php on line 644
Have downloaded the cf.zip and also tried with auto session start set in php.ini.
Howard
Changed line 256 in page.php from
session_register($session);
to
session_register($HTTP_SESSION_VARS['session']);
This fixed the session problem. Now I'll work on the template problem.
Howard
after doing a search for the clear_parse error on Google, it seems to be a common problem especially if running php 4.3.x onwards.
It seems to be a problem the FastTemplate script calling this function more than once.
As most support for this problem has said to comment out the second instance (around line 640) but not the first instance (around 511).
I've tried all combinations of the above for my version of PHP (4.3.3)
but to no avail.
I might have to look at another shop script which is a real pity cause I really liked the look and promise of this one.
Howard
You have php safe mode enabled ?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks