Main Menu

News:

Please be aware of the Forum Rules of Conduct.

Login from spell page bug

Started by Nathan, September 28, 2011, 03:19:02 PM

Previous topic - Next topic

Nathan

When I try to log in whilst viewing a spell (I was looking at this one), I get a few errors:

ErrorException [ Warning ]: Missing argument 1 for Info::view_spell()

ErrorException [ Notice ]: Undefined variable: id

ErrorException [ Notice ]: Undefined variable: id

An Error Was Encountered [ 500 ]

I've got the whole thing copied into a text file if you want me to send it to you.

Anaris

Yeah; when you log in from the spell-viewing page, it doesn't retain the spell ID, and the script has no fallback for a missing ID, so it just breaks.
Timothy Collett

"The only thing you can't trade for your heart's desire...is your heart." "You are what you do.  Choose again, and change." "One of these days, someone's gonna plug you, and you're going to die saying, 'What did I say? What did I say?'"  ~ Miles Naismith Vorkosigan

Tom


Nathan

Nope:

ErrorException [ Fatal Error ]: Unable to load the requested file: info/index.php

The debug text appeared in the middle of the page this time, with the banner, side links & login menu still visible.

Tom


Nathan

Takes me to the Introduction page, but I get the message: "You are not logged in or your session has expired. Please log in (again)."

Clicking "login" then lets me log in successfully.