Posting entry redirects me to root of my website.

Found a bug? Tell us!!
Post Reply
julesd
Regular
Posts: 7
Joined: Mon Nov 19, 2007 10:37 am

Posting entry redirects me to root of my website.

Post by julesd »

Hi there...

I have been running s9y for a whilw now, but recently moved to a shared install. Now for some strange reason, whenever I try and post an entry with an image or an embedded tag in it, I get redirected to the root of my web site. I am using the standard WYSIWYG editor but I have tried (unsuccessfully) running TinyMCE in the past. I have since reinstalled s9y from scratch and migrated my database so i'm pretty sure it is not TinyMCE related...

Any ideas?

Thanks, Jules
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Posting entry redirects me to root of my website.

Post by garvinhicking »

Hi!

By using the shared install, how did you symlink your files? Do you have the serendipity_editor.js file in your shared vhost directory?

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/
julesd
Regular
Posts: 7
Joined: Mon Nov 19, 2007 10:37 am

Post by julesd »

ahhhh....

when i say shared, I may not be using the term in the way you mean. there are no vhosts. I have 1 true s9y install directory under /s9y/ and copies of the deployment dir under /username/ folders...

you could be bang on the money with the symlinks though, because I have no way of creating these and had forgetten (until now) that the documentation I read said I needed them. :( I havn't found a way to do this on the cpanel hosting I use.

but ok, on checking under my /username folders i do have a serendipity_editor.js file...

I can post ok if i just type text... it only breaks when i add a picture or embed an offsite control such as youtube.com

I am gonna go check through the docs again to see i have done everything right, so thanks for the pointer G...

J
julesd
Regular
Posts: 7
Joined: Mon Nov 19, 2007 10:37 am

Post by julesd »

ok... i checked....

I had followed http://www.s9y.org/41.html but without the extra server stuff i didn't need. I used the copy method for the directories, rather than links!

J
julesd
Regular
Posts: 7
Joined: Mon Nov 19, 2007 10:37 am

Post by julesd »

Additional info :-

It is *NOT* just the WYSIWYG editor as I thought... adding HTML in the standard non-WYSIWYG editor has the same problem.

J
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Hm, I don't really understand the poroblem, I think. Can you make a screenshot or show a URL of how it looks with the "problem"?

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/
julesd
Regular
Posts: 7
Joined: Mon Nov 19, 2007 10:37 am

Post by julesd »

sorry but screenshots are not going to help....

I do have more info though!!!

I have now figured it happens even if you just use BOLD or ITALICS tags... let me explain...

if i start a new entry,

http://mysite.com/username/serendipity_ ... ction]=new

if there is *ANY* tags in it and i hit "PREVIEW" or "SAVE" it sends me straight back to :-

http://mysite.com/


So now I can only think it must be a markup issue?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Please, either show your URL or screenshots. I can't help you otherwise.

What I'm currently thinking is that your server might have "mod_Security" enabled which blocks you out of HTML characters. Talk to your server provider, please.

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/
julesd
Regular
Posts: 7
Joined: Mon Nov 19, 2007 10:37 am

Post by julesd »

garvinhicking wrote:Hi!

Please, either show your URL or screenshots. I can't help you otherwise.

What I'm currently thinking is that your server might have "mod_Security" enabled which blocks you out of HTML characters. Talk to your server provider, please.

Regards,
Garvin
Wehay.... I contacted my server provider. They disabled "mod_security". Issue now resolved.

Thanks Garvin. You da man!
Post Reply