ZenphotoCMS Forum
No input file specified. - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: No input file specified. (/thread-2519.html)



No input file specified. - peterklxy - 2008-03-25

hi, after i installed the new zenphoto i get an error everytime i want to start the setup

"No input file specified."

If i rename the .htaccess file it is possible to create the tables with the installation sheet. and i can pass. but there is another thing which appears:

" .htaccess file [is empty or does not exist]

Edit the .htaccess file in the root zenphoto folder if you have the mod_rewrite apache module, and want cruft-free URLs. Just change the one line indicated to make it work.

You can ignore this warning if you do not intend to set the option mod_rewrite."

The following message appears than at the top of the page

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /www/htdocs/youdomain/zenphoto/zp-core/setup.php on line 51

I really don`t know what to do now.

Does anyone know a solution

Thx




No input file specified. - peterklxy - 2008-03-25

i solved the problem so far..as i gave the .htaccess a different name.

The question is now: do i need the .htaccess file?




No input file specified. - sbillard - 2008-03-25

.htaccess is only needed on Apache servers to support mod_rewrite. If you reset that option you do not need the file.




No input file specified. - peterklxy - 2008-03-25

oh thx




No input file specified. - philgyford - 2008-07-20

I had this problem and I found one potential cause of it:

I'd installed zenphoto in /zenphoto and was getting this "No input file specified" error.

I eventually realised that I had a .htaccess file for my entire site at /.htaccess, and this contained the line "RewriteEngine On".

This appears to conflict with the identical line in /zenphoto/.htaccess - I removed it and zenphoto works without complaint.