Site moved and now php code does not appear to work

Site moved and now php code does not appear to work

am 18.04.2008 22:01:04 von Chris Heilman

I changed website hosts. The code that worked on my old host does not
work on the new host. It appears that the php code is not running or
running correctly. Nothing related to php is displaying. Not even the
php code. Why would it work on one host and not the other?

Apache 2.2.8

Any ideas? The new host is not too excited about helping. Are there any
places to validate php code?

--

Re: Site moved and now php code does not appear to work

am 18.04.2008 22:52:39 von Dave Pyles

On 4/18/2008 4:01 PM, dan wrote:
> I changed website hosts. The code that worked on my old host does not
> work on the new host. It appears that the php code is not running or
> running correctly. Nothing related to php is displaying. Not even the
> php code. Why would it work on one host and not the other?
>
> Apache 2.2.8
>
> Any ideas? The new host is not too excited about helping. Are there any
> places to validate php code?
>
The first thing to do is to see whether your new host actually has PHP
installed and turned on. Copy and paste the following into a text
editor and save it as test.php and upload it to your server. If PHP is
working it will return more than you ever wanted to know about the PHP
settings on the server. If not, it will juts return itself in your browser.

[BEGIN COPY BELOW]
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



First PHP Script


phpinfo();
?>


[END COPY ABOVE]

Dave Pyles

Re: Site moved and now php code does not appear to work

am 18.04.2008 23:09:03 von Chris Heilman

David Pyles wrote:

> On 4/18/2008 4:01 PM, dan wrote:
> > I changed website hosts. The code that worked on my old host does
> > not work on the new host. It appears that the php code is not
> > running or running correctly. Nothing related to php is displaying.
> > Not even the php code. Why would it work on one host and not the
> > other?
> >
> > Apache 2.2.8
> >
> > Any ideas? The new host is not too excited about helping. Are there
> > any places to validate php code?
> >
> The first thing to do is to see whether your new host actually has
> PHP installed and turned on. Copy and paste the following into a
> text editor and save it as test.php and upload it to your server. If
> PHP is working it will return more than you ever wanted to know about
> the PHP settings on the server. If not, it will juts return itself
> in your browser.
>
> [BEGIN COPY BELOW]
> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
>
> First PHP Script
>
>
> > phpinfo();
> ?>
>
>
> [END COPY ABOVE]
>
> Dave Pyles

At first, it displayed a blank screen. After I deleted the local
..htaccess file, it displayed a whole crap-load of info.

--

Re: Site moved and now php code does not appear to work

am 18.04.2008 23:31:43 von Dave Pyles

On 4/18/2008 5:09 PM, dan wrote:
> David Pyles wrote:
>
>> On 4/18/2008 4:01 PM, dan wrote:
>>> I changed website hosts. The code that worked on my old host does
>>> not work on the new host. It appears that the php code is not
>>> running or running correctly. Nothing related to php is displaying.
>>> Not even the php code. Why would it work on one host and not the
>>> other?
>>>
>>> Apache 2.2.8
>>>
>>> Any ideas? The new host is not too excited about helping. Are there
>>> any places to validate php code?
>>>
>> The first thing to do is to see whether your new host actually has
>> PHP installed and turned on. Copy and paste the following into a
>> text editor and save it as test.php and upload it to your server. If
>> PHP is working it will return more than you ever wanted to know about
>> the PHP settings on the server. If not, it will juts return itself
>> in your browser.
>>
>> [BEGIN COPY BELOW]
>> >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>>
>>
>> First PHP Script
>>
>>
>> >> phpinfo();
>> ?>
>>
>>
>> [END COPY ABOVE]
>>
>> Dave Pyles
>
> At first, it displayed a blank screen. After I deleted the local
> .htaccess file, it displayed a whole crap-load of info.
>
Did you try your pages again after you deleted the .htaccess file? It
sounds like it was blocking PHP.

Dave Pyles

Re: Site moved and now php code does not appear to work

am 18.04.2008 23:58:56 von ajtrichards

