25 December 2007 at 4:02am
I don't know what's going on, but as of the past few days, my login page fails to redirect me to the CMS admin. When I go to:
it prompts me for the login/password, then says "Welcome back," but then nothing happens. I was concerned I wouldn't be able to get into the admin at all, but I did, by going to domain.com/admin directly. However, I was rather fond of the redirect and want it back!
The only changes I've made have been to the page templates, because I've been testing a new layout. Other than that everything's the same. Any ideas on what could have caused this?
25 December 2007 at 12:20pm
The latest development as of 5 mins ago is that now, even when I enter the correct login details, going straight to http://domain.com/admin gets me this:
The website server has not been able to respond to your request.
No 500, 404, or other indications of where this is coming from.
This is ODD. All I've been doing this past hour is the Data-object Relationships tutorial, and I see my new pages/objects correctly in the flush - which proves it's not that the website is down. I get the login pages and the flush just fine, but have NO ACCESS to the admin now. ?? HELP!!
25 December 2007 at 12:28pm
Ok, when in doubt, retrace your steps, right? I deleted the 3 changed files I'd been working with in the tutorial - Project.php, Student.php, and ProjectHolder.php. Ran a flush and deleted the cache, and the admin reappeared. Something in one of those files must have been causing an error, although I have no idea what it could have been...
5 January 2008 at 2:50pm
(Last edited: 5 January 2008 2:55pm),
Here is the error i get when switching on dev mode-
FATAL ERROR: DATABASE ERROR: Couldn't run query: SELECT `Post`.*, `Post`.ID, if(`Post`.ClassName,`Post`.ClassName,'Post') AS RecordClassName FROM `Post` INNER JOIN `Post` AS PostList ON PostList.TopicID = `Post`.TopicID WHERE (`Post`.ForumID = 14 and `Post`.ParentID = 0 and `Post`.Status = 'Moderated') GROUP BY `Post`.ID ORDER BY max(PostList.Created) DESC LIMIT 30 | Invalid use of group function
At line 397 in /home/silver/public_html/sapphire/core/model/Database.php
looks like a forum issue?
Unistalled Forum All works fine now
installed form again - broken again
so must be a forum issue, anyone else having this problem?