From: SourceForge.net <no...@so...> - 2006-01-05 13:10:38
|
Bugs item #1365588, was opened at 2005-11-24 16:17 Message generated for change (Comment added) made by teniemi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1365588&group_id=8956 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: User Group: v1.7 Status: Open Resolution: None Priority: 5 Submitted By: Tero Niemi (teniemi) Assigned to: Nobody/Anonymous (nobody) Summary: Problem with session enabled sites Initial Comment: When trying to embed on oscommerce site, I got the following error: Notice: A session had already been started - ignoring session_start() in /home/www/phpESP/public/handler-prefix.php on line 54 Does this has something to do with oscommerce session handling? I think the version used was 1.75 ---------------------------------------------------------------------- >Comment By: Tero Niemi (teniemi) Date: 2006-01-05 15:10 Message: Logged In: YES user_id=979395 Sorry, you can remove this and previous comment. Problem was solved when I updated to 1.8 ---------------------------------------------------------------------- Comment By: Tero Niemi (teniemi) Date: 2006-01-05 14:09 Message: Logged In: YES user_id=979395 No I tried a plain html file which looks like this: <?php $sid=1; include("/home/www/phpESP/public/handler-prefix.php");?> <html> <body bgcolor="#FFFFFF"> <?php include("/home/www/phpESP/public/handler.php");?> </body> </html> Then I get: Fatal error: Call to a member function on a non-object in /home/www/phpESP/admin/include/lib/espdatalib.inc on line 133 If I open the query through survey.php it seems to work fine though. ---------------------------------------------------------------------- Comment By: Miguel (miguel2) Date: 2005-12-06 17:50 Message: Logged In: YES user_id=1346327 I have submitted a patch to include the corrected instructions in the finish tabs: http://sourceforge.net/tracker/index.php?func=detail&aid=1374565&group_id=8956&atid=308956 ---------------------------------------------------------------------- Comment By: Miguel (miguel2) Date: 2005-12-06 15:35 Message: Logged In: YES user_id=1346327 I had the same problems with v1.8. They have to change the integration description. Now it says to include <?php $sid=X; include("/usr/local/ftp/XXX/phpESP/public/handler.php");?> This is wrong since around 1.8 (see phpESP/public/handler-prefix.php for details). You have to do this: Create your template file with this as the *first* line: <?php $sid=<SID>; include('.../phpESP/public/handler-prefix.php'); ?> then where you want to include the actual survey use this line: <?php inlcude('.../phpESP/public/handler.php'); ?> This description was only necessary in conjunction with authentication but now seems to be always necessary. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1365588&group_id=8956 |