I am getting a very unusual error, most of the time I can fix this The page isn’t redirecting properly
very quickly as it's either something messed up with htaccess
or in php script
but I have looked for hours and can't find the single problem.
The page loads once with broken css and javascript files, and takes a long time to load but after that this error starts to appear and it'll only fade away when you clear the browsers cache then again the website loads for one time only before showing this error.
Some details
- .htaccess file is blank
- I tried loading just the welcome module only but the problem remains same.
- The server has been updated so I am wondering if this may have caused this problem.
I hope you guys can help me figure out why my website is on redirection loop, I can feel it's something related with cookies but I am not sure what.
File Structure
- application
- cgi-bin
- cronjobs
- system
- images
- system
- .htacess
- index.php
- test.php
Edit:
Website works flawlessly on localhost.