Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
Archive
SilverStripe Forums » Archive » Strange intermittant problem
Our old forums are still available as a read-only archive.
|
Page:
1
|
Go to End | |
| Author | Topic: Strange intermittant problem | 491 Views |
-
Strange intermittant problem

21 July 2008 at 4:18pm
Hi there - hopefully someone can help or at least put me on the right path with this -
I am running the latest version of SS, and am getting this problem intermittantly - on full page requests, and ajax calls, where the output is the following:
''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'])); } ?>'
Which seems to be straight out of main.php, from line 20 onwards (or thereabout).Has anyone seen this type of issue before?
Cheers,
Rane
-
Re: Strange intermittant problem

23 July 2008 at 12:35pm
Actually, it's more like line 125...
Anyone seen this before? Could it be session related, seeing as it works fine for a time then everyso often I will get this error?
| 491 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: xterso, Talby, _Vince
Welcome to our latest member: AlfonsoGrondo

