Skip to main content
Gareth_Williams
Inspiring
January 7, 2024
Answered

Missing PHP Files?

  • January 7, 2024
  • 3 replies
  • 3412 views

Hi everybody, does anybody know why my php files won’t display online? I can view them on my computer using XAMPP but they won’t display online. I should have one at this url » http://www.maximum-robot.co.uk/WrestlingPHP/WrestlingFigures.php but I get this error message when I navigate to the page …

“Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Apache Server at www.maximum-robot.co.uk Port 80”

Thanks for your help
Gareth

This topic has been closed for replies.
Correct answer osgood_

Ok, it does work now on my original file which I first posted. I don't know why that test file doesn't work. Now I can ask the question that I originally wanted to ask, which is why are some of the images not showing? They all display on my deskop, in any browser and in Photoshop, but some of them do not display in the PHP! Should a make a new thread for this issue? http://www.maximum-robot.co.uk/WrestlingPHP/WrestlingFigures.php


quote

Ok, it does work now on my original file which I first posted. I don't know why that test file doesn't work. Now I can ask the question that I originally wanted to ask, which is why are some of the images not showing? They all display on my deskop, in any browser and in Photoshop, but some of them do not display in the PHP! Should a make a new thread for this issue? http://www.maximum-robot.co.uk/WrestlingPHP/WrestlingFigures.php


By @Gareth_Williams

 

Can you check the images are actually on the remote server?

 

For instance the 3rd one is not being found, either in the 'thumbs' folder:

http://www.maximum-robot.co.uk/WrestlingPHP/images/thumbs/2_MachoKing_#2.JPG

 

OR 'fullsize' folder:

 

http://www.maximum-robot.co.uk/WrestlingPHP/images/fullsize/2_MachoKing_#2.JPG

 

While your second image is found in the thumbs and fullsize folders:

 

http://www.maximum-robot.co.uk/WrestlingPHP/images/thumbs/2_Hacksaw.JPG
http://www.maximum-robot.co.uk/WrestlingPHP/images/fullsize/2_Hacksaw.JPG

 

Looking at the image naming convnention it appears any image that has the # (sharp symbol) as part of the name isn't being recognised by the server.

 

Do a test and rename at least one of them without including the # in the file name, just to confirm that is the issue.

3 replies

BenPleysier
Community Expert
Community Expert
January 7, 2024

If you want a reasonably priced host, then have a look at this video:

https://youtu.be/kaQqH9GIYh8?si=O1oZ_hdGbhgcsZ17

 

Here I have used a different editor, but the same applies to Dreamweaver. The server model used is NodeJS, but the same applies to PHP.

 

No setups. No configuration. No FTP. This is the link to the site.

 

 

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Gareth_Williams
Inspiring
January 8, 2024

Thanks Ben. I watched the video but didn’t understand what to do the first time! I will check out GitHub and Railway some time. It looks like it could be very useful for sure! Thanks again for your help.

Legend
January 9, 2024
quote

I will check out GitHub and Railway some time. It looks like it could be very useful for sure!


By @Gareth_Williams

 

 

.........or totally overkill for small-time website builders, who seem currently to be like lemmings, following influences such as those that 'control' the web. Be careful what complicated and unnecessary structures you get drawn into and make the right decisions that are appropriate for your use case, not the use case of multi-million dollar businesses.

Nancy OShea
Community Expert
Community Expert
January 7, 2024

I ran a Why No Padlock report below:

https://www.whynopadlock.com/results/8e8690bd-d58b-457b-88bd-00a548a582bf

 

Your host appears to be GoDaddy.  Find out which hosting plan you have. 

If I recall, free web hosting doesn't include access to PHP or MySQL support. 

https://www.godaddy.com/pricing?category=Websites

 

 

 

Nancy O'Shea— Product User & Community Expert
Gareth_Williams
Inspiring
January 8, 2024

Hi Nancy, thanks. Actually my host is Heart (https://www.heartinternet.uk/) and it's not free. I will try to find out if it allows PHP. I'll post an update here when I find out. Thanks again.

Legend
January 7, 2024

Does your remote server support php?

 

Create a blank file, insert the below block of php code into the file and save the file as phptest.php then upload the file to your remote server and browse to it in your browser.

 

<?php

phpinfo();

?>

 

Once you browse to the page it should return a lot of information about the version of php/ mysql running on your remote server. If it does we have established php is running on your remote server. If you get any other error then it's likely to be a server error and you must contact your hosting company.

 

Also it could be the versions of php/mysql on your locally hosted server Xampp and on your remote host are not compatible. If you are using an old version of Dreamweaver and the server behaviours then they will not work on a server which is running a version of php 7 or greater.

Gareth_Williams
Inspiring
January 7, 2024

I have uploaded the php test file with that code like you said but get the same error message when I navigate to it. It should be at this url … http://www.maximum-robot.co.uk/phptest.php

 

How can I find out if it is a server error or if my remote server does not support php? In other words, how can I find out if my server supports php? Thanks again.

Legend
January 7, 2024
quote

I have uploaded the php test file with that code like you said but get the same error message when I navigate to it. It should be at this url … http://www.maximum-robot.co.uk/phptest.php

 

How can I find out if it is a server error or if my remote server does not support php? In other words, how can I find out if my server supports php? Thanks again.


By @Gareth_Williams

 

That suggests to me you will need to contact your hosting provider as either there is a server error if youre getting an error message returned when you browse to the phptest.php - phpinfo(); file or your hosting package does  not include php