Hi all again,
I am having a bit of an issue when creating entries. I can enter in a theme, and do all sorts of formatting, but when I either preview it or save it, all I get is the theme, nothing else. I've verified that the SQL tables are being udated for everything but content. I've also tried with the following browsers: IE, Mozilla, Konqueror and Lynx. IE and Mozilla (the two that support the HTMLArea editor) do the above, while Konqueror and Lynx acutally publish the content (obviously without any formatting as HTMLArea doesn't work with those two).
So, I fire up Mozilla 0.9.3 and view the JS console, and I get a number of things, but the most important seems to be when pressing the Preview or Save buttons:
Error: this.doc has no properties
Source File: http://localhost/phpmyfaq/admin/editor/htmlarea.js
Line: 1782
Here is what is around line 1782:
HTMLArea.prototype.getHTML = function() {
switch (this._editMode) {fullPage)
case "wysiwyg" :_doc.body.innerHTML = html;
if (!this.config.fullPage) {
return HTMLArea.getHTML(this.doc.body, false, this);
} else this._doc.body.innerHTML = html;
break; return this.doctype + "\n" + HTMLArea.getHTML(this._doc.documentElement, true, this);
case "textmode" : return this._textArea.value; break;
default : alert("Mode <" + mode + "> not defined!");
}
return false;
};
This is using the most current version of phpMyFAQ with and without the update. My best guess is that htmlarea.js isn't passing the variable correctly and MySQL and therefore the content isn't appearing. Any thoughts?
Iann
Create Entry not displaying properly
Moderator: Thorsten
Hi,
I will test it! Thanks for your detailled bug report!
bye
Thorsten
I will test it! Thanks for your detailled bug report!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
I cannot verfiy this problem, it works for me with IE6 and Mozilla Firefox 0.9.3. I cannot reproduce your JavaScript errors in the JavaScript console with firefox.
bye
Thorsten
I cannot verfiy this problem, it works for me with IE6 and Mozilla Firefox 0.9.3. I cannot reproduce your JavaScript errors in the JavaScript console with firefox.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
please e-amil me, you can test it on my test machine.
bye
Thorsten
please e-amil me, you can test it on my test machine.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist