Help - Search - Members - Calendar
Full Version: No input file specified.
Hostony Board > General Support > PHP/MySQL
MicahR79
I am trying to connect to mysql database. I am using this code

<!DOCTYPE html PUBLIC "-//W3C// DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>Connect to MySQL</title>
</head>
<body>

<?php // Script 1.1 mysql_connect.php
ini_set ('display_errors', 1);
error_reporting (E_ALL $ E_NOTICE);

if ($dbc = mysql_connect ('localhost','usernam','password'))
{
print '<p>Successfully connected to MySQL.</p>';
mysql_close();

if (@mysql_select_db ('turnin'))
{
print '<p>The Database has been Selected<p>'
}
else {
die('<p>Could not select the database because: <b> mysql_error() .'</b></p>');

}
}
else
{
print '<p>Could not connect to MySQL.<p>';
}
?>
</body>
</html>




Obviously with the user name and password filled in;
but for some reason even when i simplify it down to just the php section without error commands I still get...
"No input file specified."

I am on a windows server, and I am using IE as explorer to view page. If anyone can help I would greatly appreciate it.
Thanks,
Micah
Lehrer
Micah, the matter is that we upgraded php(now we have PHP-SUEXEC) on the server for security matters and some problems with cgi scripts are possible. This problem should be fixed this weekend.
MartinB
QUOTE(Lehrer @ May 25 2005, 09:35 AM)
(now we have PHP-SUEXEC)
*


G R E A T
Lehrer
ph34r.gif smile.gif cool.gif
egelderen
I get this same error ("No input file specified") for many days now.
Lehrer
You should probably check the apache error_log to see if there is a more informative message. Btw, if it's a php application that uses Zend Optimizer you should probably check that that is running the latest release.
egelderen
[10-Jun-2005 14:48:32] PHP Warning: Cannot stat license file: /home/seekworl/public_html/smartppc4 in Unknown on line 0

That is weird, because my dir is /home/noorwege/public_html

???
Lehrer
Please give us the exact link where you get this mistake. We'll see to it.




Lehrer
easycall
I am getting this same "No input file specified error" since the change to php. My Database populates my link exchange directory pages. The main directory is ok at http://www.easycall.net/lma/directory but the category pages produce this error. I've not been able to get any suggestions from support tickets. Can someone tell me what I need to do get my category pages working. PHP is a foreign language to me and I was thrilled when I installed this program back in April to find it worked perfectly. Now I'm at a total loss as to how to access my category pages. My category pages are generated "on the fly" via php.
artrocity
QUOTE(easycall @ Jun 22 2005, 06:35 PM)
I am getting this same "No input file specified error" since the change to php.  My Database populates my link exchange directory pages.  The main directory is ok at http://www.easycall.net/lma/directory but the category pages produce this error.  I've not been able to get any suggestions from support tickets.  Can someone tell me what I need to do get my category pages working.  PHP is a foreign language to me and I was thrilled when I installed this program back in April to find it worked perfectly.  Now I'm at a total loss as to how to access my category pages.  My category pages are generated "on the fly" via php.
*


Script looks interesting .
Tried to download it but something is wrong with their website. rolleyes.gif

Without seeing the code my guess it has something to do with your .htacess file
Can you run the script without mod-rewrite?
easycall
According to Hostony support the script does not work with PHP CGI so after hours and hours of work getting this set up last spring, I'm now forced to upgrade and pay more money for VPS hosting or change hosts.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.
IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here