On Apr 18, 9:01=A0pm, "dan" <> wrote:
> I changed website hosts. The code that worked on my old host does not
> work on the new host. It appears that the php code is not running or
> running correctly. Nothing related to php is displaying. Not even the
> php code. Why would it work on one host and not the other?
>
> Apache 2.2.8
>
> Any ideas? The new host is not too excited about helping. Are there any
> places to validate php code?
>
> --

Have you checked the error logs? Also, are you moving platforms? e.g
Windows to Linux? Another possiblity maybe that an extension that is
required is not present.

Re: Site moved and now php code does not appear to work

am 19.04.2008 00:01:16 von Chris Heilman

David Pyles wrote:

> On 4/18/2008 5:09 PM, dan wrote:
> > David Pyles wrote:
> >
> > > On 4/18/2008 4:01 PM, dan wrote:
> > > > I changed website hosts. The code that worked on my old host
> > > > does not work on the new host. It appears that the php code is
> > > > not running or running correctly. Nothing related to php is
> > > > displaying. Not even the php code. Why would it work on one
> > > > host and not the other?
> > > >
> > > > Apache 2.2.8
> > > >
> > > > Any ideas? The new host is not too excited about helping. Are
> > > > there any places to validate php code?
> > > >
> > > The first thing to do is to see whether your new host actually has
> > > PHP installed and turned on. Copy and paste the following into a
> > > text editor and save it as test.php and upload it to your server.
> > > If PHP is working it will return more than you ever wanted to
> > > know about the PHP settings on the server. If not, it will juts
> > > return itself in your browser.
> > >
> > > [BEGIN COPY BELOW]
> > > > >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > >
> > >
> > > First PHP Script
> > >
> > >
> > > > > > phpinfo();
> > > ?>
> > >
> > >
> > > [END COPY ABOVE]
> > >
> > > Dave Pyles
> >
> > At first, it displayed a blank screen. After I deleted the local
> > .htaccess file, it displayed a whole crap-load of info.
> >
> Did you try your pages again after you deleted the .htaccess file?
> It sounds like it was blocking PHP.
>
> Dave Pyles

Yes. This is one of the pages crashing:
http://www.jaymartinreptiles.com/tips.html

--

Re: Site moved and now php code does not appear to work

am 19.04.2008 00:57:19 von luiheidsgoeroe

On Sat, 19 Apr 2008 00:01:16 +0200, dan wrote:
> David Pyles wrote:
>> On 4/18/2008 5:09 PM, dan wrote:
>> > David Pyles wrote:
>> > > On 4/18/2008 4:01 PM, dan wrote:
>> > > > I changed website hosts. The code that worked on my old host
>> > > > does not work on the new host. It appears that the php code is
>> > > > not running or running correctly. Nothing related to php is
>> > > > displaying. Not even the php code. Why would it work on one
>> > > > host and not the other?
>> > > >
>> > > > Apache 2.2.8
>> > > >
>> > > > Any ideas? The new host is not too excited about helping. Are
>> > > > there any places to validate php code?
>> > > >
>> > > The first thing to do is to see whether your new host actually has
>> > > PHP installed and turned on. Copy and paste the following into a
>> > > text editor and save it as test.php and upload it to your server.
>> > > If PHP is working it will return more than you ever wanted to
>> > > know about the PHP settings on the server. If not, it will juts
>> > > return itself in your browser.
>> > > >> > > phpinfo();
>> > > ?>
>> >
>> > At first, it displayed a blank screen. After I deleted the local
>> > .htaccess file, it displayed a whole crap-load of info.
>> >
>> Did you try your pages again after you deleted the .htaccess file?
>> It sounds like it was blocking PHP.
>>
>> Dave Pyles
>
> Yes. This is one of the pages crashing:
> http://www.jaymartinreptiles.com/tips.html

..html is not usually parsed for php tags... Which are now clearly viaible
in the source.
--
Rik Wasmus

Re: Site moved and now php code does not appear to work

am 19.04.2008 01:20:26 von hellsop

