Zend Framework

Zend_Session errors if PHP magic quotes are turned on in a *nix environment

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: None
  • Fix Version/s: 1.8.2
  • Component/s: Zend_Session
  • Labels:
    None
  • Fix Version Priority:
    Should Have

Description

We found that there seems to be a bug in Zend_Session which causes Zend_Session to fail if PHP magic quotes are turned on in a *nix environment. The error that's reported is: Fatal error: Cannot use object of type Zend_Session_Namespace as array in C:\AppServ\www\httpdocs\library\Zend\Session\Abstract.php on line 159

Activity

Hide
Wil Sinclair added a comment -

Please categorize/fix as needed.

Show
Wil Sinclair added a comment - Please categorize/fix as needed.
Hide
Aldemar Bernal added a comment -

This also happens in *nix environment when register_globals is on

Show
Aldemar Bernal added a comment - This also happens in *nix environment when register_globals is on
Hide
Ralph Schindler added a comment -

Aside from magic_quotes and register_globals on being terrible ideas, Ill have a look into this to see whats triggering it.

within 2 weeks.

Show
Ralph Schindler added a comment - Aside from magic_quotes and register_globals on being terrible ideas, Ill have a look into this to see whats triggering it. within 2 weeks.
Hide
Ralph Schindler added a comment -

Cannot reproduce this, can you provide both the PHP version as well as the code snippet to demonstrate this usage? Reopen if you can reproduce.

Show
Ralph Schindler added a comment - Cannot reproduce this, can you provide both the PHP version as well as the code snippet to demonstrate this usage? Reopen if you can reproduce.

People

Vote (0)
Watch (0)

Dates

  • Due:
    Created:
    Updated:
    Resolved: