Hi All,
I haven't really been keeping up with anything to do with my weather website for a while - it's mostly just been working very nicely as I wanted it for the last few years!
But recently I've been having issues with the website address - with newer versions of iOS and MacOS, it's pushing me to the https address instead of http. The http address works fine, but https doesn't.
So, I thought I'd start looking into it - but now I come to login to admin (the lock icon on bottom right of page) it won't let me: I get the message "Unauthorised access". I'm pretty sure I have the right password; if I use anything else I get a different message: "Unauthorized access! Incorrect password specified.".
Can anyone point me in the right direction to start moving forward? I'm on the older version of Meteotemplate (18.0) - this is one thing I also want to address!
Thanks!
"Unauthorised access" for admin user
- Jolumarali
- Forecaster

- Posts: 249
- Joined: Sun Aug 20, 2017 2:06 pm
- Location: Lignerolles
- Station model: Vantage Vue
- Software: WlIP
- Contact:
Re: "Unauthorised access" for admin user
Find the FTP password in the config.php file 
Station météo amateur Lignerolles
OS : Windows 11 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya
https://meteo-lignerolles.fr
José Luis
-
davidefa
- Expert

- Posts: 888
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: "Unauthorised access" for admin user
Also if you enabled the 'Additional Security' option in the main setup you are allowed to access the administrative pages only from the supplied adresses.
If this is the case and you can't login from those addresses anymore, I think you can edit the config.php script near line 152 and:
a) set $enableAdminIP to false ( so you can use any ip to access the admin panel )
or
b) set $adminIPs to the ip you are using now ( you can insert multiple ips separated by commas )
If this is the case and you can't login from those addresses anymore, I think you can edit the config.php script near line 152 and:
a) set $enableAdminIP to false ( so you can use any ip to access the admin panel )
or
b) set $adminIPs to the ip you are using now ( you can insert multiple ips separated by commas )
Code: Select all
$enableAdminIP = false;
$adminIPs = 'xxx.yyy.zzz.www';
Re: "Unauthorised access" for admin user
Thanks - yes, in the meantime I had found a post about that, and checked the config.php - I am indeed using the correct password!
Re: "Unauthorised access" for admin user
Thanks - yes, was already false that one it seems, so does't help unfortunately!davidefa wrote: ↑Thu Jan 02, 2025 5:25 pm Also if you enabled the 'Additional Security' option in the main setup you are allowed to access the administrative pages only from the supplied adresses.
If this is the case and you can't login from those addresses anymore, I think you can edit the config.php script near line 152 and:
a) set $enableAdminIP to false ( so you can use any ip to access the admin panel )
or
b) set $adminIPs to the ip you are using now ( you can insert multiple ips separated by commas )
Code: Select all
$enableAdminIP = false; $adminIPs = 'xxx.yyy.zzz.www';
adminip.png
-
davidefa
- Expert

- Posts: 888
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: "Unauthorised access" for admin user
You can try using this authorize.php script ( extract it in the admin folder it will overwrite the existing script ).
I've only commented out lines 40-42, so you should be able to login after providing the admin password.
P.S.
Which php version are you using?
I've only commented out lines 40-42, so you should be able to login after providing the admin password.
P.S.
Which php version are you using?
- Attachments
-
- authorize.zip
- (927 Bytes) Downloaded 417 times
Re: "Unauthorised access" for admin user
Thanks! Will give that a try once work stop pinging me 
I'm on 7.4 I believe.
I'm on 7.4 I believe.