On 18 Apr 2008 22:01:16 GMT, dan wrote:
> David Pyles wrote:
>
>> On 4/18/2008 5:09 PM, dan wrote:
>> > At first, it displayed a blank screen. After I deleted the local
>> > .htaccess file, it displayed a whole crap-load of info.
>> >
>> Did you try your pages again after you deleted the .htaccess file?
>> It sounds like it was blocking PHP.
>>
>> Dave Pyles
>
> Yes. This is one of the pages crashing:
> http://www.jaymartinreptiles.com/tips.html

Perhaps the webserver does not process through the PHP processor what it
does not know is php. How do we know this html page is php?

--
97. My dungeon cells will not be furnished with objects that contain reflective
surfaces or anything that can be unravelled.
--Peter Anspach's list of things to do as an Evil Overlord

Re: Site moved and now php code does not appear to work

am 19.04.2008 01:50:04 von Larry Anderson

On Apr 18, 3:57 pm, "Rik Wasmus" wrote:
> On Sat, 19 Apr 2008 00:01:16 +0200, dan wrote:
> > David Pyles wrote:
> >> On 4/18/2008 5:09 PM, dan wrote:
> >> > David Pyles wrote:
> >> > > On 4/18/2008 4:01 PM, dan wrote:
> >> > > > I changed website hosts. The code that worked on my old host
> >> > > > does not work on the new host. It appears that the php code is
> >> > > > not running or running correctly. Nothing related to php is
> >> > > > displaying. Not even the php code. Why would it work on one
> >> > > > host and not the other?
>
> >> > > > Apache 2.2.8
>
> >> > > > Any ideas? The new host is not too excited about helping. Are
> >> > > > there any places to validate php code?
>
> >> > > The first thing to do is to see whether your new host actually has
> >> > > PHP installed and turned on. Copy and paste the following into a
> >> > > text editor and save it as test.php and upload it to your server.
> >> > > If PHP is working it will return more than you ever wanted to
> >> > > know about the PHP settings on the server. If not, it will juts
> >> > > return itself in your browser.
> >> > > > >> > > phpinfo();
> >> > > ?>
>
> >> > At first, it displayed a blank screen. After I deleted the local
> >> > .htaccess file, it displayed a whole crap-load of info.
>
> >> Did you try your pages again after you deleted the .htaccess file?
> >> It sounds like it was blocking PHP.
>
> >> Dave Pyles
>
> > Yes. This is one of the pages crashing:
> >http://www.jaymartinreptiles.com/tips.html
>
> .html is not usually parsed for php tags... Which are now clearly viaible
> in the source.
> --
> Rik Wasmus

Looks like the case. Rename your pages to end with .php instead
of .html (and related links) that should clear up the problem (if you
host supports PHP). To do it the other way and keep html at the end,
you will need to contact your web host to render .html pages as if
they were .php pages.

Re: Site moved and now php code does not appear to work

am 19.04.2008 02:08:39 von Pat Willener

> I changed website hosts. The code that worked on my old host does not
> work on the new host. It appears that the php code is not running or
> running correctly. Nothing related to php is displaying. Not even the
> php code. Why would it work on one host and not the other?
>
> Apache 2.2.8
>
> Any ideas? The new host is not too excited about helping. Are there
> any places to validate php code?


ISP provides PHP of course?
Correct verstion set? Esoecially important to set permissions
correctly also.
Using relative & not literal paths?
Identical directory structure?
Capitalization?
Glitch in a filename etc.?
Missing/forgotten file?
Both are Apache 2.2.8? Not clear what that means there.
Diffs in super globals or global use?
PHP.ini needs revision?
I'd give the new sites docs a good readthru for hints if you haven't
already.

HTH

Twayne

Re: Site moved and now php code does not appear to work

am 19.04.2008 03:53:05 von Jerry Stuckle

