Thanks for suggestions. To clarify ports etc. My original w34 site that works on a pi2 is at deewx.ddns.net/wx/ It is OFF at the moment. The problem is on pi3b at wxdeeside.ddns.net/wx/
deewx is on port 80, wxdeeside is on 8080. Apache is set up for it, its forwarded in my router, and does work.
http://wxdeeside.ddns.net SHOULD produce a web site. Also
http://wxdeeside.ddns.net/metar-display.php works. (not the back button). Log of php is below.......
sudo tail -f /var/log/apache2/error.log
[Thu Nov 15 19:37:34.718929 2018] [:error] [pid 8546] [client 86.179.86.218:2569] PHP Warning: include(../shared.php): failed to open stream: No such file or directory in /var/www/html/wx/contact.php on line 1, referer:
http://wxdeeside.ddns.net/wx/contact.php
[Thu Nov 15 19:37:34.719014 2018] [:error] [pid 8546] [client 86.179.86.218:2569] PHP Warning: include(): Failed opening '../shared.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/wx/contact.php on line 1, referer:
http://wxdeeside.ddns.net/wx/contact.php
[Thu Nov 15 19:37:34.719082 2018] [:error] [pid 8546] [client 86.179.86.218:2569] PHP Notice: Undefined variable: stationName in /var/www/html/wx/contact.php on line 38, referer:
http://wxdeeside.ddns.net/wx/contact.php
[Thu Nov 15 19:37:34.719137 2018] [:error] [pid 8546] [client 86.179.86.218:2569] PHP Notice: Undefined variable: close in /var/www/html/wx/contact.php on line 44, referer:
http://wxdeeside.ddns.net/wx/contact.php
[Thu Nov 15 19:37:34.719191 2018] [:error] [pid 8546] [client 86.179.86.218:2569] PHP Notice: Undefined variable: email in /var/www/html/wx/contact.php on line 55, referer:
http://wxdeeside.ddns.net/wx/contact.php
[Thu Nov 15 19:37:34.719289 2018] [:error] [pid 8546] [client 86.179.86.218:2569] PHP Notice: Undefined variable: touchme2 in /var/www/html/wx/contact.php on line 63, referer:
http://wxdeeside.ddns.net/wx/contact.php
[Thu Nov 15 19:37:34.719342 2018] [:error] [pid 8546] [client 86.179.86.218:2569] PHP Notice: Undefined variable: twitter in /var/www/html/wx/contact.php on line 66, referer:
http://wxdeeside.ddns.net/wx/contact.php
[Thu Nov 15 19:37:34.719459 2018] [:error] [pid 8546] [client 86.179.86.218:2569] PHP Notice: Undefined variable: twitter in /var/www/html/wx/contact.php on line 73, referer:
http://wxdeeside.ddns.net/wx/contact.php
[Thu Nov 15 19:37:34.719507 2018] [:error] [pid 8546] [client 86.179.86.218:2569] PHP Notice: Undefined variable: touchme2 in /var/www/html/wx/contact.php on line 74, referer:
http://wxdeeside.ddns.net/wx/contact.php
[Fri Nov 16 09:39:17.315665 2018] [:error] [pid 8544] [client 86.179.86.218:5405] PHP Warning: fopen(settings1.php): failed to open stream: Permission denied in /var/www/html/wx/easyweathersetup.php on line 104, referer:
http://86.179.86.218:8080/wx/easyweathersetup.php
What is very odd is that contact.php does not exist. Its not in the download I have just done. However it is in a contact directory on the original site.!! Maybe easyweathersetup creates it..? At the moment wxdeeside has the files etc from the working pi. Still no joy. All permissions are as they should be. Easyweathersetup displays. Mooninfo displays. And some others.
Not going to spend much more time on this, but thanks for the help.
Cheers.................Geoff