Note: Due to the amount of SPAM received in the forums and to better serve our customers, support is now done by sending a message using the "Contact" link above . This forum is set to read-only, but you can still search the forum.

Zap Weather Questions and Comments

TOPIC: Z weather will not save with 'var' statement

Z weather will not save with 'var' statement 9 years 2 months ago #5005

  • profound1
  • profound1's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Hello,
I have a problem whenever I include "var=" in the code, the save takes me to a blank page. If I remove the 'var' statement it saves immediately. I am running under Joomla! 3.3.6 Stable.
Here is a portion of the code:
==============
<p>Six Day Forecast</p>
<p>{zweather loc=5}</p>
<table style="margin: 4px; background-color: #ddddff; border: #bbbbff 2px solid; padding: 4px;">
<tbody>
<tr style="border: 0px;">
<td><img src="{zweather var=f24_icon,index=0}" alt="" align="left" border="0" /> <strong>Today:</strong><br />{zweather var=f24_weather,index=0}<br /><strong>Hi:</strong> {zweather var=f24_maxtemp,index=0}°<br /><strong>Low:</strong> {zweather var=f24_mintemp,index=0}°</td>
<td><img src="{zweather var=f24_icon,index=1}" alt="" align="left" border="0" /><strong>Tomorrow:</strong><br />{zweather var=f24_weather,index=1}<br /><strong>Hi:</strong> {zweather var=f24_maxtemp,index=1}°<br /><strong>Low:</strong> {zweather var=f24_mintemp,index=1}°</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
======================
Any ideas??
Last Edit: 9 years 2 months ago by profound1. Reason: additional information
The administrator has disabled public write access.

Z weather will not save with 'var' statement 9 years 2 months ago #5022

  • cogliano
  • cogliano's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1854
  • Thank you received: 58
  • Karma: 29
Perhaps it is the editor you are using. You can try saving using the "None" editor for a straight text editor to see if that is the problem.
The administrator has disabled public write access.

Z weather will not save with 'var' statement 9 years 2 months ago #5024

  • profound1
  • profound1's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Tried turning off editor, but made no difference. Looked in web server log file and found this error:


[Fri Jan 16 21:29:24.384120 2015] [:error] [pid 1000:tid 824] [client ::1:53798] PHP Fatal error: Class 'zWeatherVars' not found in C:\\Server\\www\\nws2me\\plugins\\content\\zapweather\\zapweather.php on line 122, referer: http://localhost/nws2me/administrator/index.php?option=com_content&view=article&layout=edit&id=1024
The administrator has disabled public write access.
Time to create page: 0.085 seconds
Powered by Kunena Forum