Some errors appear sometime without reasons

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Some errors appear sometime without reasons

Postby MrEddy » 04. November 2004 12:02

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 ??
MrEddy
 
Posts: 11
Joined: 25. September 2004 09:27

Postby Oswald » 04. November 2004 12:55

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
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
XAMPP Version: 5.5.19
Operating System: Linux

Postby MrEddy » 04. November 2004 13:14

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=..)
MrEddy
 
Posts: 11
Joined: 25. September 2004 09:27

Postby Oswald » 04. November 2004 13:55

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
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
XAMPP Version: 5.5.19
Operating System: Linux

Postby MrEddy » 04. November 2004 14:19

ok, it surely that, thanks.
But what do this directive --enable-zend-multibyte ?
MrEddy
 
Posts: 11
Joined: 25. September 2004 09:27

Postby Oswald » 04. November 2004 16:26

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
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
XAMPP Version: 5.5.19
Operating System: Linux

Postby MrEddy » 04. November 2004 17:19

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 ?
MrEddy
 
Posts: 11
Joined: 25. September 2004 09:27

Postby Oswald » 04. November 2004 17:21

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
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
XAMPP Version: 5.5.19
Operating System: Linux

Postby MrEddy » 05. November 2004 09:36

So we cannot do nothing with this version about this ? in the config php.ini to desactivate it ?
MrEddy
 
Posts: 11
Joined: 25. September 2004 09:27

Postby gadgetsman » 06. December 2004 15:36

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
gadgetsman
 
Posts: 2
Joined: 23. November 2004 17:28

Postby Oswald » 07. December 2004 20:51

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
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
XAMPP Version: 5.5.19
Operating System: Linux

Postby snipes420 » 12. April 2005 07:53

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.
snipes420
 
Posts: 11
Joined: 09. December 2004 04:12


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 7 guests