so i just formatted my mac laptop, and i installed php5 and mysql. when i go into one of my sites on the local host i get this error
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
* This problem can sometimes be caused by disabling or refusing to accept cookies.
the first thing i did was make sure cookies are enabled....and they are. The "accept cookies from sites" is checked and keep until is set to "until they expire".
now when i try and target a file in the browser other than the index.php it give me a not found error with this
The requested URL /invisibledesign/oncco/php/index.php was not found on this server.
so somthing weird is going on here and i can't seem to figure it out, any help or suggestions will be greatly appreciated!
I've experienced your first error before, when I had mod_rewrite installed & was redirecting a page request endlessly.
As for your second error - you're probably just looking in the wrong place. In your browser, do an 'Open File..' to open the file. That might give you a different path than what you're expecting.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
When you get that error that means that you are using a redirect that redirects you to a page that redirects you back to the redirecting page. It is a crazy loop of bounces that Firefox picks up pretty quickly.
For me, I ran into this most often with login pages that take you to a landing page when logged in, or to a form when not. Check your use of header() redirects. I'd bet that is the culprit.
that was stupid of me, i had a login script and I had the function that checked to see if you were logged in, in the database connection file so it was on everypage LOL.