Page 1 of 1

Some errors appear sometime without reasons

PostPosted: 04. November 2004 12:02
by MrEddy
Hi,

i've got a problem with my xampp application, in my web site i ve some errors that appears without reasons like :
- Parse error: parse error, unexpected '}' in /var/www/html/includes/connexionDB.php on line 38
- Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/html/pressroom/includes/constantes_pressroom.php on line 17
- Fatal error: fatal flex scanner internal error--end of buffer missed in /var/www/html/pressroom/phototheque.php on line 105
When I push F5 to actualize the same page when i see an error, the errors desapear, without making any change on the web page.

What's the problem ??

PostPosted: 04. November 2004 12:55
by Oswald
Dear Eddy!

Some ppl from the German part of this forum reports a similar or same problem: http://community.apachefriends.org/f/viewtopic.php?t=7037 (It's German so you don't need to read it. Just for the files.)

Until now we didn't find the cause for that problem. But could you please say which version of XAMPP you're using, which Linux distribution, and the processor type?

Many thanks
Oswald

PostPosted: 04. November 2004 13:14
by MrEddy
Ok, my version is 1.4.9a (i launch only apache with ssl) and i use php5, and i use red hat 9
processor pentium 2
I write my php files on linux (don't know if it can be interesting because some message talk about ASCII=..)

PostPosted: 04. November 2004 13:55
by Oswald
After searching the PHP bug database I found the following entry:

http://bugs.php.net/bug.php?id=30548

Because XAMPP is also compiled with --enable-zend-multibyte I assume it's the same problem. Looks like it's a problem of PHP. I'm not sure what to do now!

Greetings
Oswald

PostPosted: 04. November 2004 14:19
by MrEddy
ok, it surely that, thanks.
But what do this directive --enable-zend-multibyte ?

PostPosted: 04. November 2004 16:26
by Oswald
You need multibyte support mostly for asian languages (or UTF-8 in general) where a string is not only 1 byte a character. The asian XAMPP users requested this feature about a year ago.

Best regards
Oswald

PostPosted: 04. November 2004 17:19
by MrEddy
Okok, so perhaps in futur version there will be no more bug with -enable-zend-multibyte, or perhaps making further version of xampp with or without -enable-zend-multibyte ?

PostPosted: 04. November 2004 17:21
by Oswald
That's the reason of my " I'm not sure what to do now! " above. ;)

I will observe the problem and wait for the next PHP version.

Oswald

PostPosted: 05. November 2004 09:36
by MrEddy
So we cannot do nothing with this version about this ? in the config php.ini to desactivate it ?

PostPosted: 06. December 2004 15:36
by gadgetsman
Is there any updates on this issue? I have random errors/warnings pop up here and there. Can we somehow disable it? Thank you for the updates

PostPosted: 07. December 2004 20:51
by Oswald
Dear Gadgetsman!

It's still a mircale. I personally have never ever seen such kind of errors on my system. And there are very less people reporting this problem so it's hard to find the cause.

Which distribution do you use? What type of processor? Which version of XAMPP?

Greetings
Oswald

PostPosted: 12. April 2005 07:53
by snipes420
I've seen a few random errors once in a while in my webpages as well.
It was with debian on a celeron 500Mhz about 4 months ago (sorry i forget the version of xampp). and more recently on a Pentium 4 CPU 3.00GHz running fedora core 3 with xampp-linux-1.4.12.

hope that helps and i also hope this gets resolved sometime :)
and thanks for the xampp package.

edit: from what ive seen, the errors are few and far between.