On Thu, Oct 25, 2001 at 03:21:50PM +0100, Buster Gooding wrote:
> We've just run repligard to load Nadmin.
> 
> On trying to run Nadmin, though, we're hitting errors like the following if, 
> 
> say, we edit the example site:
> 
> "Parse error: parse error in snippet:///hklc_adminsite_host/argv0/edit/edit 
> on line 758"
> 
> The PHP source is displayed on screen, and at the bottom of the screen you 
> can see that the source suddenly stops, its obviously incomplete.
> Looking at the relevant MySQL record through phpMyAdmin shows that the 
> snippet record does stop there.
> 
> On digging deeper, I find that in the Snippet table there are 16 records 
> which are exactly 32768 characters long (ie 2 ^ 15). There are also 2 
> records in the Element table which stop short at exactly 32768 as well.
> 
> However, the datatype of the relevant fields (ie snippet.code and 
> element.value) is longtext, which can take up to 2 ^ 32 characters (AFAIK).
> 
> So I tried using phpMyAdmin to insert a new record into the snippet table, 
> where the length of the code field was over 130K characters. It accepted 
> this without complaint.
> 
> So... it looks like something is going wrong with the repligard load?
> 
> The file we're using to load NAdmin is nadmin_core_141.xmlgz
Never experienced such a problem. There is nothing in Repligard or Midgard
themselves which can limit amount of data transferred from XML file to
a database. Can you provide more details about your environment including
MySQL version and so on?


-- 
/ Alexander Bokovoy
$ cat /proc/identity >~/.signature
  `Senior software developer and analyst for SaM-Solutions Ltd.`
---
Adults die young.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to