No input file specified.

logue
logue's picture

Joined: 2009-06-12
Posts: 5
Posted: Sat, 2009-06-13 14:51

When PHP is run in CGI mode, it cannot be perused that the error "No input file specified." occurs and contributes, either.
Nothing was outputted also to /gallery3/var/log/.

If module mode PHP is run, it not only becomes working by a safe mode, but the owner of a file who contributed becomes a server and operation becomes impossible.

Logue
Epilogue/LogueWiki

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2009-06-13 17:18

This is a hosting issue.

If they are running safe_mode shame on them. Safe_mode is useless, pointless and was never intended by the PHP developers for what all these poor hosts used it for. safe_mode has been removed from future versions of PHP.

You're not mentioning at all how you are configuring PHP to run in cgi mode. I've had G2 (and now G3) running for years on my host with PHP in cgi mode. I do remember getting an error like you are getting and it all had to do with a misconfiguration on my part when setting up PHP to run in cgi mode under my account.

Gallery will not work in safe_mode, period.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
logue
logue's picture

Joined: 2009-06-12
Posts: 5
Posted: Sun, 2009-06-14 04:37

Safemode was used because this error was only displayed.
Is saying the setting mistake of php.ini?

Here is my phpinfo. http://logue.be/gallery/phpinfo.php

In my server, when PHP is run in CGI mode, php.ini of the same directory is read. Then, this php.ini effects to Gallery3 only.
http://logue.be/gallery/php.ini

*In addition, I am modifying mod_rewrite, in order not to display index.php on an address.

Logue
Epilogue/LogueWiki

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2009-06-14 04:45

Sorry man, I just have no idea what the heck you are talking about.

safe_mode is off. You are using PHP in CGI mode. Gallery3 looks like it's working, but you've been modifying mod_write, that's most likely what is causing your errors. Why don't you post your rewrite rules that are in your .htaccess file?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
logue
logue's picture

Joined: 2009-06-12
Posts: 5
Posted: Sun, 2009-06-14 06:42

It worked!

The cause was htaccess. Among the users using Symfony, add mod_gzip_on Off line in .htaccess was widely used as solution.

Mod_rewrite also seemed to be the cause.
However, since it was working by the module (safe mode) ordinarily, it is likely to be necessary to investigate here to a slight degree.

mod_rewrite was used because how which index.php makes to an address became shorter in an address.

/gallery/album/picture.jpg.html
is better than
/gallery/index.php/album/picture.jpg
I think.

Logue
Epilogue/LogueWiki