Page 1 of 1

</>html on a PHP page

Posted: Sun May 29, 2022 9:51 pm
by Lasa
I added some </>html on a PHP page (it's a php page because it has a form on it)
It previews perfectly since it previews as index.HTML... but when I upload to my site the page is actually index.PHP and the </> html objects don't show?
An Idea on how to have them show?

It might not be that, but it's the only explanation I have that the preview is perfect as html and not showing in php.
Lasa

Re: </>html on a PHP page

Posted: Sun May 29, 2022 11:52 pm
by BaconFries
To be able to help you, you will need to either proved a url or a basic copy (demo) of the project (page) see the following
How do I share my project to get help? otherwise it is just guessing.

Re: </>html on a PHP page

Posted: Mon May 30, 2022 12:29 am
by Lasa
At first, I thought it was a php - </>html issue since it worked on preview but not on the actual php site.... but later I uploaded to a test site of mine and the added </>html works fine.

(the issue is two youtube </> html object beside the image collage)

It's so weird... I have the exact same site up in two places, all 78 files uploaded to both.
http://threefooter.com/tradefair2023/index.php <-- test site ok
and
http://exportimporttradeshow.com/aaa/index.php <-- real site problem.
I went in and made sure all the added js and css got loaded and yes for both...

I'm missing something,

Lasa

Re: </>html on a PHP page

Posted: Mon May 30, 2022 6:04 am
by Pablo
The file lazyYT.js is missing

Re: </>html on a PHP page

Posted: Mon May 30, 2022 10:34 am
by Lasa
Pablo,
I looked at the root and there was a lazyyt.js and layyt.css file (All lower case) uploaded using the File Publisher.
So I added the lazyYT.js and the layYT.css to the File publisher and uploaded again... it's now in the root as lazyYT.js and layYT.css and working perfectly!?

Does that make sense that 1&1 hosting works perfectly with layyt.js and layyt.css or alayYT.js and layYT.css doesn't matter.
Network Solutions required layYT.js and layYT.css only?

Anyway, thanks for the heads up.
Lasa

Re: </>html on a PHP page

Posted: Mon May 30, 2022 11:17 am
by Pablo
Note that most servers are case sensitive.
So, lazyyt.js is not the same as lazyYT.js

Re: </>html on a PHP page

Posted: Mon May 30, 2022 12:00 pm
by Lasa
Thanks