[SOLVED] No input file specified - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: [SOLVED] No input file specified (/thread-12653.html) Pages: 1 2 |
[SOLVED] No input file specified - surfweb82 - 01-12-2011 07:22 PM Hello. I have a problem with ispCP and ubuntu 9.10. ftp, mysql, mail and other services are working correctly and if I try to enter the control panel or any one I get this message: No input file specified. I could help solve the problem. For me it is very important! Thanks for your help and sorry for my bad English. I forgot: version of ispCP Omega is 1.06 and system is 64bit RE: No input file specified - surfweb82 - 01-12-2011 10:30 PM anyone can help me? I do not know how to fix it! Help me please! RE: No input file specified - surfweb82 - 01-13-2011 04:04 AM I discovered that other browser gives me page not found with the php file and call if you receive html page! Seeking help also for a fee. I really need! RE: No input file specified - joximu - 01-13-2011 10:16 AM Seem to be a problem with the php config (fastcgi/fcgid). Are html files loading coreectly? Only php files make problem? /J RE: No input file specified - MePha - 01-13-2011 12:16 PM i have the same problem. after system updates (ubuntu karmic) all php files answer "No input file specified." html, css, images works fine ispcp 1.0.7 RE: No input file specified - BeNe - 01-13-2011 04:14 PM Something in the Apache Logs ? Greez BeNe RE: No input file specified - kilburn - 01-13-2011 04:54 PM Okay, this may be caused by either (1) apache sending an incorrect path to the php file to php5-cgi; or (2) something (permissions?) that prevents php5-cgi from running the script. The first should be easy to test. Look in your /var/log/apache2/users/domain.tld-error.log and copy us some of the "mod_fcgid: call /path/to/php/file ..." lines. Does the path look correct? For the second one, I would try a more "direct" approach than to check for every permission in the path to the file. What we will do is try to run the file under the user of this website. To do so, start by: Code: grep domain.tld /etc/passwd If it matches, proceed to switch to this user, by runnig (as root): Code: cd /; su -s/bin/sh vuXXXX Code: export PHPRC="/var/www/fcgi/<domain.tld>/php5/" Okay, what happened? If there's an error, this should lead you to the appropiate solution. If everything went well, then we go back to the beggining in that there's some problem about the path that apache tells php where to find the file. If this is the case, the last idea I have right now is to try enabling the "cgi.fix_pathinfo" directive in the domain's php.ini file and restarting apache. I hope this helped. Please tell us what happened with this issue as there seems to be other users seeing it. RE: No input file specified - surfweb82 - 01-13-2011 05:22 PM Thanks for reply! now I try to make the changes I've indicated and I will let you know. Thank you again! Checking the errors in the file you told me, I've found out that apache was sending an incorrect path to the php file to php5-cgi. This is the message in the log error: ".... [Wed Jan 12 23:16:17 2011] [notice] mod_fcgid: call /var/www/virtual/domain.tdl/gdg/htdocs/login.php with wrapper /var/www/fcgi/domain.tdl/php5-fcgi-starter [Wed Jan 12 23:56:27 2011] [notice] mod_fcgid: call /var/www/virtual/domain.tdl/htdocs/index.php with wrapper /var/www/fcgi/domain.tdl/php5-fcgi-starter [Thu Jan 13 07:49:55 2011] [notice] mod_fcgid: process /var/www/virtual/domain.tdl/htdocs/index.php(4454) exit(shutting down), terminated by calling exit(), return code: 0 [Thu Jan 13 08:00:34 2011] [notice] mod_fcgid: call /var/www/virtual/domain.tdl/htdocs/index.php with wrapper /var/www/fcgi/domain.tdl/php5-fcgi-starter...." now, how can I solve the problem to make everything working again? Thank you a lot!!! RE: No input file specified - kilburn - 01-13-2011 05:45 PM Quote:call /var/www/virtual/domain.tdl/htdocs/index.php This looks like a valid (good) path to the file. What do you see wrong in here? RE: No input file specified - surfweb82 - 01-13-2011 05:56 PM I thought that was the problem. Then proceed with the other suggestions and let you know (01-13-2011 05:45 PM)kilburn Wrote:Quote:call /var/www/virtual/domain.tdl/htdocs/index.php with this command: grep domain.tdl /etc/passwd I get this message: vu2001:x:2001:2001:virtual-user:/var/www/virtual/domain.tdl:/bin/false export PHPRC="/var/www/fcgi/<domain.tld>/php5/" I can not understand this line: /path/to/the/php/file/that/you/saw/in/the/mod_cgid/call/line |