From: Verinote W. <wh...@ve...> - 2007-12-16 16:46:50
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> Here is the output of /admin/test.php:<br> <table> <tbody align="left"> <tr> <th>PHP Information</th> </tr> <tr> <td> <ul> <li>Version: <font color="green">5.2.5</font></li> <li>OS: <font color="green">Linux</font></li> <li>SAPI: <font color="red">cgi</font></li> <li>register_globals: <font color="green">No</font></li> <li>magic_quotes_gpc: <font color="red">Yes</font></li> <li>magic_quotes_runtime: <font color="green">No</font></li> <li>safe_mode: <font color="green">No</font></li> <li>open_basedir: </li> </ul> </td> </tr> <tr> <th>PHP Extensions</th> </tr> <tr> <td> <ul> <li>dBase: <font color="red">No</font></li> <li>GD: <font color="green">Yes</font> -- bundled (2.0.34 compatible)</li> <li>GNU Gettext: <font color="green">Yes</font></li> <li>LDAP: <font color="red">No</font></li> <li>MySQL: <font color="green">Yes</font></li> <li>PHP Extension Dir (compiled): <font color="green">/usr/lib/php/extensions/no-debug-non-zts-20060613</font></li> <li>PHP Extension Dir (run time): <font color="green">/usr/local/lib/php/extensions/no-debug-non-zts-20060613</font></li> </ul> </td> </tr> <tr> <th>phpESP Settings</th> </tr> <tr> <td> <ul> <li>Expected ESP_BASE: <font color="green">/home/profport/public_html/poll/</font></li> <li>Expected base_url: <font color="green"><a class="moz-txt-link-abbreviated" href="http://www.profportfolio.org.uk/poll/">www.profportfolio.org.uk/poll/</a></font></li> <li><b>Loading phpESP.ini.php ...</b><br> </li> <li>ESP_BASE: <font color="green">/home/profport/public_html/poll/</font></li> <li>base_url: <font color="green"><a class="moz-txt-link-freetext" href="http://www.profportfolio.org.uk/poll/">http://www.profportfolio.org.uk/poll/</a></font></li> <li>Version: <font color="green">2.0.1</font></li> <li>Debug: <font color="green">No</font></li> </ul> </td> </tr> <tr> <th>phpESP Language Settings</th> </tr> <tr> <td> <ul> <li>GNU Gettext: <font color="green">Real</font></li> <li>default_lang: <font color="green">en_US</font></li> <li>current lang: <font color="green">en_US</font></li> <li>available langs: <font color="green">sv_SE, de_DE, fi_FI, ja_JP, fi, hu_HU, pt_PT, it_IT, nl_NL, es_ES, en_US, el_GR, fr_FR, da_DK, pt_BR</font><br> (<font color="green">da, de, el, en, es, fi, fr, it, ja, nl, pt, sv</font>) </li> <li>GNU Gettext test: <font color="green">Passed</font></li> <li>Catalog Open Test: <font color="green">Yes</font></li> </ul> </td> </tr> <tr> <th>PHP Session Test</th> </tr> <tr> <td> <ul> <li>session.save_path: </li> <li>Counter: 1</li> </ul> </td> </tr> </tbody> </table> <br> There is nothing obvious in the Apache error_log.<br> My version of /public/handler.php *does* have the following line at 192:<br> <input type="hidden" name="userid" value="<?php echo($_REQUEST['userid']); ?>" /><br> The version info at the top is:<br> /* $Id: handler.php,v 1.47 2007/12/07 15:15:05 liedekef Exp $ */<br> <br> <br> This is what I have at <a class="moz-txt-link-freetext" href="http://www.profportfolio.org.uk/poll.php">http://www.profportfolio.org.uk/poll.php</a> :<br> <?php<br> $sid=10;<br> include("/home/profport/public_html/poll/public/handler-prefix.php");<br> include("/home/profport/public_html/poll/public/handler.php");<br> ?><br> <br> Do I need:<br> include("/home/profport/public_html/poll/public/phpESP.first.php");<br> <br> at the beginning?<br> <br> Cheers,<br> Grindlay<br> <br> </body> </html> |
From: Franky V. L. <lie...@te...> - 2007-12-17 08:22:31
|
Hmmm ... sorry, I looked at the CVS version, which is already one higher. It seems I forgot to update the doc and remove handler-prefix.php and instead use phpESP.first.php. So please, can you try by including phpESP.first.php instead of handler-prefix.php? Franky > > My version of /public/handler.php *does* have the following line at 192: > <input type="hidden" name="userid" value="<?php echo($_REQUEST['userid']); > ?>" /> > The version info at the top is: > /* $Id: handler.php,v 1.47 2007/12/07 15:15:05 liedekef Exp $ */ > > > This is what I have at http://www.profportfolio.org.uk/poll.php : > <?php > $sid=10; > include("/home/profport/public_html/poll/public/handler-prefix.php"); > include("/home/profport/public_html/poll/public/handler.php"); > ?> > > Do I need: > include("/home/profport/public_html/poll/public/phpESP.first.php"); > > at the beginning? > > Cheers, > Grindlay > > |