David Pyles wrote:
> On 4/18/2008 4:01 PM, dan wrote:
>> I changed website hosts. The code that worked on my old host does not
>> work on the new host. It appears that the php code is not running or
>> running correctly. Nothing related to php is displaying. Not even the
>> php code. Why would it work on one host and not the other?
>>
>> Apache 2.2.8
>>
>> Any ideas? The new host is not too excited about helping. Are there any
>> places to validate php code?
>>
> The first thing to do is to see whether your new host actually has PHP
> installed and turned on. Copy and paste the following into a text
> editor and save it as test.php and upload it to your server. If PHP is
> working it will return more than you ever wanted to know about the PHP
> settings on the server. If not, it will juts return itself in your
> browser.
>
> [BEGIN COPY BELOW]
> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
>
>
> First PHP Script
>
>
> > phpinfo();
> ?>
>
>
> [END COPY ABOVE]
>
> Dave Pyles
>

Wrong. the ONLY lines you should have are:

phpinfo();
?>

phpinfo() generates ALL of the rest.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: Site moved and now php code does not appear to work

am 19.04.2008 16:09:01 von Chris Heilman

Rik Wasmus wrote:

> On Sat, 19 Apr 2008 00:01:16 +0200, dan wrote:
> > David Pyles wrote:
> > > On 4/18/2008 5:09 PM, dan wrote:
> >>> David Pyles wrote:
> >>> > On 4/18/2008 4:01 PM, dan wrote:
> >>> > > I changed website hosts. The code that worked on my old host
> >>> > > does not work on the new host. It appears that the php code is
> >>> > > not running or running correctly. Nothing related to php is
> >>> > > displaying. Not even the php code. Why would it work on one
> >>> > > host and not the other?
> >>> > >
> >>> > > Apache 2.2.8
> >>> > >
> >>> > > Any ideas? The new host is not too excited about helping. Are
> >>> > > there any places to validate php code?
> >>> > >
> >>> > The first thing to do is to see whether your new host actually
> has >>> > PHP installed and turned on. Copy and paste the following
> into a >>> > text editor and save it as test.php and upload it to
> your server. >>> > If PHP is working it will return more than you
> ever wanted to >>> > know about the PHP settings on the server. If
> not, it will juts >>> > return itself in your browser.
> >>> > > >>> > phpinfo();
> >>> > ?>
> > > >
> >>> At first, it displayed a blank screen. After I deleted the local
> >>> .htaccess file, it displayed a whole crap-load of info.
> > > >
> > > Did you try your pages again after you deleted the .htaccess file?
> > > It sounds like it was blocking PHP.
> > >
> > > Dave Pyles
> >
> > Yes. This is one of the pages crashing:
> > http://www.jaymartinreptiles.com/tips.html
>
> .html is not usually parsed for php tags... Which are now clearly
> viaible in the source.

Hmmm. I'm not a php programmer. I had my website done about 5 years ago
and it worked flawlessly. I guess I need to find someone to "revisit"
the code of my site for flaws. Thanks everyone!

--

Re: Site moved and now php code does not appear to work

am 19.04.2008 16:48:16 von hellsop

On 19 Apr 2008 14:09:01 GMT, dan wrote:
> Rik Wasmus wrote:
>
>> On Sat, 19 Apr 2008 00:01:16 +0200, dan wrote:
>> > David Pyles wrote:
>> > > On 4/18/2008 5:09 PM, dan wrote:
>> >>> David Pyles wrote:
>> >>> > On 4/18/2008 4:01 PM, dan wrote:
>> >>> > > I changed website hosts. The code that worked on my old host
>> >>> > > does not work on the new host. It appears that the php code is
>> >>> > > not running or running correctly. Nothing related to php is
>> >>> > > displaying. Not even the php code. Why would it work on one
>> >>> > > host and not the other?
>> >>> > >
>> >>> > > Apache 2.2.8
>> >>> > >
>> >>> > > Any ideas? The new host is not too excited about helping. Are
>> >>> > > there any places to validate php code?
>> >>> > >
>> >>> > The first thing to do is to see whether your new host actually
>> has >>> > PHP installed and turned on. Copy and paste the following
>> into a >>> > text editor and save it as test.php and upload it to
>> your server. >>> > If PHP is working it will return more than you
>> ever wanted to >>> > know about the PHP settings on the server. If
>> not, it will juts >>> > return itself in your browser.
>> >>> > >> >>> > phpinfo();
>> >>> > ?>
>> > > >
>> >>> At first, it displayed a blank screen. After I deleted the local
>> >>> .htaccess file, it displayed a whole crap-load of info.
>> > > >
>> > > Did you try your pages again after you deleted the .htaccess file?
>> > > It sounds like it was blocking PHP.
>> > >
>> > > Dave Pyles
>> >
>> > Yes. This is one of the pages crashing:
>> > http://www.jaymartinreptiles.com/tips.html
>>
>> .html is not usually parsed for php tags... Which are now clearly
>> viaible in the source.
>
> Hmmm. I'm not a php programmer. I had my website done about 5 years ago
> and it worked flawlessly. I guess I need to find someone to "revisit"
> the code of my site for flaws. Thanks everyone!

