Hi,
I've just installed S9Y to replace Wordpress as my blogging software. So far, all has gone well, and the import was very smooth, so thanks to the developers for that.
My problem is that if there is any HTML in any entry I try to pubish or save, I get unceremoniously dumped at the front page of my blog and the entry is left unchanged. The problem occurs even if I open an old entry with HTML, say a link with <a> tags, and don't edit it in any way, and click the save button.
I've played about a bit further, because I wondered if something was crashing out due to special characters or something, but I can put either < or > in an entry and things are fine. I say either, because if I put < followed by > with any amount of text in between the two, the problem occurs. Conversely, the problem does not occur if I put nothing between the two i.e. <>.
I don't think it's a database thing, as I have put together little test scripts in php to input html tags into database records and the database is altered accordingly and everything returns OK.
It appears to be something in S9Y that is freaking out about there being html - or even apparent html i.e. < > - in entries.
The problem occurs in both IE and Firefox.
I am using S9Y 1.1.3 on a web host using PHP 4.4.6 with MySQL 4.1.22.
Thanks for any help that anyone can give.
Problem with HTML tags in entries
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Problem with HTML tags in entries
Hi!
I first wanted to write this:
The problem that you end up on the frontpage instead in your admin page can happen, if cookies are not properly passed back and forth from your server.
Technically, the page that saves/previews an entry uses an iframe. Can you make sure that the URL you use to access your s9y installation is exactly the same like you entered in the s9y configuration?
And please try this: Logout of your admin backend, relogin to your backend and make sure you do NOT check the option "remember me". Then try to go around in the admin suite by clicking on any link. If you are then sent back to the admin interface, it means your server's PHP sessions are not correctly working. We can try to fix that, in this case.
... BUT: After reading, I stumbled across an older forum entry, where someone was using "mod_security" PHP module which would block a HTTP request if special HTML markup was detected. Can you check if your server is running this module?
Else, which s9y event plugins are you using? Some of them might transform HTML cases in a special way that might make your server puke?
HTH,
Garvin[/list]
I first wanted to write this:
The problem that you end up on the frontpage instead in your admin page can happen, if cookies are not properly passed back and forth from your server.
Technically, the page that saves/previews an entry uses an iframe. Can you make sure that the URL you use to access your s9y installation is exactly the same like you entered in the s9y configuration?
And please try this: Logout of your admin backend, relogin to your backend and make sure you do NOT check the option "remember me". Then try to go around in the admin suite by clicking on any link. If you are then sent back to the admin interface, it means your server's PHP sessions are not correctly working. We can try to fix that, in this case.
... BUT: After reading, I stumbled across an older forum entry, where someone was using "mod_security" PHP module which would block a HTTP request if special HTML markup was detected. Can you check if your server is running this module?
Else, which s9y event plugins are you using? Some of them might transform HTML cases in a special way that might make your server puke?
HTH,
Garvin[/list]
# 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/