In this topic we should try to move the more common problems encountered when installing the PWS_Dashboard
Starting with the January 11 download there is a small test-script which is excuted the first time the fresh download is started.
It will do a few checks, such as “CURL” installed, and if all OK one can click to go to easyweathersetup.
Checks for other problem situations will be added to catch them with this test script
check 1 : $_SERVER["DOCUMENT_ROOT"]: result = OK, server = xyz.com
check 2.1 : Your current PHP version is : 7.3.9
check 2.2 : CURL support: result = OK
check 3.1 : file_exists: result = OK
check 3.2 : chdir: result = OK
check 3.3 : file_put_contents: result = OK
check 3.4 : chmod: result = OK
check 3.5 : unlink: result = OK
check 4 : json support: result = OK
check 5 : load file from test site : result = OK
No fatal errors,
To continue with installing the PWS_Dashboard, click here to start easyweathersetup
If you have questions post those questions at this "PWS_Dashboard part of the WW-forum
If some tests fail one should post in this topic and include the error message.
This test-script also will display a few lines of red text when PHP support is not available in the webserver.
Now I have to find time to write the How_To_Solve texts.
@ALL
Why do I need to know who you are or what version of the PWS_Dashboard you are using?
I need that information with 99% of the posts before I or anyone else can type an answer.
Always include a link to your PWS_Dashboard website.
General answer: For 2012_lts you only download the full “package” the first time.
Never redo the complete download as you wil easily loose your own updates, data a.s.o.
All updates after the first install are downloaded by using the PWS_updates.php script.
I normally post a new complete updated version for new users every month, if there are enough updates in the past month.
I assume you are using your own internal webserver?
A “standard” component is missing which is used to get the xml data for the earthquakes.
Fatal error: Uncaught Error: Call to undefined function [color=red][b]simplexml_load_string[/b][/color]()
in /var/www/html/pwsWD/PWS_quakes_load.php:56
xml files are common used and nearly all providers switch the needed functions on as default.
Thanks for support, I’ve done it before (sudo apt-get install php7.3-xml) but I had no results.
I just copied eqnotification.txt from your PWS, and now in module test have displayed correctly.
I have just uploaded the files to my website http://www.twinfirs.co.uk/pwsWD I have uploaded via Cpanel to the directory pwsWD
I have the following errors;-
check 1 : $_SERVER[“DOCUMENT_ROOT”]: result = OK, server = www.twinfirs.co.uk
check 2.1 : Your current PHP version is : 7.2.34
check 2.2 : CURL support: result = OK
check 3.1 : file_exists: result = OK check 3.2 : chdir: result = ERROR 3.2 chdir is not supported, ?open_basedir restriction in effect WARNING check 3.3 : file_put_contents: result = ERROR 3.3 file_put_contents is not supported, ?open_basedir restriction in effect or ./jsondata/ folder not writable FATAL
check 4 : json support: result = OK
check 5 : load file from test site : result = OK
There are multiple setup errors so you can not use the PWS_Dashboard on this server.
There are files missing http://www.twinfirs.co.uk/pwsWD/css/configure_css.css
There are folders missing such as jsondata/ ?? => NO DATA will be loaded - unable to open file to save data into
Is this your own web-server or are you using a provider?
Many thanks for your very helpful replies, I now have my site up and running at http://www.twinfirs.co.uk I have moved it to the root so it runs straight away.
I am getting errors when trying to access graphs, i gethis coding showing