ALL Scripts not working, being displayed in browser
Moderator: General Moderators
-
arcticdogg
- Forum Newbie
- Posts: 5
- Joined: Fri Dec 19, 2003 1:16 pm
- Location: Austin, TX, USA
ALL Scripts not working, being displayed in browser
I'm sure this has got to be elementary, but since my IS dept moved all my sites to a new server, none of my scripts work anymore. Instead, they display in the browser. For example, this simple redirect script just displays in the browser instead of doing its job:
<?
header("Location: index.htm");
?>
Similarly, my forms processing scripts don't work, but instead display in the browser when a user clicks on "submit."
IS insists that PHP 4.2.2 is installed and working correctly, but I am skeptical. I have been scouring usegroups and searching, and I hate to bother anyone with this, but none of us here have the answer.
I will welcome any suggestions/ideas.
Thanks,
Shannon
<?
header("Location: index.htm");
?>
Similarly, my forms processing scripts don't work, but instead display in the browser when a user clicks on "submit."
IS insists that PHP 4.2.2 is installed and working correctly, but I am skeptical. I have been scouring usegroups and searching, and I hate to bother anyone with this, but none of us here have the answer.
I will welcome any suggestions/ideas.
Thanks,
Shannon
php is not installed at all then, OR if you are useing a abnormal file extension then that can also be the problem. check it out with your host, they are theonly ones who can help you i guess.
your host may have "forgot" to allow your home dir php capabilities?
if they still say "php is installed" send them to your site and show em
.
your host may have "forgot" to allow your home dir php capabilities?
if they still say "php is installed" send them to your site and show em
Last edited by qads on Fri Dec 19, 2003 1:25 pm, edited 1 time in total.
- Derfel Cadarn
- Forum Contributor
- Posts: 193
- Joined: Thu Jul 17, 2003 12:02 pm
- Location: Berlin, Germany
-
arcticdogg
- Forum Newbie
- Posts: 5
- Joined: Fri Dec 19, 2003 1:16 pm
- Location: Austin, TX, USA
- Derfel Cadarn
- Forum Contributor
- Posts: 193
- Joined: Thu Jul 17, 2003 12:02 pm
- Location: Berlin, Germany
That sounds familiar!
But using the site of Netcraft you can find out wether those IT-guyzz did their job properly: just enter the name of your site in the field behind "What's that site running" and hit Enter (on your keyboard).
Then a (hopefully) long list of complicated info is shown. When PHP isn't there, you should hit the IT-Manager on the head!
But using the site of Netcraft you can find out wether those IT-guyzz did their job properly: just enter the name of your site in the field behind "What's that site running" and hit Enter (on your keyboard).
Then a (hopefully) long list of complicated info is shown. When PHP isn't there, you should hit the IT-Manager on the head!
-
arcticdogg
- Forum Newbie
- Posts: 5
- Joined: Fri Dec 19, 2003 1:16 pm
- Location: Austin, TX, USA
thanks again! Netcraft is a neat utility. It seems to show a history of where our site has been hosted & the versions of Apache, etc. that it's used. Curiously enough, it doesn't currently list PHP (or anything else but Apache), however, they've somehow gotten my scripts running again (with some limited exceptions)! Now we just have to resolve our MySQL issues & I will be a happy girl again! 
- Derfel Cadarn
- Forum Contributor
- Posts: 193
- Joined: Thu Jul 17, 2003 12:02 pm
- Location: Berlin, Germany
actually...
PHP is listed 4 times on netcraft...
-
arcticdogg
- Forum Newbie
- Posts: 5
- Joined: Fri Dec 19, 2003 1:16 pm
- Location: Austin, TX, USA
Not really sure what is going on there. The URL is http://www.ficgroup.com. It's probably installed, but just not showing up in the Netcraft query yet?
And I'm finding more problems (like my forms appear to be working, but I'm not getting the email that is supposed to be generated). I am getting a headache!
Back to the drawing board, I guess!
And I'm finding more problems (like my forms appear to be working, but I'm not getting the email that is supposed to be generated). I am getting a headache!
- Derfel Cadarn
- Forum Contributor
- Posts: 193
- Joined: Thu Jul 17, 2003 12:02 pm
- Location: Berlin, Germany
I just found your employment-request-form and I noticed in the source was:arcticdogg wrote:And I'm finding more problems (like my forms appear to be working, but I'm not getting the email that is supposed to be generated). I am getting a headache!Back to the drawing board, I guess!
Code: Select all
<form METHOD="post" ACTION="proc.phtml">If so, it should read:
Code: Select all
<form METHOD="post" ACTION="proc.php">-
arcticdogg
- Forum Newbie
- Posts: 5
- Joined: Fri Dec 19, 2003 1:16 pm
- Location: Austin, TX, USA