You are not logged in.
Pages: 1
Hey ukweb, searching is your friend!
- Most of the time!
Try this thread: http://xinha.gogo.co.nz/punbb/viewtopic.php?id=116
Cheers!
Well, Still toubleshooting this silly error. And I have a few more hints towards the problem, but can not yet isolate the issue.
First, if I call the page with Xinha running in it directly it works fine in all browsers; like this: http://www.ecorey.com/pagekeeper/pagekeeper4.php even if I proload it with some data from my database like this: http://ecorey.com/pagekeeper/pagekeeper … ction=edit
But the moment I try to load the exact same page in a frame, in Internet Explorer, it gives me an "Unspecified Error" Which you can see here: http://www.ecorey.com/pagekeeper/
The thing I notice is that it stops also, the area next to path which usually says something like path >>body >>form#editors_here is blank. It's as if it doesn't tell the system where it's at or that it finished loading, most likely it didn't finish loading.
If anyone can peak at this and give me a hint what I did wrong, my quess is I just did something stupid, but I've looked, looked, and relooked.
Thanks,
A bit off topic, but ukweb, what did you actually do to fix your problem. Explaining might help another.
Cheers!!!
Yes, sure, and thank you for looking. Keep in mind this is an IE error, as I mentioned somewhere else I don't get the problems with other browsers.
http://www.ecorey.com/pagekeeper/
The think to note is that if you click the link on the left that says "start_page(1)" if fails but if you right click it and open it in a new window it works fine.
I'm Corey by the way. I wish I knew more javascript, but if you ever need some php help you let me know.
Thanks
I don't get the problem in firefox just IE, and I'm not asking to see your config files, just the way you implemented the frames. The Newbie guide doesn't do frames, but there must be a relationship to frames and the problem, maybe I need some extra tag, or something silly.
It was just a thought, keep in mind, the config works, so I got past the newbie guide, I'm just trying to understand why I get a javascript error when loading the editor in a framed page.
The error is coming from htmlarea.js, when viewed in Internet Explorer.
Thanks, I did use the newbie-guide to implement xinha, but I didn't find anything to troubleshoot the unspecified error. All I know is it works perfectly without frames, and errors with them. Doesn't make a lot of sense.
I don't guess you'd let me look at your implementation to see if I missed something? If I could just get it to give me a more detailed error that would help, lol.
Thanks though for responding so quickly. I'm sure it works great with frames as that seems the most logical implementation, but something is going on, I just want to figure it out.
Cheers,
con4mity
Hello world!
I'm trying to replace an old HtmlArea system with Xinha. I had it running in side a frame, where one frame was dynamically pulled to list the pages that could be edited and the other showed the page inside xinha so you could edit it.
Well, with htmlarea it worked okay, of course it didn't have nearly as many nice features. So I replaced it, and got it working to some extent, but now when the frame loads I get the following error:
Line: 3847
Char: 5
Error: Unspecified error.
Code: 0
Url: http://pagewithXinhatextarea.com
Now I only get this error and associated problems when I call it inside a frame, if I call it directly in it's own page the problem doesn't occur.
If the Line # is correct this points to a function in htmlarea.js called: HTMLArea.prototype._createRange = function(sel)
Can anyone give me some clues as to what might actually be wrong? Or if someone has a sample of how they have it working in frames maybe I could peak at that and see what've goofed up?
Thanks in advance!
con4mity
akaEdge, thanks that helped me. Now my frame issue and the "unspecified error" is still on going but i take it you want that not in this thread. Sorry mate!
adamp, sorry dude, not what I meant. I didn't mean I doubt you have a windows server because UK has none, I meant doubt you're using windows with open source software, since open source is so much bigger in the UK.
Turns out I was wrong. I expected linux not unix.
ukweb - your page says Permission denied when scripts run. Now, I'm no unix guru, but if you're setting file permissions to fix a user problem, maybe this is wrong.
Under what account does your content pages run when viewed via the webserver? Mine run as the owner account of the site being viewed. for example: /home/con4mity/htdocs/"contentfiles" run under the con4mity account. <-- I'm just making this up.
The point is maybe that account also has to have some kind or ownership, or special permission to your script folder.
Sorry I'm not more help.
How do I change the textarea background?
I know it's a pagestyle somewhere, but where do I put this?
If someone would kindly tell me in detali, I need my background to be black, as that is the color of the page they are editing.
It's hard for me to know, I don't know how you're setup but what account is used when pages are viewed on the webserver, make sure that account has permissions to the script directory.
well, good question, you said earlier that the files are on one subdomain, and the editor another, are these different servers?
Because it seems that the files haven't given the webserver, or owner of the webserver files permission to use them.
Well, its obviously a permissions problem, lol.
Is this a windows server? Seems unlikely since you're in the UK, but thought I'd ask, also I think the editor url is supposed to be a path not a url, though I could be wrong.
I'd check the permissions on the language file.
I tried but public/public doesn't seem to work.
By the way do you know where pageStyles go? I need to figure out how to make my text area background black? Lol
I know sounds stupid, and you'd think it was easy, but no no seems to know how.
ukweb is this somewhere that we can see? Are you using absolute paths for editor_url, htmlarea.js, and so forth?
Where do you put xinha_config.pageStyle = 'h1 { font-family: verdana,sans-serif; font-size: 12px; }'; for it to effect the textarea in use.
Does this go in the config.js of the editor your using, in the htmlarea.js, where?
Where do I find pagestyle-rules?
Where are they defined?
Sorry I'm new.
I looked but pagestyle doesn't show up except for as a variable in htmlarea.js
Is this something that goes in the CSS, or myconfig.js
I found .htmlarea iframe class in the defualt htmlarea.css but this doesn't seem like what you mean, or you would have said that right?
Thanks for your assistance.
And one other question, sorry, where is the background color defined for text area. I've tried just adding background="#000000" and also with a CSS, but it shows up white. Is it in one of the scripts elsewhere?
Thanks,
corey
Okay, I'm on to something here. I think, somehow the error is related to using the page inside a frame, but I'm not sure what is causing it. When I load the page directly, no error, when I call it in a frame, I get the error.
Can anyone help me with this, it's really dumb.
I didn't notice that comma, but removing it didn't clarify my problem any further. I'm waiting for you newbie file I guess maybe there's something else I did wrong. What's odd is the system works, I just get that stupid error anyway.
Hey man thanks for the response. I followed the newbie guide almost to the "T" the exception being my area is called mybody;
xinha_editors = xinha_editors ? xinha_editors :
[
'mybody',
];
I'm using the nightly version, it's a whole new page that I created from the newbie guide and doesn't have any old stuff on it.
I'm loading modules as prescribed in the newbie guide, and they seem to work. I get the error, after xinha loads, but it appears to actually look correct, though it's obviously not completely working.
I looked in the htmlarea.js in the 3847 line area, but it seems to be a prototype for IE function and I doubt that's related.
My textarea is in a php page, don't know if that relates, and I fill the area from a mysql database, but that all seems to work okay. So.. I'm not sure what is going on. I get the same problem when I just load an empyt xinha area.
Thanks,
Corey
Doubt this it the correct place for this question but since I'm a xinha newb it seemed appropriate. I've been using the old HTMLArea for a couple of years, on my website to make it easy to edit pages, duh right? ![]()
Any hoot, found xinha and thought I give it a roll. All seemed easy enough, except that while it appears to load around my textarea, I get a js error:
Line: 3847
Char: 5
Error: Unspecified error.
Code: 0
Url: http://theurl
Can anyone give me some clues as to what might actually be wrong?
Thanks,
con4mity
Pages: 1