I am new to TBS and Joomla with very basic php and mysql knowlege so this will likely be a very simple oversight.
I am working with Joomla and the examples to learn the system. I managed to get the 'Data MySQL' example working fine with an external database.
However, having copied the 'Enter data in a form' example to the Joomla site, I get the following error when clicking on the relevant Joomla link:
TinyButStrong Error in field [onshow.x_type...] : the PHP global variable named 'x_type' does not exist or is not set yet. This message can be cancelled using parameter 'noerr'.
TinyButStrong Error in field [onshow.x_name...] : the PHP global variable named 'x_name' does not exist or is not set yet. This message can be cancelled using parameter 'noerr'.
TinyButStrong Error in field [onshow.x_subname...] : the PHP global variable named 'x_subname' does not exist or is not set yet. This message can be cancelled using parameter 'noerr'.
TinyButStrong Error in field [onshow.msg_color...] : the PHP global variable named 'msg_color' does not exist or is not set yet. This message can be cancelled using parameter 'noerr'.
TinyButStrong Error in field [onshow.msg_text...] : the PHP global variable named 'msg_text' does not exist or is not set yet. This message can be cancelled using parameter 'noerr'.
The source code for the displayed page is below:
<br /><b>TinyButStrong Error</b> in field [onshow.x_type...] : the PHP global variable named 'x_type' does not exist or is not set yet. <em>This message can be cancelled using parameter 'noerr'.</em><br />
<br /><b>TinyButStrong Error</b> in field [onshow.x_name...] : the PHP global variable named 'x_name' does not exist or is not set yet. <em>This message can be cancelled using parameter 'noerr'.</em><br />
<br /><b>TinyButStrong Error</b> in field [onshow.x_subname...] : the PHP global variable named 'x_subname' does not exist or is not set yet. <em>This message can be cancelled using parameter 'noerr'.</em><br />
<br /><b>TinyButStrong Error</b> in field [onshow.msg_color...] : the PHP global variable named 'msg_color' does not exist or is not set yet. <em>This message can be cancelled using parameter 'noerr'.</em><br />
<br /><b>TinyButStrong Error</b> in field [onshow.msg_text...] : the PHP global variable named 'msg_text' does not exist or is not set yet. <em>This message can be cancelled using parameter 'noerr'.</em><br />
<form action="index.php" method="post" name="frm_info" id="frm_info">
<table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="296"><table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td height="20" bgcolor="#BBCCED">Enter information:</td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr align="left" valign="bottom" class="back-special2">
<td width="76">Gender : </td>
<td width="212"><select name="x_type" class="normal" id="select2">
<option value="-"><other></option><option value="Mr">Mister</option><option value="Mme">Madame</option><option value="Ms">Missis</option>
<option>[onshow.x_type;ope=html;select]</option>
</select>
</td>
</tr>
<tr align="left" valign="bottom" class="back-special2">
<td>Last name: </td>
<td><input name="x_name" type="text" class="normal" id="x_name2" value="[onshow.x_name]">
</td>
</tr>
<tr align="left" valign="bottom" class="back-special2">
<td>First name:</td>
<td><input name="x_subname" type="text" class="normal" id="x_subname2" value="[onshow.x_subname]">
</td>
</tr>
</table></td>
</tr>
<tr>
<td height="30" bgcolor="#BBCCED"><div align="center">
<input name="btn_save" type="submit" class="normal" id="btn_save2" value=" Validate ">
</div></td>
</tr>
</table></td>
</tr>
</table>
<div align="center"><br>
<strong><font color="[onshow.msg_color]">[onshow.msg_text]</font></strong> </div>
</form>
|
Why is this page being displayed out of the joomla site and how do I fix these errors as there is nothing in the example files defining these global variables that I noticed?