Re: Deffently need help on this one arggggggggg
Posted: Mon Mar 21, 2011 5:02 pm
echo '<br /><br />';
User and developer community
https://board.s9y.org/
can i pm large amount of info on this forum or how do we do this best... i turned on heavy loggin on the server and damn it got log for U LOLTimbalu wrote:echo '<br /><br />';
worked, where do you want it?kento wrote:can i pm large amount of info on this forum or how do we do this best... i turned on heavy loggin on the server and damn it got log for U LOLTimbalu wrote:echo '<br /><br />';
would love to, but line 29 in my serendipity_config.inc.php is an empty lineTimbalu wrote:It seems you get [REQUEST_URI] => /test.php, which isn't used by some IIS Servers
But you don't get [QUERY_STRING] =>
Could you test this by implanting the same code without the <?php and ?> on line 29 of serendipity_config.inc.php, please? And send me the output again per PM.
Code: Select all
$_SERVER['QUERY_STRING'] = (empty($_SERVER['QUERY_STRING']) || !isset($_SERVER['QUERY_STRING'])) ? '' : $_SERVER['QUERY_STRING'];
hehe you are the man that did infact do the job ..... this is awsomeTimbalu wrote:Ok, there still is no $_SERVER['QUERY_STRING'] var.
It seems Abyss does not set $_SERVER['QUERY_STRING'] to an empty string, if there isn't any value.
Please try addingto line 10 which should be empty to insert.Code: Select all
$_SERVER['QUERY_STRING'] = (empty($_SERVER['QUERY_STRING']) || !isset($_SERVER['QUERY_STRING'])) ? '' : $_SERVER['QUERY_STRING'];
Then have a look if it still does not output [QUERY_STRING] =>
This should solve your problems, hopefully.
Code: Select all
if (!isset($_SERVER['REQUEST_URI']))
{
$_SERVER['REQUEST_URI'] = substr($_SERVER['PHP_SELF'],1 );
if (isset($_SERVER['QUERY_STRING'])) { $_SERVER['REQUEST_URI'].='?'.$_SERVER['QUERY_STRING']; }
}
just a thought, can it have something to do with that most windows servers runs single line piped fastcgi on the php?? mean then only one instance is done at the time while the script tryes to do both at the same time???Timbalu wrote:Well it sets $_SERVER['QUERY_STRING'] to an empty string, while Abyss just does not build it at all.
If you were with Microsofts IIS you would have the same problem with $_SERVER['REQUEST_URI']
The workaround in this case should be something like thisGlad we solved this issue, maybe Garvin finds a way to support Abyss in future like the 'line 10 code'....Code: Select all
if (!isset($_SERVER['REQUEST_URI'])) { $_SERVER['REQUEST_URI'] = substr($_SERVER['PHP_SELF'],1 ); if (isset($_SERVER['QUERY_STRING'])) { $_SERVER['REQUEST_URI'].='?'.$_SERVER['QUERY_STRING']; } }