Code's probably fine, as far as it goes. Webserver's probably just
configured differently and you need all those .html pages and links to
them to become .php pages instead.

--
40. I will be neither chivalrous nor sporting. If I have an unstoppable
superweapon, I will use it as early and as often as possible instead of
keeping it in reserve.
--Peter Anspach's list of things to do as an Evil Overlord

Re: Site moved and now php code does not appear to work

am 19.04.2008 17:19:28 von Chris Heilman

Peter H. Coffin wrote:

> On 19 Apr 2008 14:09:01 GMT, dan wrote:
> > Rik Wasmus wrote:
> >
> >> On Sat, 19 Apr 2008 00:01:16 +0200, dan wrote:
> >> > David Pyles wrote:
> >> > > On 4/18/2008 5:09 PM, dan wrote:
> >> >>> David Pyles wrote:
> >> >>> > On 4/18/2008 4:01 PM, dan wrote:
> >> >>> > > I changed website hosts. The code that worked on my old
> host >> >>> > > does not work on the new host. It appears that the
> php code is >> >>> > > not running or running correctly. Nothing
> related to php is >> >>> > > displaying. Not even the php code. Why
> would it work on one >> >>> > > host and not the other?
> >> >>> > >
> >> >>> > > Apache 2.2.8
> >> >>> > >
> >> >>> > > Any ideas? The new host is not too excited about helping.
> Are >> >>> > > there any places to validate php code?
> >> >>> > >
> >> >>> > The first thing to do is to see whether your new host
> actually >> has >>> > PHP installed and turned on. Copy and paste
> the following >> into a >>> > text editor and save it as test.php and
> upload it to >> your server. >>> > If PHP is working it will return
> more than you >> ever wanted to >>> > know about the PHP settings on
> the server. If >> not, it will juts >>> > return itself in your
> browser. >> >>> > > >> >>> > phpinfo();
> >> >>> > ?>
> >> > > >
> >> >>> At first, it displayed a blank screen. After I deleted the
> local >> >>> .htaccess file, it displayed a whole crap-load of info.
> >> > > >
> >> > > Did you try your pages again after you deleted the .htaccess
> file? >> > > It sounds like it was blocking PHP.
> >> > >
> >> > > Dave Pyles
> >> >
> >> > Yes. This is one of the pages crashing:
> >> > http://www.jaymartinreptiles.com/tips.html
> >>
> >> .html is not usually parsed for php tags... Which are now clearly
> >> viaible in the source.
> >
> > Hmmm. I'm not a php programmer. I had my website done about 5 years
> > ago and it worked flawlessly. I guess I need to find someone to
> > "revisit" the code of my site for flaws. Thanks everyone!
>
> Code's probably fine, as far as it goes. Webserver's probably just
> configured differently and you need all those .html pages and links to
> them to become .php pages instead.

Yep. I changed all html extensions to php and changed all code
references from html to php and my site is back up and running. Sadly,
I need a new ISP. This new one could not even get me back up and
running and that's his business.

Thanks to all for your help!

--

Re: Site moved and now php code does not appear to work

