icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Choosing Surpass » Signed Up? » Gallery - No input file specified.

Signed Up? If you're new with a question, ask here!

Reply
 
LinkBack Thread Tools Search this Thread
Old July 29th, 2007, 12:40 AM   #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?
ltging is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 29th, 2007, 1:39 AM   #2 (permalink)
Race Surpass
Super #1
 
MarkRH's Avatar
 
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
Anyway, it changes the missing file to a .phpx extenstion so that Apache will catch it as a missing file.

A URL to your gallery would be most helpful in figuring out what might be going on.
MarkRH is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 29th, 2007, 2:13 PM   #3 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jul 2007
4 posts
Gave thanks: 0
Thanked 0 times
tried that in a few .htaccess files, nothing changed, though I'm still running PHP 4.4.6.

the site is ltging.com/pictures
ltging is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 29th, 2007, 2:52 PM   #4 (permalink)
Race Surpass
Super #1
 
MarkRH's Avatar
 
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.
MarkRH is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 29th, 2007, 4:14 PM   #5 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jul 2007
4 posts
Gave thanks: 0
Thanked 0 times
Thanks! it took me a while to get it done (I was having the same error for Site Admin) but it now works.
ltging is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On