Page 1 of 1
Next bug Found...
Posted: Sat 10. Apr 2010, 20:27
by dellos
Hello, I found some bug and need some help. I'm adding to my WebPage, the tax act's. And they are Quite long. But after saving the text I found, that on website is shown not all text! Like during the saving the text is cutt in some part. And how long are the text's ?? Here is example:
http://www.gofin.pl/nowe_okno.php?id_te ... mo=613&i=0
Re: Next bug Found...
Posted: Sat 10. Apr 2010, 20:58
by update
Yeah! The whole world on one single page! This seems to be the wrong way....
Re: Next bug Found...
Posted: Sat 10. Apr 2010, 21:05
by dellos
Why ?? Usualy on websites the act's are on one page, If you are reading / looking thru the text You want to find all You want and all act numbers. So is there some way to repair this bug ??
Re: Next bug Found...
Posted: Sat 10. Apr 2010, 22:34
by flip-flop
I have tested a wysiwyg CP with your text.
It is running well. But there is a long time to save the text into the db.
If you have small php resources on your server it do´t run (max. execution time and ram).
Knut
Re: Next bug Found...
Posted: Sat 10. Apr 2010, 22:54
by dellos
Did You saved the article in WysWig and whole article saved ok ??
Re: Next bug Found...
Posted: Sun 11. Apr 2010, 00:01
by flip-flop
Yes it is.
I can see the last line in frontend:
1) Niniejsza ustawa dokonuje w zakresie .....
Re: Next bug Found...
Posted: Sun 11. Apr 2010, 10:56
by dellos
So why I can't add it ??
Re: Next bug Found...
Posted: Sun 11. Apr 2010, 13:37
by flip-flop
A sorry, I have stored the text into a db where the column "acontent_html" in table "phpwcms_articlecontent" has the Datetype "MEDIUMTEXT".
Default the columns "acontent_html" and "acontent_text" have the Datetype "TEXT".
TEXT: max. 65.535 characters
MEDIUMTEXT: max. 16.777.215 characters
Your text has a lenght around 470.000 characters
Two solutions:
1. Cut the text and put it down in several CPs.
2. Change your Datetype of the columns in db:
For wysiwyg text:
Code: Select all
ALTER TABLE `phpwcms_articlecontent` CHANGE COLUMN `acontent_html` `acontent_html` MEDIUMTEXT NOT NULL AFTER `acontent_redirect`;
For plain text:
Code: Select all
ALTER TABLE `phpwcms_articlecontent` CHANGE COLUMN `acontent_text` `acontent_text` MEDIUMTEXT NOT NULL AFTER `acontent_title`;
I think it slows down your db performance a little bit.
Knut
Re: Next bug Found...
Posted: Sun 11. Apr 2010, 16:52
by dellos
So I will I'm going to cut the article in to fiew pices
thanx