php - After deleting/changing a specific CSS part ERR_TOO_MANY_REDIRECTS occurs -
a few days added overlaying gradient effect 1 of pages. wrote directly between 2 <style>
tags testing index.php
. wanted copy .css
file whenever delete or change following part file site not accessible anymore because of err_too_many_redirects error.
this ist part causing problem (notice: css works find. can't delete anymore source file without causing errors):
gradient { position:absolute; z-index:2; right:17px; bottom:25px; left:17px; height:125px; /* adjust needs */ background: url(data:image/svg+xml;base64,alotofcodehere); background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 70%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(70%,rgba(255,255,255,1))); background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 70%); background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 70%); background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 70%); background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 80%); }
what i've done far:
- deleted every browser data, manually several times now
- allowed third party cookies
- private mode
- read lot of different threads error
- restarted pc, apache, everything
but nothing works , i'm suspicious causes weird problem. tried access site machine chrome , edge. same issue. when copy css part shown above, works fine. console shows following:
could there -maybe- caching problem apache? i'm confused @ moment. never though css definition can affect site in way.
does have idea or keywords me? thank in advance!
edit:
update: i've made code not using sessions , cookies anymore didn't trick. it's css part still causes problem whereas have no idea how.
update: header(...)
caused problem. have write inside curly brackets:
if(isset($_post['requesttype']) && isset($_post['operatingsystem']) ) { saverequest(); } else if(isset($_post['requesttodelete'])) { deleterequest(); } else if(isset($_post['login'])) { login(); } header("location: index.php");
Comments
Post a Comment