Hi everyone,
I am new here at this forum. I just installed Serendipity, after having some errors. I fixed most of them, but one. Installed in windows 2003, with php 5.0 and mysql 5.0 with open ssl enabled. Everything seems to work fine axcept when I tried to modify and save something in the admin control panels, I got this error,
"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."
Could someone please give a hint for what I have done wrong? Thank you very much any help.
One more question. Do I need to install ImageMagick even I have "php_gd2.dll" enable and working properly? I did install the ImageMagick binary version, but it did seem to recognize the path during the Serendipity installation. Any ideas? Thanks
Cheers,
TNT
Error when saving in admin panels
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Error when saving in admin panels
Hi!
Which browser are you using? This error message can happen if:
1. Your PHP sessions are not working. Check if the php.session.save_path is alright and files are written. Check if php's php.use_cookies is activated.
2. Your browser is rejecting cookies, maybe because of a blocker
3. You use different hostnames to access your blog (http://192.168... vs. http://localhost, or something like that)
4. You use a proxy that changes the HTTP Referer string, or your browser clears the HTTP referer string.
Regards,
Garvin
Which browser are you using? This error message can happen if:
1. Your PHP sessions are not working. Check if the php.session.save_path is alright and files are written. Check if php's php.use_cookies is activated.
2. Your browser is rejecting cookies, maybe because of a blocker
3. You use different hostnames to access your blog (http://192.168... vs. http://localhost, or something like that)
4. You use a proxy that changes the HTTP Referer string, or your browser clears the HTTP referer string.
Nope, only either gd or imagemagick is needed. if you already have GD, that is usually the better choice, except you want PDF thumbnails, then only imagemagick does the trick.One more question. Do I need to install ImageMagick even I have "php_gd2.dll" enable and working properly? I did install the ImageMagick binary version, but it did seem to recognize the path during the Serendipity installation. Any ideas? Thanks
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hi everyone - I'm new to Serendipity and this forum, and I'm having precisely the same problem. I have zero php experience, so my questions might be indicative of a failure to understand the basics; my apologies in advance for the stupid questions.garvinhicking wrote:1. Your PHP sessions are not working. Check if the php.session.save_path is alright and files are written. Check if php's php.use_cookies is activated.
2. Your browser is rejecting cookies, maybe because of a blocker
3. You use different hostnames to access your blog (http://192.168... vs. http://localhost, or something like that)
4. You use a proxy that changes the HTTP Referer string, or your browser clears the HTTP referer string.
In any case, where are the php.session.save_path and php.use_cookies (settings, files, something else?) so that I may check them? I'm 99.9% the other causes mentioned here cannot be responsible for the error.
This will illustrate my inexperience/ignorance, but I have no idea what this is. Fixing this may be as simple as pointing me to the right place.I fixed that in php.ini file.
Thanks - any help would be appreciated!
EDIT: I found the php.ini file and session.save_path was commented out - I put it into the code and this fixed the problem immediately. Thanks for the help, and sorry for the unnecessary post!
I too am experiencing this issue...
I believe the reason is that I'm not using localhost for the db. I've checked and use.cookies is on. Anything that someone can suggest to fix this?
Update: I tried logging in without the remember me checked, and it kicked me out after trying to navigate around. Is this definitely a php session configuration issue? I'm on a shared host, what should I tell them to fix?
Update: I tried logging in without the remember me checked, and it kicked me out after trying to navigate around. Is this definitely a php session configuration issue? I'm on a shared host, what should I tell them to fix?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: I too am experiencing this issue...
Hi psiege!
What are you talking about exactly? Did you reply to the wrong thread?
Please tell us your complete history so that we can see what your problem is.
Regards,
Garvin
What are you talking about exactly? Did you reply to the wrong thread?
Please tell us your complete history so that we can see what your problem is.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
While the issue is related, it does appear that I replied to the wrong thread. Ugh.
I was receiving the HTTP referrer string error after first installing Serendipity. And, if I did not check remember me when logging in, it would kick me out after navigating away from the welcome page.
It turns out the server's session path was not valid, and now I'm good to go!
Thanks for responding, looks like there's great support here in the forums. I look forward to working with you all!
Thanks!
I was receiving the HTTP referrer string error after first installing Serendipity. And, if I did not check remember me when logging in, it would kick me out after navigating away from the welcome page.
It turns out the server's session path was not valid, and now I'm good to go!
Thanks for responding, looks like there's great support here in the forums. I look forward to working with you all!
Thanks!