HTML is not displayed

A place for users and developers of the Xataface to discuss and receive support.

HTML is not displayed

Postby brokenclock » Tue Sep 30, 2008 7:39 am

Hi all,

I'm new to xataface, so do not hesitate to kick me if I wrote stupid things.
New, but enthousiastic.

So, here is the point: I've just install xataface-1.0-beta-3 on my Apache FC9 server, and thing seems to be fine.
So I go in my application directory to customize the page, and in particular to display an html area. And then I was not able to display anything at the place I expect to see the html editor, both in firefox 3, 2, Konqueror and IE6...
When I look in the JS Console from FF3, I get 8 errors that I copy below:
Permission denied to set property Window.FCK_STATUS_NOTLOADED
http://192.168.0.1/journalcommunal/trun ... e_gecko.js, Line 25
FCKConfig is undefined
http://192.168.0.1/journalcommunal/trun ... kconfig.js, Line 27
FCKBrowserInfo is undefined
http://192.168.0.1/journalcommunal/trun ... ar=Default, Line 183
FCKConfig is undefined
http://192.168.0.1/journalcommunal/trun ... e_gecko.js, Line 33
FCK is undefined
http://192.168.0.1/journalcommunal/trun ... e_gecko.js, Line 106
FCKLang is not defined
http://192.168.0.1/journalcommunal/trun ... ar=Default, Line 117
Permission denied to get property Window.FCKeditorAPI
http://192.168.0.1/journalcommunal/trun ... e_gecko.js, Line 38
Permission denied to set property Window.FCK_STATUS_NOTLOADED
http://192.168.0.1/journalcommunal/trun ... e_gecko.js, Line 25

I also get many warnings about css, but I think it has nothing to do with the problem.

Can anyone tell me how to make this html area work?

Thanks and best regards,

BrokenClock
brokenclock
 
Posts: 12
Joined: Tue Sep 30, 2008 7:16 am

Postby shannah » Tue Sep 30, 2008 9:35 pm

This is due to a javascript permissions issue. FCKEditor must be loaded from the same domain as the application.

You can fix this by modifying the second argument of your df_init() function call in your index.php file so that either it uses a relative URL (i.e. don't specify the domain), or the domain is the same as the one that will be used to access the application.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Many thanks!

Postby brokenclock » Tue Sep 30, 2008 11:57 pm

Thanks, Steve, for this quick answer.

Best regards.
brokenclock
 
Posts: 12
Joined: Tue Sep 30, 2008 7:16 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 30 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved