phpAdsNew - can't login

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


Joined: 14 Apr 2005
Posts: 3

PostPosted: Thu Apr 14, 2005 3:10 pm    Post subject: phpAdsNew - can't login Reply with quote

We've encountered login troubles with phpAdsNew. Every time I try to log in, the login form reappears, while it used to work flawlessly under Apache.

phpAdsNew makes use of $HTTP_COOKIE_VARS to access the cookies, maybe that's the cause.

Currently we're running Abyss Web Server X1 (headerstring: "Server: Abyss/2.0.0.20-X1-Win32 AbyssLib/2.0.0.20"). We're considering the X2 version, but we'll certainly go back to Apache if Abyss is incompatible with phpAdsNew.
Back to top View user's profile Send private message
k1ll3rdr4g0n
-


Joined: 04 Jul 2004
Posts: 609

PostPosted: Thu Apr 14, 2005 3:58 pm    Post subject: Reply with quote

Has phpAdsNew worked before on Abyss?

Are you able to use $HTTP_COOKIE_VARS at all?

Later, I will see if it works on mine.
_________________
Back to top View user's profile Send private message AIM Address
nolko
-


Joined: 14 Apr 2005
Posts: 3

PostPosted: Thu Apr 14, 2005 4:13 pm    Post subject: Reply with quote

k1ll3rdr4g0n wrote:
Are you able to use $HTTP_COOKIE_VARS at all?

Using this code ...
Quote:
<?php
print_r($HTTP_COOKIE_VARS);
echo "-";
print_r($_COOKIE);
?>

... I found out only $_COOKIE can be used to access the cookie variables.
Back to top View user's profile Send private message
roganty
-


Joined: 08 Jun 2004
Posts: 357
Location: Bristol, UK

PostPosted: Thu Apr 14, 2005 4:34 pm    Post subject: Reply with quote

i believe that the problem you have encountered is something to do with the version of php you are using.
what php version are you using anyway?
_________________
Anthony R

Roganty
| Links-Links.co.uk
Back to top View user's profile Send private message Visit poster's website
nolko
-


Joined: 14 Apr 2005
Posts: 3

PostPosted: Thu Apr 14, 2005 4:45 pm    Post subject: Reply with quote

roganty wrote:
i believe that the problem you have encountered is something to do with the version of php you are using.
what php version are you using anyway?

Version 5.0.4.

http://nl2.php.net/reserved.variables:
Quote:
As of PHP 5.0.0, the long PHP predefined variable arrays may be disabled with the register_long_arrays directive.

I've changed register_long_arrays to On, and the script works now. Thanks for pointing at the PHP version!
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Thu Apr 14, 2005 4:46 pm    Post subject: Reply with quote

I have successfully gotten phpAdsNew to work on Abyss and im able to login
and everything , make sure that Register Globals is On. Also the new version
of PHP v5 is no longer compaptible with some PHP v4 scripts. LateR!

Sincerely , TRUSTpunk
Back to top View user's profile Send private message Visit poster's website
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