guppy has problems with abyss server help!

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
goose
-


Joined: 17 Sep 2002
Posts: 608
Location: The Land Of OZ! come here toto!

PostPosted: Fri Feb 27, 2004 4:31 pm    Post subject: guppy has problems with abyss server help! Reply with quote

why does the abyss server have troubles with guppy in the admin section of that script?

everything else works! :roll:

is there something not set correct on my part?

any help would be good ....this script is very cool no databases here :lol:
_________________
living in an armish paradise.....no gates here!

mawuahahaha :)
Back to top View user's profile Send private message
goose
-


Joined: 17 Sep 2002
Posts: 608
Location: The Land Of OZ! come here toto!

PostPosted: Fri Feb 27, 2004 7:44 pm    Post subject: Reply with quote

bump! :? 8O
_________________
living in an armish paradise.....no gates here!

mawuahahaha :)
Back to top View user's profile Send private message
goose
-


Joined: 17 Sep 2002
Posts: 608
Location: The Land Of OZ! come here toto!

PostPosted: Fri Feb 27, 2004 7:46 pm    Post subject: Reply with quote

aprelium i need your input as this script works with webweaver why not with abyss correctly? :cry:
_________________
living in an armish paradise.....no gates here!

mawuahahaha :)
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Feb 27, 2004 9:45 pm    Post subject: Re: guppy has problems with abyss server help! Reply with quote

goose,

We'll give it a try and we'll send you our feedback.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
goose
-


Joined: 17 Sep 2002
Posts: 608
Location: The Land Of OZ! come here toto!

PostPosted: Sat Feb 28, 2004 4:01 pm    Post subject: Reply with quote

aprelium,

thanks ...shall await your reply! :wink:
_________________
living in an armish paradise.....no gates here!

mawuahahaha :)
Back to top View user's profile Send private message
goose
-


Joined: 17 Sep 2002
Posts: 608
Location: The Land Of OZ! come here toto!

PostPosted: Sun Feb 29, 2004 2:11 pm    Post subject: Reply with quote

aprelium, thanks for the fix ....it works now! :D
_________________
living in an armish paradise.....no gates here!

mawuahahaha :)
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Feb 29, 2004 4:10 pm    Post subject: Reply with quote

goose wrote:
aprelium, thanks for the fix ....it works now! :D

Great.

The problem was because of a small bug in Guppy's code. We'll send to Guppy's developers the fix.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
websitemanager
-


Joined: 04 Feb 2004
Posts: 1

PostPosted: Sun Mar 07, 2004 1:01 pm    Post subject: Reply with quote

aprelium wrote:
goose wrote:
aprelium, thanks for the fix ....it works now! :D

Great.

The problem was because of a small bug in Guppy's code. We'll send to Guppy's developers the fix.


:( i ran into the same problem with guppy... could you show me how to fix it also?
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Mar 07, 2004 7:59 pm    Post subject: Reply with quote

websitemanager,

Edit the inc/includes.inc file and replace it with:

Code:

<?
$mpversion = "3.0p1";
$mpdate = "February 26, 2004";

include($chemin."data/config.inc");
if ($site[29] == "") {
  include_once($chemin."inc/reglobals.inc");
}
$usercookie = "GuppYUser";
$userprefs = array();
if (!empty($HTTP_COOKIE_VARS[$usercookie])) {
  $userprefs = explode("||",$HTTP_COOKIE_VARS[$usercookie]);
  $userprefs[0] = strip_tags($userprefs[0]);
  $userprefs[1] = eregi_replace("[^a-zA-Z0-9_]","",substr(strip_tags($userprefs[1]),0,20));
// if (ereg("\\0",$userprefs[1]) or ereg("\.\.",$userprefs[1])) {
//   die("GuppY thanks frog-m@n");
// }
  $userprefs[2] = strip_tags($userprefs[2]);
  $userprefs[3] = strip_tags($userprefs[3]);
  $userprefs[4] = strip_tags($userprefs[4]);
  $userprefs[5] = strip_tags($userprefs[5]);
  $userprefs[6] = str_replace("\n","<br>",strip_tags(str_replace("<br>","\n",$userprefs[6])));
  if (($userprefs[0] == $lang[0] || $userprefs[0] == $lang[1]) & empty($lng)) {
    $lng = $userprefs[0];
  }
  $userprefs[7] = strip_tags($userprefs[7]);
}
$lng = strip_tags($lng);
if (empty($lng)) {
  $lng = $lang[0];
}
include($chemin."inc/functions.php");
StartTimer();
if (!isset($_SERVER['REQUEST_URI'])) {
  // -- Aprelium --
  // The next commented line seems buggy. According to the CGI standard,
  // SCRIPT_NAME contains the URI of the processed script and thus
  // REQUEST_URI (which is an Apache extension) should be set to
  // SCRIPT_NAME (and not to a substring of SCRIPT_NAME).
 
  //$REQUEST_URI = substr($_SERVER['SCRIPT_NAME'],strrpos($_SERVER['SCRIPT_NAME'],'/')+1);
 
  // This is the fix
  $REQUEST_URI = $_SERVER['SCRIPT_NAME'];
  // -- Aprelium --
}

$endurl = strip_tags($REQUEST_URI);
if (!empty($userprefs[4])) {
  include($chemin.$increp."lang/".$userprefs[4]."-web".$incext);
}
else {
  include($chemin.$increp."lang/".$lng."-web".$incext);
}

if (strpos($endurl, "/admin/") !== false) {
  include($chemin.$increp."lang/".$lng."-admin".$incext);
}

$flag1 = $chemin.$increp."lang/".$lang[0].".gif";
$flag2 = $chemin.$increp."lang/".$lang[1].".gif";
include($chemin.$increp."log.inc");
if (!@include($chemin.$increp."img/skin/".$page[14]."/skin".$incext)) {
  include($chemin.$increp."img/skin/no_skin/skin".$incext);
}
?>

_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group