O.K.: you are not getting a blank page, but no content for the editing area
The warning you get could very well be the cause of your: not getting the
content for edit problem.
Timestamp: 03/22/2013 08:49:03 AM
Warning: A form was submitted in the windows-1252 encoding which cannot encode
all Unicode characters, so user input may get corrupted. To avoid this problem,
the page should be changed so that the form is submitted in the UTF-8 encoding
either by changing the encoding of the page itself to UTF-8 or by specifying
accept-charset=utf-8 on the form element.
Source File:
www.3111skyline.com/egroupware/index.php?menuaction=phpbrain.uikb.view_article&art_id=37
Line: 0
Ahah! I think we have the error identified, now – why is this happening??
Recall I have 2 egw installs: a) 3111skyline.com; b) rlfpllc.com. Site a)
has the problem, site b) does not. Accessing the kb on site b) I do NOT get
the windows-1252/UTF-8 Warning. This error is unique to site a). The question
becomes – what controls that warning?? Both servers are running Archlinux,
same config, same php, mysql, etc… So what gives??
The svnversion for site a) is:
10:07 nirvana:/srv/http/htdocs/egroupware> svnversion
33289:42037
The svnversion for site b) is:
10:07 phoenix:/srv/http/htdocs/egroupware> svnversion
37613:41685M
However, I don’t thinks this is svn version related. I have also compared
the php.ini configs and they are virtually identical.
you can check if the content is available by adding
error_log(METHOD.LINE.$content);
just before line 1366 in uikb.
The output will/should show in webservers error_log
where is uikb???
phoenix:/srv/http/htdocs/egroupware> find . -name uikb
If the content is missing there, we have to look before that point
But I guess, the problem is located by passing the content to the fckeditor,
who is somehow stumbling over the content.
Question: If you copy the content visible into a new kb-page. save it, and try to reopen it.
What happens?
Could this be some change in your webservers config?
Could you step back via svn update until it is back to function as desired?
WAIT!!! Something is fcked up here. If I COPY the content of the article into
a new article, I still CANNOT re-edit that article. Huh??
Take a look at these screenshots:
c) http://www.3111skyline.com/dl/bugs/egw/kb-article-copy-view.jpg
d) http://www.3111skyline.com/dl/bugs/egw/kb-article-copy-edit.jpg
Above, the text from the original article (
http://www.3111skyline.com/dl/bugs/egw/kb-article-view.jpg ) was copied into a
new article © above and Saved. I then attempted to re-edit the new article
and it failed (d) above. That makes NO sense to me. Could there be some
character in the text that is not shown that is causing the failure??? I have
had these egw installs since 1.0.0, so if there was every a character encoding
change, that may explain where the character problem is. But that still
doesn’t really make any sense!!!
I copied the text by simply selecting the text in ‘view’ mode and then used a
’middle-mouse-paste’ into the new article – so only the text was copied.
However, FF does attempt to copy the html formatting, so a html formatting
code may be the problem.
NEXT TEST - COPY INTO TEXT EDITOR THEN PASTE INTO 3RD NEW ARTICLE:
e) http://www.3111skyline.com/dl/bugs/egw/kb-article-copy2-view.jpg
f) http://www.3111skyline.com/dl/bugs/egw/kb-article-copy2-edit.jpg
IT WORKED !!! That makes no sense. The only way I can see this happening is
that there is some html tag that is causing fckeditor to choke. The damaging
part of this is that the only way the tag would have gotten into the articles
originally was if it was put there by the kb formatting. So it looks like
there may be some tag that was deprecated and then removed from fckeditor that
is now causing the current egw/kb/fckeditor to fail. If this is the case, then
all earlier articles that contain this tag will cause egw/kb to fail in the
way I’m seeing.
THIS ALSO APPEARS TO BE LIMITED TO THE NEW svnversion of egw.
I just permed the same test pasting the information into my 2nd egw install
( site b) ) above and I CAN re-edit the article even though it contains the
same information that caused the failure shown in d) above.
What a mess - what do you suggest next Klaus – I’m lost
–
David C. Rankin, J.D.,P.E.
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers