Re: Re: [Config] XML Parsing Serious Issues
| From: | Thorsten Suckow-Homberg | Date: | Fri, 19 Dec 2003 13:09:29 +0000 |
| Subject: | Re: Re: [Config] XML Parsing Serious Issues | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9717@lists.php.net to get a copy of this message | ||
Worked on the file a bit...sorry, I did put a comment-line into
Config/Container.php,
so here is the error-output (simply -1 every line):
Warning: Cannot use a scalar value as an array in
/var/www/PEAR/Config/Container.php on line 152
Warning: Cannot use a scalar value as an array in
/var/www/PEAR/Config/Container.php on line 153
Warning: Cannot use a scalar value as an array in
/var/www/PEAR/Config/Container.php on line 152
Warning: Cannot use a scalar value as an array in
/var/www/PEAR/Config/Container.php on line 153
Fatal error: Cannot create references to/from string offsets nor overloaded
objects in /var/www/PEAR/Config/Container.php in line 152
>If you send a smaller XML file (not 10Mb please) that causes the same
>problem, I'll try to have a look.
Just take a XML-File of your choice, copy and paste the content n-times so
you get a big xml-file and you should get the same result when calling
parseConfig (make sure the file will be still valid after copy & paste).
That's the way I did some testruns after the error occured for the first
time, just to make sure that this is a common problem and may be related to
the file-size...
Kind regards and tia
Thorsten