Aqa...@ao... writes:
> Warning: Unable to access
> /users/iwebland.com/weather/wwx/weather/db/files/stations.db in /users/iwebland.com/weather/wwx/weather/db/pw_db_null.php on line
> 113
[...]
> Fatal error: Call to undefined function: fsockopen() in
> /users/iwebland.com/weather/wwx/weather/data_retrieval.php on line 149
>
> so again, please tell what can i do about this?
The errors tells us that several key files are missing --- did you
upload the entire phpweather directory to your server? You should try
and navigave to <phpweather base directory>/db/files and see if the
stations.db file is there.
If the file is there, then perhaps there's a problem with the
permissions on the files. The files must be readable by PHP (which
means that the webserver must be able to read them). You can see the
permissions with a 'ls -l' command in your FTP program, you should see
something like this
ncftp ...weather-2.1.0/db/files > ls -l
-rw-r--r-- 1 gimpster nobody 415 jan 2 15:57 AE.php
-rw-r--r-- 1 gimpster nobody 343 jan 2 15:58 AF.php
-rw-r--r-- 1 gimpster nobody 208 jan 2 15:58 AG.php
[...]
-rw-r--r-- 1 gimpster nobody 213 jan 2 15:59 SO.php
-rw-r--r-- 1 gimpster nobody 151 jan 2 15:58 SR.php
-rw-r--r-- 1 gimpster nobody 656768 jan 2 15:59 stations.db
[...]
Tell us what you see and we'll try and find a solution.
--
Martin Geisler My GnuPG Key: 0xF7F6B57B
See http://gimpster.com/ and http://phpweather.net/ for:
PHP Weather: Shows the current weather on your webpage and
PHP Shell: A telnet-connection (almost :-) in a PHP page.
|