jsadony
06-18-2006, 06:53 PM
I am also posting this to the zweather support forum...
I use a slightly midified version of eslist to display the latest event in a small module. Here's the code:
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "<A href="http://www.w3.org/TR/html4/loose.dtd"><?php">http://www.w3.org/TR/html4/loose.dtd"><?php $CSS=1; require ("calendar/calendar.php"); ?>
<table align="center">
<tr><td>
<br>
<?php
$LIST=1;
$DF = "M d";
$template="monthly_list_rdm.php";
require ("calendar/calendar.php");
?>
<div style="text-align: center;">[<a href="<?php echo $mosConfig_live_site;?>/modules/calendar/full_rdm.php" target="_blank">view full calendar</a>]
</div>
</td>
</tr></table>
Here's the problem: When the 'eslist' module is executed before the zweather module (http://www.zcontent.net) it seems that zweather picks up some variable settings from ezphpcal. See zweather the error below:
DB function failed with error number 1146
Table 'ezphpcal.jos_zweather' doesn't exist SQL=SELECT id FROM jos_zweather AS m WHERE published = 1 AND access <= '0' ORDER BY m.ordering ASC
If my template executes zweather before eslist then things are ok. Problem is this limits my placement of both modules. Unfortunately I do not have the PHP skills to t/s the problem further. Please advise. No other modules seem to be affected.
Thanks!
Joe
I use a slightly midified version of eslist to display the latest event in a small module. Here's the code:
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "<A href="http://www.w3.org/TR/html4/loose.dtd"><?php">http://www.w3.org/TR/html4/loose.dtd"><?php $CSS=1; require ("calendar/calendar.php"); ?>
<table align="center">
<tr><td>
<br>
<?php
$LIST=1;
$DF = "M d";
$template="monthly_list_rdm.php";
require ("calendar/calendar.php");
?>
<div style="text-align: center;">[<a href="<?php echo $mosConfig_live_site;?>/modules/calendar/full_rdm.php" target="_blank">view full calendar</a>]
</div>
</td>
</tr></table>
Here's the problem: When the 'eslist' module is executed before the zweather module (http://www.zcontent.net) it seems that zweather picks up some variable settings from ezphpcal. See zweather the error below:
DB function failed with error number 1146
Table 'ezphpcal.jos_zweather' doesn't exist SQL=SELECT id FROM jos_zweather AS m WHERE published = 1 AND access <= '0' ORDER BY m.ordering ASC
If my template executes zweather before eslist then things are ok. Problem is this limits my placement of both modules. Unfortunately I do not have the PHP skills to t/s the problem further. Please advise. No other modules seem to be affected.
Thanks!
Joe