View previous topic :: View next topic |
Author |
Message |
goose -
Joined: 17 Sep 2002 Posts: 608 Location: The Land Of OZ! come here toto!
|
Posted: Fri Feb 27, 2004 4:31 pm Post subject: guppy has problems with abyss server help! |
|
|
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 |
|
 |
goose -
Joined: 17 Sep 2002 Posts: 608 Location: The Land Of OZ! come here toto!
|
Posted: Fri Feb 27, 2004 7:44 pm Post subject: |
|
|
bump! :? 8O _________________ living in an armish paradise.....no gates here!
mawuahahaha :) |
|
Back to top |
|
 |
goose -
Joined: 17 Sep 2002 Posts: 608 Location: The Land Of OZ! come here toto!
|
Posted: Fri Feb 27, 2004 7:46 pm Post subject: |
|
|
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 |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Feb 27, 2004 9:45 pm Post subject: Re: guppy has problems with abyss server help! |
|
|
goose,
We'll give it a try and we'll send you our feedback. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
goose -
Joined: 17 Sep 2002 Posts: 608 Location: The Land Of OZ! come here toto!
|
Posted: Sat Feb 28, 2004 4:01 pm Post subject: |
|
|
aprelium,
thanks ...shall await your reply! :wink: _________________ living in an armish paradise.....no gates here!
mawuahahaha :) |
|
Back to top |
|
 |
goose -
Joined: 17 Sep 2002 Posts: 608 Location: The Land Of OZ! come here toto!
|
Posted: Sun Feb 29, 2004 2:11 pm Post subject: |
|
|
aprelium, thanks for the fix ....it works now! :D _________________ living in an armish paradise.....no gates here!
mawuahahaha :) |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Feb 29, 2004 4:10 pm Post subject: |
|
|
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 |
|
 |
websitemanager -
Joined: 04 Feb 2004 Posts: 1
|
Posted: Sun Mar 07, 2004 1:01 pm Post subject: |
|
|
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 |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Mar 07, 2004 7:59 pm Post subject: |
|
|
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 |
|
 |
|