|
|
Forum-Information
Before posting about errors, make sure that the answer cannot already be found
in our FAQ or by searching this forum!
Posting is restricted to registered users ( registering is free and simple!) due to recent spam attacks. When having trouble with this board, contact garvin(-at)s9y(-dot)org.
|
Found a bug? Tell us!!
-

Timbalu
- Regular
-
- Posts: 2564
- Joined: Sun May 02, 2004 3:04 pm
by Timbalu » Mon Mar 21, 2011 6:02 pm
echo '<br /><br />'; 
Regards, Ian
-
kento
- Regular
-
- Posts: 31
- Joined: Sun Mar 20, 2011 1:38 pm
-
Re: Deffently need help on this one arggggggggg
by kento » Mon Mar 21, 2011 6:10 pm
Timbalu wrote:echo '<br /><br />'; 
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 LOL
-
kento
- Regular
-
- Posts: 31
- Joined: Sun Mar 20, 2011 1:38 pm
-
Re: Deffently need help on this one arggggggggg
by kento » Mon Mar 21, 2011 6:15 pm
kento wrote:Timbalu wrote:echo '<br /><br />'; 
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 LOL
worked, where do you want it?
-

Timbalu
- Regular
-
- Posts: 2564
- Joined: Sun May 02, 2004 3:04 pm
Re: Deffently need help on this one arggggggggg
by Timbalu » Mon Mar 21, 2011 6:15 pm
PM just the output of the php script, please!  Not a books content or something inbetween, else I hesitate to look into! 
Regards, Ian
-

Timbalu
- Regular
-
- Posts: 2564
- Joined: Sun May 02, 2004 3:04 pm
Re: Deffently need help on this one arggggggggg
by Timbalu » Mon Mar 21, 2011 6:57 pm
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.
Regards, Ian
-
kento
- Regular
-
- Posts: 31
- Joined: Sun Mar 20, 2011 1:38 pm
-
Re: Deffently need help on this one arggggggggg
by kento » Mon Mar 21, 2011 7:09 pm
Timbalu 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.
would love to, but line 29 in my serendipity_config.inc.php is an empty line 
-

Timbalu
- Regular
-
- Posts: 2564
- Joined: Sun May 02, 2004 3:04 pm
Re: Deffently need help on this one arggggggggg
by Timbalu » Mon Mar 21, 2011 7:28 pm
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 adding - Code: Select all
$_SERVER['QUERY_STRING'] = (empty($_SERVER['QUERY_STRING']) || !isset($_SERVER['QUERY_STRING'])) ? '' : $_SERVER['QUERY_STRING'];
to line 10 which should be empty to insert. Then have a look if it still does not output [QUERY_STRING] => This should solve your problems, hopefully.
Regards, Ian
-
kento
- Regular
-
- Posts: 31
- Joined: Sun Mar 20, 2011 1:38 pm
-
Re: Deffently need help on this one arggggggggg
by kento » Mon Mar 21, 2011 7:31 pm
Timbalu 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 adding - Code: Select all
$_SERVER['QUERY_STRING'] = (empty($_SERVER['QUERY_STRING']) || !isset($_SERVER['QUERY_STRING'])) ? '' : $_SERVER['QUERY_STRING'];
to line 10 which should be empty to insert. Then have a look if it still does not output [QUERY_STRING] => This should solve your problems, hopefully.
hehe you are the man  that did infact do the job ..... this is awsome  thanx for your help once again greetings kento you can have a look at kn2.dyndns.org/blog
-
kento
- Regular
-
- Posts: 31
- Joined: Sun Mar 20, 2011 1:38 pm
-
Re: Deffently need help on this one arggggggggg
by kento » Mon Mar 21, 2011 7:33 pm
so this addon did infact do what?? maby i can learn something out of this 
-

Timbalu
- Regular
-
- Posts: 2564
- Joined: Sun May 02, 2004 3:04 pm
Re: Deffently need help on this one arggggggggg
by Timbalu » Mon Mar 21, 2011 7:41 pm
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 this - 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']; } }
Glad we solved this issue, maybe Garvin finds a way to support Abyss in future like the 'line 10 code'....
Regards, Ian
-
kento
- Regular
-
- Posts: 31
- Joined: Sun Mar 20, 2011 1:38 pm
-
Re: Deffently need help on this one arggggggggg
by kento » Mon Mar 21, 2011 7:44 pm
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 this - 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']; } }
Glad we solved this issue, maybe Garvin finds a way to support Abyss in future like the 'line 10 code'....
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
- Regular
-
- Posts: 2564
- Joined: Sun May 02, 2004 3:04 pm
Re: Deffently need help on this one [SOLVED]
by Timbalu » Mon Mar 21, 2011 7:56 pm
I don't know, really. I'm running Apache (as module) which is doing fine.
Regards, Ian
Return to Bugs
Who is online
Users browsing this forum: No registered users and 0 guests
|