Open GoogleCodeExporter opened 9 years ago
The session related issue with PHP5 has been fixed in a recent commit to
repository
and should be reflected in the new release.
Work has begun on php5 adoption. Please keep those issues coming.
-thanks
Original comment by nasa42@gmail.com
on 15 Jun 2008 at 9:04
Thank you for your answer.
Since I am not a php developer, let me tell you what I have seen in my server.
Inserting diferents "print $variable" in diferents locations, I saw that
get_parameter function in common.php didn't get the values from the login
formulary.
After looking for in php documentation I changed $HTTP_POST_VARS and
$HTTP_GET_VARS
with $_POST and $_GET. After that I saw it worked fine getting username and
password.
Another problem was with set_session function, also in common.php. I have read
in
php documentation not to use session_is_registered function if $_SESSION
variable is
used. It was recommended to use isset($_SESSION) insted of
session_is_registered. So I changed:
___________________________________________
if (!isset($_SESSION)) {
start_session();
print "Error de session";
exit;
};
$_SESSION['$param_name']=$param_value;
print $param_name . " = " . $_SESSION['$param_name'];
}
_______________________________________
And that's all I have probed. Exit never is executed. The last print shows that
it
works fine. Another print like that in login.php shows that all the variables
are
correctly setted. But when redirect ocurrs to admin_main_menu.php or similar,
all
setted variables are lost, although isset($_SESSION) returns true.
Of course I am working with swifttide.108b.tar.
-Sorry if my english is not good and my php is even worst.
Original comment by jose...@gmail.com
on 17 Jun 2008 at 8:55
Issues related to session and POST/GET requests have already been fixed in
repository.
Thanks for your response.
-Cheers brother, my English too is not good. ;)
Original comment by nasa42@gmail.com
on 19 Jun 2008 at 10:32
hello all,
I am working with swifttide 108b and also can't login after installation and
was wondering if the solution to this problem will be found here in what I read.
Do I use d suggestions made by editing common.ph and other files? Will it work
with the latest version of wamp? If anyone can help by posting here or sending
me the already edited file to eyekay234@gmail.com will really appreciate it as
requests for help on this issue haven't been answered.
Thanks
Original comment by eyekay...@gmail.com
on 10 Feb 2010 at 12:48
Original issue reported on code.google.com by
jose...@gmail.com
on 13 Jun 2008 at 6:21