Welcome, Guest. Please Login or Register.
November 01, 2024, 02:35:13 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Converters  |  Problem after upgrade from 1.4.0 to 1.5.4 QueryString.php « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Problem after upgrade from 1.4.0 to 1.5.4 QueryString.php  (Read 5787 times)
DubyaBush
Noobie
*
Posts: 2


I'm a llama!

Problem after upgrade from 1.4.0 to 1.5.4 QueryString.php
« on: September 01, 2003, 07:06:04 PM »
Reply with quote

Can someone help me overcome my problem.

I was using 1.4.0 successfully and I just upgraded to 1.5.4.  Everything looks fine but for the fact that it is displaying what appear to be the content of QueryString.php at the top of every page

This is what I see on the top of my screen:

TTP_CLIENT_IP']); $referer = explode('.', $REMOTE_ADDR); if($referer[0] != $ip_expl[0]) { $ip = array_reverse($ip_expl); $REMOTE_ADDR = implode('.', $ip); } else $REMOTE_ADDR = $_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { if(strstr($_SERVER['HTTP_X_FORWARDED_FOR'], ',')) { $ip_expl = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']); $REMOTE_ADDR = end($ip_expl); } else $REMOTE_ADDR = $_SERVER['HTTP_X_FORWARDED_FOR']; } ?>

Any help will be highly appreciated
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Problem after upgrade from 1.4.0 to 1.5.4 QueryString.php
« Reply #1 on: September 03, 2003, 03:49:57 AM »
Reply with quote

Have you both made sure you chmod'd it to 755 and have you tried uploading QueryString.php over again, first deleting the old file?

-[Unknown]
Logged
DubyaBush
Noobie
*
Posts: 2


I'm a llama!

Re:Problem after upgrade from 1.4.0 to 1.5.4 QueryString.php
« Reply #2 on: September 03, 2003, 07:21:56 PM »
Reply with quote

It worked.  

I set the chmod to 744 it did not work, I then deleted the QueryString.php then upload another copy of it to the server and set the chmod of the new file to 744.  I no longer see the weired stuffs any more

Thank you very much for your hint.


Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Problem after upgrade from 1.4.0 to 1.5.4 QueryString.php
« Reply #3 on: September 04, 2003, 02:37:02 AM »
Reply with quote

No problem.

-[Unknown]
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Converters  |  Problem after upgrade from 1.4.0 to 1.5.4 QueryString.php « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.068 seconds with 21 queries.