Page 1 of 1
invalid HTTP-Referrer string in new category
Posted: Sat Nov 15, 2008 4:56 pm
by cpsim
While trying to create a new category, I get:
Your browser did not sent a valid HTTP-Referrer string. This may have either been caused by a misconfigured browser/proxy or by a Cross Site Request Forgery (XSRF) aimed at you. The action you requested could not be completed.
1.3.1 serendipity
4.4.7 php
all greens on the diagnostic check during installation
What's wrong?
Re: invalid HTTP-Referrer string in new category
Posted: Mon Nov 17, 2008 1:06 pm
by garvinhicking
Hi!
Do you have cookies enabled? Make sure your browser or antivir software does not block those.
Does your PHP server have session.use_cookies enabled in PHP configuration and session.save-path point to a valid directory? Ask your provider if you don't know about this.
Does your browser properly send the HTTP referrer string? If you are using a PRoxy, make sure he relays the HTTP referrer.
Regards,
GArvin
Re: invalid HTTP-Referrer string in new category
Posted: Fri Jun 25, 2010 8:12 am
by niknah
This error appears maybe one out of every 5-10 times randomly when I use serendipity.
Another error is when after I make changes to a post and the little frame where it should say "view..." shows the front admin page instead.
This has happened to me on different computers linux, windows, opera, firefox, chrome.
Serendipity 1.5.3 and PHP 5.3.2, apache 2.2.15
Re: invalid HTTP-Referrer string in new category
Posted: Fri Jun 25, 2010 8:29 am
by garvinhicking
Hi!
This usually is a problem of missing cookies. Did you check what was poste earlier in this thread?
Regards,
Garvin
Re: invalid HTTP-Referrer string in new category
Posted: Fri Jun 25, 2010 2:13 pm
by niknah
Yes cookies are enabled, php's sessions folder is set. Not using a proxy.
If it wasn't I wouldn't be able to login at all, but it's only happening randomly.
The strange thing is that I can wonder around most of serendipity's admin section, the error only appears when I try to save something like a post or upload something.
Re: invalid HTTP-Referrer string in new category
Posted: Sun Jun 27, 2010 7:41 pm
by garvinhicking
Hi!
Are you able to use firefox' livehttpheader extension to check if your browser submits a fresh PHP session ID when posting, or if the previous session-cookie ID is used properly?
Regards,
GArvin