am 19.04.2008 21:53:32 von JackM

dan wrote:
> Peter H. Coffin wrote:
>> Code's probably fine, as far as it goes. Webserver's probably just
>> configured differently and you need all those .html pages and links to
>> them to become .php pages instead.
>
> Yep. I changed all html extensions to php and changed all code
> references from html to php and my site is back up and running. Sadly,
> I need a new ISP. This new one could not even get me back up and
> running and that's his business.
>
> Thanks to all for your help!

If (1) you don't have thousands of pages on your site and (2) the new
host allows you to use htaccess files, then all you needed to do was add
a single line in there that would parse all .html pages for php:

If it's using PHP4:
AddType application/x-httpd-php .php .htm .html

or PHP5:
AddHandler application/x-httpd-php5 .html .htm .php

Re: Site moved and now php code does not appear to work

am 20.04.2008 00:15:04 von Chris Heilman

JackM wrote:

> dan wrote:
> > Peter H. Coffin wrote:
> > > Code's probably fine, as far as it goes. Webserver's probably just
> > > configured differently and you need all those .html pages and
> > > links to them to become .php pages instead.
> >
> > Yep. I changed all html extensions to php and changed all code
> > references from html to php and my site is back up and running.
> > Sadly, I need a new ISP. This new one could not even get me back up
> > and running and that's his business.
> >
> > Thanks to all for your help!
>
> If (1) you don't have thousands of pages on your site and (2) the new
> host allows you to use htaccess files, then all you needed to do was
> add a single line in there that would parse all .html pages for php:
>
> If it's using PHP4:
> AddType application/x-httpd-php .php .htm .html
>
> or PHP5:
> AddHandler application/x-httpd-php5 .html .htm .php

Tried that and it failed to work.

--

Re: Site moved and now php code does not appear to work

am 20.04.2008 02:51:15 von Jerry Stuckle

dan wrote:
> JackM wrote:
>
>> dan wrote:
>>> Peter H. Coffin wrote:
>>>> Code's probably fine, as far as it goes. Webserver's probably just
>>>> configured differently and you need all those .html pages and
>>>> links to them to become .php pages instead.
>>> Yep. I changed all html extensions to php and changed all code
>>> references from html to php and my site is back up and running.
>>> Sadly, I need a new ISP. This new one could not even get me back up
>>> and running and that's his business.
>>>
>>> Thanks to all for your help!
>> If (1) you don't have thousands of pages on your site and (2) the new
>> host allows you to use htaccess files, then all you needed to do was
>> add a single line in there that would parse all .html pages for php:
>>
>> If it's using PHP4:
>> AddType application/x-httpd-php .php .htm .html
>>
>> or PHP5:
>> AddHandler application/x-httpd-php5 .html .htm .php
>
> Tried that and it failed to work.
>

Dan,

Their job is to keep the server running, not fix your pages for you.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: Site moved and now php code does not appear to work

am 20.04.2008 14:49:47 von Chris Heilman

Jerry Stuckle wrote:

> dan wrote:
> > JackM wrote:
> >
> > > dan wrote:
> > > > Peter H. Coffin wrote:
> > > > > Code's probably fine, as far as it goes. Webserver's probably
> > > > > just configured differently and you need all those .html
> > > > > pages and links to them to become .php pages instead.
> > > > Yep. I changed all html extensions to php and changed all code
> > > > references from html to php and my site is back up and running.
> > > > Sadly, I need a new ISP. This new one could not even get me
> > > > back up and running and that's his business.
> > > >
> > > > Thanks to all for your help!
> > > If (1) you don't have thousands of pages on your site and (2) the
> > > new host allows you to use htaccess files, then all you needed to
> > > do was add a single line in there that would parse all .html
> > > pages for php:
> > >
> > > If it's using PHP4:
> > > AddType application/x-httpd-php .php .htm .html
> > >
> > > or PHP5:
> > > AddHandler application/x-httpd-php5 .html .htm .php
> >
> > Tried that and it failed to work.
> >
>
> Dan,
>
> Their job is to keep the server running, not fix your pages for you.

