Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

Too many redirects error in all browsers.

redirects error

This topic has been archived. This means that you cannot reply to this topic.
No replies to this topic

#1 Kriss


    CC Regular

  • Member
  • PipPipPip
  • 30 posts

Posted 21 June 2017 - 11:51 AM



For the past few weeks I've gotten really interested in jquery, PHP and basically websites. So I started on a small project where there's a bio about me on the homepage.

Thats fine.


Next I added an administration panel 'template' that, I've tried to implement some sort of registration and login system (will remove registration later of course9.

I've added a cookie to remember if the user is logged in and mysql tables to save user accounts.


The issue starts here:

1) If we go to the root index.php, here: http://prntscr.com/fmk2i0

2) We're ready to log in, I'll grab my email and password from the mysql db. http://prntscr.com/fmk3bt & http://prntscr.com/fmk3w5 .

3) After clicking on Sign in, chrome is showing me this, I have also tried the same in firefox, IE and IEdge. http://prntscr.com/fmk4d3


I have a feeling that its the cookies that probably aren't set up properly. As I'm not feeling too safe in that area.

I'm feeling pretty confident and able to troubleshoot in MySQL. I have literally no clue if it has something to do with the cookies.

I'd be greatful if someone could assist me to solve this issue. 


One last thing you should know, I've been following this tutorial: http://www.codingcag...-php-mysql.html

I've attached the entire project to the post in case someone wants that. I don't mind sharing them if you want to take a look at the codes, but has anyone really been into this kinda thing before?

First time experiencing this, I'd be greatful for life :D



zip: https://www.dropbox....htdocs.zip?dl=0

7z: https://www.dropbox..../htdocs.7z?dl=0

Edited by Kriss, 21 June 2017 - 11:59 AM.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download