Closed Bug 337728 Opened 19 years ago Closed 19 years ago

Warning: session_set_save_handler(): Argument 6 is not a valid callback [gcSession]

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwkbugzilla, Assigned: jwkbugzilla)

Details

Attachments

(1 file)

I'm setting up a test environment for AMO and I get this warning: Warning: session_set_save_handler() [function.session-set-save-handler]: Argument 6 is not a valid callback in c:\test\mozilla\webtools\addons\public\inc\includes.php on line 71 It seems to complain about the parameter array(&$_auth, "_gcSession") - a search has shown that the method is actually called gcSession (without underscore). So either I'm misunderstanding something (which is possible, I don't know PHP) or this warning doesn't show up in older PHP versions, so that this problem has gone unnoticed.
Attached patch Trivial patchSplinter Review
Attachment #221823 - Flags: first-review?(morgamic)
Wil -- can you look at this?
Attachment #221823 - Flags: first-review?(morgamic) → first-review?(clouserw)
Assignee: nobody → clouserw
Comment on attachment 221823 [details] [diff] [review] Trivial patch gcSession() used to be a private method in the auth method and I forgot to switch this over after I made it public. Anyway, the patch is correct and in CVS. Thanks. :)
Attachment #221823 - Flags: first-review?(clouserw) → first-review+
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Assignee: clouserw → trev
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: