Kay Smoljak wrote:
> When a dmHTML item gets too long, we're getting this error:
> WDDX packet parse error at line 1, column 64001. XML document structures
> must start and end within the same entity.
>
> The pages in question are actually not all that long, but they do have quite
> complex tables of info. We've already split the pages up about as much as
> possible.
> Does anyone know what the error actually is caused by? Is there a fix or
> workaround?

AJ's config change is the solution -- have to increase the size of
your datasource's buffer.

The reason it happens is a default restriction in the way the
datasource gateway works.  Essentially there is an upper limit on the
size of the statement sent to the driver.  You are hitting this
limit.  It's a very common issue with CF based content management
systems -- and probably other languages.

Wizards in FarCry are especially vulnerable because they store both
the original data structure and the changed data structure for the
life of the wizard.  This effectively means the size of the page is
"doubled" when editing.

Increasing the size of the limit allows more data through, and fixes
the problem.  Be careful about just making it some wild and
outlandishly high number because the allocated buffer size will impact
the drivers performance; larger the buffer the slower the driver. We
find 128k is a good rule of thumb.

Hope that helps,

geoff
http://www.daemon.com.au/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to