Debugging core.php?
Posted: Mon Oct 13, 2008 5:30 pm
Hi All;
I have a LAMP problem with PHP or rewrite rules in an application I've inherited. I would appreciate some suggestions about how to diagnose the problem. I'm getting:when I browse to the site and after spending some time in this forum http://forum.modrewrite.com/search.php? ... DaleEMoore I'm still not sure what the problem is. I've started littering the code with:type debugging statements but I hoped there might be a better approach. I get down toand am having some difficulty getting past this.
I would appreciate any thoughts you care to express,
Dale E. Moore
I have a LAMP problem with PHP or rewrite rules in an application I've inherited. I would appreciate some suggestions about how to diagnose the problem. I'm getting:
Code: Select all
Redirect Loop
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete.
* Have you disabled or blocked cookies required by this site?
* NOTE: If accepting the site's cookies does not resolve the problem, it is likely a server configuration issue and not your computer.
Code: Select all
$fh = fopen("logFile.txt", 'a') or die("can't open file");
fwrite($fh, date("Y-m-d H:i:s")." core.php running\n");
Code: Select all
$Application = & $site->Process(); // Process data and initialise Requested Application
I would appreciate any thoughts you care to express,
Dale E. Moore