benjam Posted June 1, 2007 Share Posted June 1, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/53870-php-downloading-instead-of-compliling/ Share on other sites More sharing options...
MadTechie Posted June 1, 2007 Share Posted June 1, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/53870-php-downloading-instead-of-compliling/#findComment-266517 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.