BattleMaster Community

Toms Other Games => SpellMaster III => SM General Discussion => Topic started by: Nathan on September 28, 2011, 03:19:02 PM

Title: Login from spell page bug
Post by: Nathan on September 28, 2011, 03:19:02 PM
When I try to log in whilst viewing a spell (I was looking at this one (http://lemuria.org/SM3/info/view_spell/302)), 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.
Title: Re: Login from spell page bug
Post by: Anaris on September 28, 2011, 03:32:58 PM
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.
Title: Re: Login from spell page bug
Post by: Tom on September 28, 2011, 04:14:26 PM
try now

Title: Re: Login from spell page bug
Post by: Nathan on September 28, 2011, 05:28:17 PM
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.
Title: Re: Login from spell page bug
Post by: Tom on September 28, 2011, 06:02:45 PM
aargh, wrong redirect. Now.

Title: Re: Login from spell page bug
Post by: Nathan on September 28, 2011, 06:08:43 PM
Takes me to the Introduction  (http://lemuria.org/SM3/welcome/index)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.