<? DEW-CODE.COM  

Downloads

Assorted scripts  (1)
DewNewPHPLinks  (9)





Lost Password?
No account yet? Register

Dew-Code Newsfeed

Resources


 USdigitalcable.com

Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
No input file specified (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: No input file specified
#1384
m4573r (User)
I refuse to testify and I want my lawyer informed.
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Gender: Male MTTI MasterTec Location: Warsaw, Poland Birthdate: 1986-10-02
No input file specified 1 Year, 7 Months ago Karma: 0  
Hi!

I'm using cPanel and I have installed phpLinks from fantastico. When I'm trying to get the frontpage, script displays info: "No input file specified."


I have read something about changing the .htaccess file. I have done necesary changes into file, but then I get http 403 error and http 500, when I have delete 3 lines, that I added before.

I suspect, that fantastico's auto-install function causes this problem, but I cannot fix it myself, can someone help me?

Thanks,

BTW: admin section works fine.
 
Report to moderator   Logged Logged  
 
God damned...
  The administrator has disabled public write access.
#1385
Dewed (Admin)
Admin
Posts: 603
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:No input file specified 1 Year, 7 Months ago Karma: 9  
Is this script you have installed "PHPLinks" or "DewNewPHPLinks" ?

Is this a Linux or a Windows server?

"no input file" sounds like an error from the install routine, which fantastico should of done for you. Make sure you have a /include/config.php file, and that it has the correct MySQL info, user name, database name etc. Make sure the database actually exists, and has tables in it.

Browse to your instalation's "directory" file http://www.yoursite.com/install_dir/directory/ The directives in the .htaccess file should tell your server to run it as a PHP script, if not, try a different variation of the SetHandler/Addtype line in your .htaccess file.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1386
m4573r (User)
I refuse to testify and I want my lawyer informed.
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Gender: Male MTTI MasterTec Location: Warsaw, Poland Birthdate: 1986-10-02
Re:No input file specified 1 Year, 7 Months ago Karma: 0  
I have installed Dew-NewPHPLinks 2.0.1.0b SEF w/Thumbshots.

Server seems to be linux-powered and it's provided by hosting company.

Database exists and have been checked - no errors. It contains 9 tables.
File /include/config.php looks correct.

I cannot access path /install_dir/directory/ by ftp and change .htaccess, cause such directory not exists. There is only a file named directory defined as 'PHP script text' and it really contains php script. Path /install_dir/directory/ is avaible only by the browser.

The only .htaccess file I have found is directly in /install_dir/, and it contains no such lines. It looks like this:

Code:

<Files directory> ForceType application/x-httpd-php </Files>
 
Report to moderator   Logged Logged  
 
God damned...
  The administrator has disabled public write access.
#1387
Dewed (Admin)
Admin
Posts: 603
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:No input file specified 1 Year, 7 Months ago Karma: 9  
Ok, then the line in the .htaccess file is not correct for your server.

You can put this in your .htaccess file

Code:

<Files directory> #ForceType application/x-httpd-php SetHandler application/x-httpd-php #SetHandler application/x-httpd-php5 #ForceType x-httpd-php </Files>
Note the lines beginning with # are ignored, so you can easily try each. , so if the above doesn't work, try
Code:

<Files directory> #ForceType application/x-httpd-php #SetHandler application/x-httpd-php SetHandler application/x-httpd-php5 #ForceType x-httpd-php </Files>
and then
Code:

<Files directory> #ForceType application/x-httpd-php #SetHandler application/x-httpd-php #SetHandler application/x-httpd-php5 ForceType x-httpd-php </Files>
Wait a few minutes between each change. Your web server may take some time to see the changes. If no of these variation work, I can only suggest asking your hosting company. Show them your .htaccess, explain you need to get a file named "directory" to run as a PHP script without the .php extension.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1388
m4573r (User)
I refuse to testify and I want my lawyer informed.
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Gender: Male MTTI MasterTec Location: Warsaw, Poland Birthdate: 1986-10-02
Re:No input file specified 1 Year, 7 Months ago Karma: 0  
Ok, now it's working!

SetHandler application/x-httpd-php5 was solution for my server and should be correct for all webd.pl/Globtel Internet users.

Thank you very much for your assistance!
 
Report to moderator   Logged Logged  
 
God damned...
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Outsource your projects to thousands of programmers at
ScriptLance.com
Newsflash
Interested in
advertising?

This space for rent!

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008