ephreak Posted August 14, 2004 Posted August 14, 2004 Hi, I published my site in NetObjects Fusion 7.5 with the Morphusion SecureSite Components and ths error apppreared on my INDEX page (http://www.genchat.info): Warning: main(./cgi-bin/remembervalues.php): failed to open stream: No such file or directory in /home/username/public_html/index.php on line 152 Warning: main(): Failed opening './cgi-bin/remembervalues.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username/public_html/index.php on line 152 Can anyone please tell me how to fix this? Thanks Quote
TCH-Rob Posted August 14, 2004 Posted August 14, 2004 It looks like it is looking for cgi-bin/remembervalues.php. Your index page on or about line 152 is referencing that file. If that file does exist do you have the permissions set correctly for it? Quote
ephreak Posted August 14, 2004 Author Posted August 14, 2004 It looks like it is looking for cgi-bin/remembervalues.php. Your index page on or about line 152 is referencing that file. If that file does exist do you have the permissions set correctly for it? I uploaded those PHP files to the cgi-bin files and chmoded them to 777 Then refreshed the site and got this oal over my page: Warning: main(): Failed opening '../cgi-bin/securepage.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username/public_html/index.php on line 1 Warning: main(../cgi-bin/secureadminpage.php): failed to open stream: No such file or directory in /home/username/public_html/index.php on line 1 Warning: main(): Failed opening '../cgi-bin/secureadminpage.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username/public_html/index.php on line 1 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/ongqfrw/public_html/index.php:1) in /home/username/public_html/index.php on line 1 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/ongqfrw/public_html/index.php:1) in /home/username/public_html/index.php on line 1 Crikey, what's going on here ?? Mad!!! Quote
TCH-Dick Posted August 14, 2004 Posted August 14, 2004 Try adding >AddHandler cgi-script php to your .htaccess file. Quote
ephreak Posted August 14, 2004 Author Posted August 14, 2004 Thanks Dick Did that and got http://www.genchat.info/cgi-bin/login.php Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@genchat.info and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. -------------------------------------------------------------------------------- Apache/1.3.31 Server at www.genchat.info Port 80 Would it help if I changed the .PHP extensions to .HTML ?? Maybe I added AddHandler cgi-script php to the wrong part of the .htaccess file? Carl Quote
ephreak Posted August 14, 2004 Author Posted August 14, 2004 Just saw something - do I need to change AuthName www.ephreak.net to AuthName www.genchat.info?? Would that be the problem? I added AddHandler cgi-script php and it brings up a Internal Server Error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@genchat.info and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. -------------------------------------------------------------------------------- Apache/1.3.31 Server at www.genchat.info Port 80 Quote
TCH-Dick Posted August 14, 2004 Posted August 14, 2004 Just saw something - do I need to change AuthName www.ephreak.net to AuthName www.genchat.info?? Would that be the problem? That shouldn't be a problem. Try adding the following as the first line of of your php file. >#!/usr/local/lib/php Quote
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.