Jump to content

Recommended Posts

I have a user who is using a script I edit, and this user is having troubles with php files being downloaded instead of parsed and output to the browser screen.

 

I have opened the page in several browsers, so it is not a browser problem, but it is very odd because some files are parsed as normal, and then others are not.  And it's not file specific, meaning that at one moment one file parses fine and another gets downloaded, and then at another time, the problem is the reverse.

 

I have many other users who use this same script and have no problems with the page being downloaded, so it must be box specific, but I have no idea what might be causing this extremely odd error.

 

Any thoughts?

 

The site in question is: http://www.re-al-schule.de/webchess-new/webchess/

there is a user in the system with login info: test - test

 

And another site where the script works as it should:  http://www.iohelix.net/webchess/

there is also a user in this system with login info: test - test

 

the error occurs when a user tries to make a move, and again when the user tries to return to the menu page.

Link to comment
https://forums.phpfreaks.com/topic/53870-php-downloading-instead-of-compliling/
Share on other sites

Is the file chess.php, as i think you may have a infintive loop,

or a problem with the SQL server

 

Warning: fopen(./mysql.err) [function.fopen]: failed to open stream: Permission denied in /srv/www/web1/html/webchess-new/webchess/includes/mysql.class.php on line 630

 

Warning: fwrite(): supplied argument is not a valid stream resource in /srv/www/web1/html/webchess-new/webchess/includes/mysql.class.php on line 631

 

Warning: fclose(): supplied argument is not a valid stream resource in /srv/www/web1/html/webchess-new/webchess/includes/mysql.class.php on line 633

There was a database error. An email has been sent to the system administrator.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.