Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP error - website down #24

Open
webcrete opened this issue Mar 25, 2016 · 7 comments
Open

PHP error - website down #24

webcrete opened this issue Mar 25, 2016 · 7 comments

Comments

@webcrete
Copy link

Hello ,
I have joomla 2.5 and the latest weather module 1.7. I receive a blank page, the website braeks comletelly down wherever the module is active, with this message:

Parse error: syntax error, unexpected ':' in /home4/eastcret/public_html/silogos/libraries/joomla/utilities/simplexml.php(386) : eval()'d code on line 1

Fatal error: Call to a member function attributes() on a non-object in /home4/eastcret/public_html/silogos/modules/mod_weather_gk4/helper.php on line 377

Please, what can be wrong here?? My server maybe?? The website worked perfectly until 2-3 days ago. Sudenly we have this error.
Thank you for your help!

@db8878
Copy link

db8878 commented Mar 28, 2016

I have the exact same issue. Started about the same time as the person above which makes me think something is broke on at a source server. I have it installed on a 2.5 site and a 3.0.
On the 2.5 site - blank site, on the 3.0 site - it shows up but the module shows "?" question marks for the data.
Looking for another module I found SP Weather. It's demo is down too. Do they both use yahoo weather as source data? I found this on the yahoo API page.......
"To increase the security measure and better serving our YDN customers, weather data source will enforce OAuth 1 starting March 15, 2016. Please update your API calls with OAuth 1 enabled (via the OAuth /v1/yql end point if using YQL) using your Yahoo App key and secret......"

Has yahoo weather API changed? Could this be the reason nether module is working now?

@InformatiqueProg
Copy link

Same issue, having "?" for the data (on Joomla! 3.4.8)

@InformatiqueProg
Copy link

I have found this solution
https://www.gavick.com/forums/gk-weather/weather-gk4-error-message-n-a-50756
Not the good line for me, but change URL resole this.

@dziudek
Copy link
Contributor

dziudek commented Mar 29, 2016

@InformatiqueProg - thank you for your pull request :) I've also applied some other fixes which could cause issues and you can now download v.1.7.2 from: https://github.com/GavickPro/Weather/releases/tag/v.1.7.2

@julandesign
Copy link

I've updated the module and check the help.php file and it's showing the xml link correctly. However, I'm still getting the question mark for everything. Anything else I need to change or update? I'm on a Joomla 3.4.8.

@dziudek
Copy link
Contributor

dziudek commented Mar 31, 2016

@julandesign - please check if the weather works for other locations like new york - maybe there is no weather data for your area or you have provided wrong WOEID number.

@nathaliaelyzanethi
Copy link

nathaliaelyzanethi commented Jun 5, 2016

weather

He stopped giving the Fatal error. But the weather and dates is totally different from WOIED I chose.
I am using joomla 2.5 also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants