enricsanz Posted July 1, 2021 Report Share Posted July 1, 2021 Hello, I'm trying to load the page, but it shows this error: Parse error: syntax error, unexpected '[' in /storage/ssd4/490/17158490/public_html/core/modules/Weather/Weather.php on line 17 And this is the line 17 of the weather.php file curl_setopt($ch, CURLOPT_HTTPHEADER, ['X-API-Key: '.WeatherData::$api]); I've tried to delete the [ but it shows me another error. Hope you can help me Regards. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted July 1, 2021 Administrators Report Share Posted July 1, 2021 phpVMS version? PHP version? MySQL or MariaDB version? What weather module? Quote Link to comment Share on other sites More sharing options...
enricsanz Posted July 1, 2021 Author Report Share Posted July 1, 2021 PHPVMS -> 5.5.2 PHP -> 5.2 MariaDB and the weather module that comes with the StislaSkin Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted July 1, 2021 Administrators Report Share Posted July 1, 2021 What MariaDB version? Is Curl active on your server? Is this a new install? The developer of the Stisla skin hasn't been active on the forum in quite some time. Chances of getting specific skin support or support for any modules that were included are slim. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted July 1, 2021 Administrators Report Share Posted July 1, 2021 Is this the skin you are using? If not, provide a valid link to the skin. That skin is for phpVMS 5.5.2.72 - not phpVMS 5.5.2 Additionally, the weather module needs an API key as explained in the above topic. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.