|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jul 2007
4 posts
Gave thanks: 0
Thanked 0 times
|
Gallery - No input file specified.
I tried to put Gallery 2 onto my site, and when I try to view an album it gives me that message. I've read online that it has something to do with the php.ini file, but it looks like I have no access to it.
Any thoughts? |
|
|
|
|
|
#2 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,222 posts
Gave thanks: 18
Thanked 86 times
|
That is most likely the PHP interpreter complaining that it can't find the PHP file it is being asked to process and so it tosses that error out. I was getting that error from PHP after I modified my .htaccess to make PHP5 the default handler for .PHP files and tried to run non-existant PHP files. Apache does not check for the existance of the file so it was not placing an entry into the Apache error log. I modified my .htaccess file so that it would:
Code:
# catch non existant php file before php5.bin is loaded and give page not found error
RewriteEngine on
Rewritecond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteRule .php$ %{DOCUMENT_ROOT}%{REQUEST_URI}x
A URL to your gallery would be most helpful in figuring out what might be going on. ![]()
__________________
|
|
|
|
|
|
#4 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,222 posts
Gave thanks: 18
Thanked 86 times
|
Looks like your problem is related to the URL Rewrite plugin looking at the URL of your album. Either it's not configured correctly or it did not add what it needs into the .htaccess file that is in your /pictures/ folder for the Apache mod_rewrite rules. My album URL's look like:
http://gallery.markheadrick.com/v/Nature/ Without main.php being in them. I would first try deactivating the URL Rewrite plugin just to see if the album will start displaying properly.
__________________
|
|
|
|