75 Posts in 23 Topics by 26 members
For posts regarding the website and anything else you feel the other forums don't seem to cover.
| Page: 1 | Go to End | |
| Author | Topic: Database errors | 699 Views |
19 February 2009 at 10:25pm
Hi!
First, thank you very much for setting up whatisthe2gs.apple2.org.za! It is the only resource on the web I've found which has Apple IIGS disk images and reviews. I've recently set up an Apple IIGS that I got from a thrift store (50 cents!) and I don't think I'd have gotten far without this site.
I have noticed a database problem with the web pages. Occasionally when using the this site I'll be presented with a database error that goes away when I reload. For example, when trying to load this URL:
[url]http://www.whatisthe2gs.apple2.org.za/role-playing-games[/url]
I received this error message:
[code][color=red]
'Security', 'db/$Action' => 'DatabaseAdmin', '$Controller/$Action/$ID/$OtherID' => '*', 'images/$Action/$Class/$ID/$Field' => 'Image_Uploader', '' => 'RootURLController', 'sitemap.xml' => 'GoogleSitemap' )); Director::addRules(1, array( '$URLSegment/$Action/$ID/$OtherID' => 'ModelAsController', )); // Load error handlers Debug::loadErrorHandlers(); // Connect to database require_once("core/model/DB.php"); if(isset($_GET['debug_profile'])) Profiler::mark('DB::connect'); DB::connect($databaseConfig); if(isset($_GET['debug_profile'])) Profiler::unmark('DB::connect'); // Get the request URL $baseURL = dirname(dirname($_SERVER['SCRIPT_NAME'])); if(substr($url,0,strlen($baseURL)) == $baseURL) $url = substr($url,strlen($baseURL)); // Direct away - this is the "main" function, that hands control to the appropriate controller if(isset($_GET['debug_profile'])) Profiler::unmark('main.php init'); Director::direct($url); if(isset($_GET['debug_profile'])) { Profiler::unmark('all_execution'); Profiler::show(isset($_GET['profile_trace'])); } ?>
[/color][/code]
Non-issues: This probably does not matter, but I happen to be using Firefox 3 with the user agent set to "[url="http://en.wikipedia.org/wiki/Naming_conflict_between_Debian_and_Mozilla"]Iceweasel[/url]" (for copyright reasons). Also, although I use the [url="http://noscript.net/"]noscript[/url] extension for security, I do allow Javascript from apple2.org.za.
--b9
Last edited: 19 February 2009 at 10:28pm
20 February 2009 at 12:32am
Unfortunately, we haven't been able to find the cause of this error message bug. It may be that the site will need to be hosted elsewhere, but not in the immediate future.
Whenever the error rears its ugly head, simply reload the page until it loads correctly.
| 699 Views | ||
| Go to Top |
There is nobody online.
Welcome to our latest member: cbee