They BUILD and MAINTAIN websites as part of their service.

--

Re: Site moved and now php code does not appear to work

am 20.04.2008 15:07:25 von Jerry Stuckle

dan wrote:
> Jerry Stuckle wrote:
>
>> dan wrote:
>>> JackM wrote:
>>>
>>>> dan wrote:
>>>>> Peter H. Coffin wrote:
>>>>>> Code's probably fine, as far as it goes. Webserver's probably
>>>>>> just configured differently and you need all those .html
>>>>>> pages and links to them to become .php pages instead.
>>>>> Yep. I changed all html extensions to php and changed all code
>>>>> references from html to php and my site is back up and running.
>>>>> Sadly, I need a new ISP. This new one could not even get me
>>>>> back up and running and that's his business.
>>>>>
>>>>> Thanks to all for your help!
>>>> If (1) you don't have thousands of pages on your site and (2) the
>>>> new host allows you to use htaccess files, then all you needed to
>>>> do was add a single line in there that would parse all .html
>>>> pages for php:
>>>>
>>>> If it's using PHP4:
>>>> AddType application/x-httpd-php .php .htm .html
>>>>
>>>> or PHP5:
>>>> AddHandler application/x-httpd-php5 .html .htm .php
>>> Tried that and it failed to work.
>>>
>> Dan,
>>
>> Their job is to keep the server running, not fix your pages for you.
>
> They BUILD and MAINTAIN websites as part of their service.
>

Their job is NOT to troubleshoot and fix YOUR code. It is only to
supply you with a place to host your site. If they also design
websites, they are responsible for what they do.

YOU, not your hosting company, are responsible for the code, html, etc.
that you supply. You want them to take over responsibility? Then
expect to pay for it. Big bucks.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: Site moved and now php code does not appear to work

am 20.04.2008 15:17:19 von Chris Heilman

Jerry Stuckle wrote:

> dan wrote:
> > Jerry Stuckle wrote:
> >
> > > dan wrote:
> > > > JackM wrote:
> > > >
> > > > > dan wrote:
> > > > > > Peter H. Coffin wrote:
> > > > > > > Code's probably fine, as far as it goes. Webserver's
> > > > > > > probably just configured differently and you need all
> > > > > > > those .html pages and links to them to become .php pages
> > > > > > > instead.
> > > > > > Yep. I changed all html extensions to php and changed all
> > > > > > code references from html to php and my site is back up and
> > > > > > running. Sadly, I need a new ISP. This new one could not
> > > > > > even get me back up and running and that's his business.
> > > > > >
> > > > > > Thanks to all for your help!
> > > > > If (1) you don't have thousands of pages on your site and (2)
> > > > > the new host allows you to use htaccess files, then all you
> > > > > needed to do was add a single line in there that would parse
> > > > > all .html pages for php:
> > > > >
> > > > > If it's using PHP4:
> > > > > AddType application/x-httpd-php .php .htm .html
> > > > >
> > > > > or PHP5:
> > > > > AddHandler application/x-httpd-php5 .html .htm .php
> > > > Tried that and it failed to work.
> > > >
> > > Dan,
> > >
> > > Their job is to keep the server running, not fix your pages for
> > > you.
> >
> > They BUILD and MAINTAIN websites as part of their service.
> >
>
> Their job is NOT to troubleshoot and fix YOUR code. It is only to
> supply you with a place to host your site. If they also design
> websites, they are responsible for what they do.
>
> YOU, not your hosting company, are responsible for the code, html,
> etc. that you supply. You want them to take over responsibility?
> Then expect to pay for it. Big bucks.

If you say so.

--

Re: Site moved and now php code does not appear to work

am 20.04.2008 21:22:44 von lws4art

dan wrote:

> Yes. This is one of the pages crashing:
> http://www.jaymartinreptiles.com/tips.html
>

That's because it is "tips.php" not "tips.html" Most server
configurations require the php extension so not to waste resource trying
to process static html content...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com