Advertisement
[INFO REQUIRED] scripting error in contact.html.php Joomla version 1.0.10
- Chris
- Joomla! Guru
- Posts: 812
- Joined: Sat Aug 20, 2005 3:58 am
- Location: Australia
- Contact:
[INFO REQUIRED] scripting error in contact.html.php Joomla version 1.0.10
line 77 of contact.html.php reads:
Last edited by toubkal on Fri Aug 04, 2006 8:26 am, edited 1 time in total.
There is no failure until you give up.
Chris
Chris
Advertisement
- toubkal
- Joomla! Hero
- Posts: 2860
- Joined: Thu Aug 18, 2005 4:35 pm
- Location: Cheshire, England
- Contact:
Re: scripting error in contact.html.php Joomla version 1.0.10
Hi Chris,
I have looked in three 1.0.10 sites and all are fine (updated sites and fresh installs )
Is it possible that you have a pre-final release version of 1.0.10 or you may have edited the file previously?
I have looked in three 1.0.10 sites and all are fine (updated sites and fresh installs )
Code: Select all
// Displays listing of Categories
if ( ( $params->get( 'type' ) == 'category' ) && $params->get( 'other_cat' ) ) {
HTML_contact::showCategories( $params, $categories, $catid );
} else if ( ( $params->get( 'type' ) == 'section' ) && $params->get( 'other_cat_section' ) ) {
HTML_contact::showCategories( $params, $categories, $catid );
}
?>
</td>
</tr>
</table>
</form>
<?php
Do you want the answer to be as vague as your question?
- toubkal
- Joomla! Hero
- Posts: 2860
- Joined: Thu Aug 18, 2005 4:35 pm
- Location: Cheshire, England
- Contact:
Re: [INFO REQUIRED] scripting error in contact.html.php Joomla version 1.0.10
This is the version info from the top of my file
Code: Select all
/**
* @version $Id: contact.html.php 4072 2006-06-20 16:47:46Z stingrey $
* @package Joomla
Do you want the answer to be as vague as your question?
- Chris
- Joomla! Guru
- Posts: 812
- Joined: Sat Aug 20, 2005 3:58 am
- Location: Australia
- Contact:
Re: [INFO REQUIRED] scripting error in contact.html.php Joomla version 1.0.10
Downloaded version 1.0.10 again and indeed, that , as it should be.
However, there is still a problem with incorrect nesting of the and tags.
There are 3 or 4 instances where the and tags are OUTSIDE of an 'if' statement whilst the subsequent and , and the tags are WITHIN the 'if' statement.
I always check my site for compliance and found com_contact lacking.
For curiosity check, I looked at 'roblink' s website and the contact link and found the same error popping up when checking for valid code.
I have added the following after those 3 or 4 instances of being outside of the 'if' statement:
end that solved the problem for me.
Code: Select all
**
* @version $Id: contact.html.php 4072 2006-06-20 16:47:46Z stingrey $
* @package Joomla
There are 3 or 4 instances where the and tags are OUTSIDE of an 'if' statement whilst the subsequent and , and the tags are WITHIN the 'if' statement.
I always check my site for compliance and found com_contact lacking.
For curiosity check, I looked at 'roblink' s website and the contact link and found the same error popping up when checking for valid code.
I have added the following after those 3 or 4 instances of being outside of the 'if' statement:
Code: Select all
echo "<tr><td></td></tr>";
Last edited by Chris on Fri Aug 04, 2006 10:57 pm, edited 1 time in total.
There is no failure until you give up.
Chris
Chris
- jxl
- Joomla! Guru
- Posts: 650
- Joined: Wed Dec 21, 2005 10:32 pm
- Contact:
Re: [INFO REQUIRED] scripting error in contact.html.php Joomla version 1.0.10
I came across this same problem today, but it is not on line 77 it is on line 420 of contact.html.php.
(This works out to be on about line 77 of the generated page)
I found the error in the Joomla_1.0.10-Stable-Full_Package.zip downloaded on July 17th. It also showed up on Fantastico installs.
(This works out to be on about line 77 of the generated page)
I found the error in the Joomla_1.0.10-Stable-Full_Package.zip downloaded on July 17th. It also showed up on Fantastico installs.
- Chris
- Joomla! Guru
- Posts: 812
- Joined: Sat Aug 20, 2005 3:58 am
- Location: Australia
- Contact:
Re: [INFO REQUIRED] scripting error in contact.html.php Joomla version 1.0.10
There must be different versions around.jxl wrote: I came across this same problem today, but it is not on line 77 it is on line 420 of contact.html.php.
(This works out to be on about line 77 of the generated page)
I found the error in the Joomla_1.0.10-Stable-Full_Package.zip downloaded on July 17th. It also showed up on Fantastico installs.
I had a few downloads of the full version 1.0.10 and also of the patched files for updating.
Don't know which one is which anymore but, yes, I did also find that error somewhere on line 420
But I can assure you, in my copy it was also line 77 and that was in a few downloaded version 1.0.10
Very interesting.
Must be a componenthat was overlooked for a checkout.
There is no failure until you give up.
Chris
Chris
- jxl
- Joomla! Guru
- Posts: 650
- Joined: Wed Dec 21, 2005 10:32 pm
- Contact:
Re: [INFO REQUIRED] scripting error in contact.html.php Joomla version 1.0.10
Thanks Chris, I'll check all my patch update downloads as well then. I don't really know what updates I used where anymore either as I have quite a number of installs. It's probably easier for me to just replace the file in all of them at this point.
Re: [INFO REQUIRED] scripting error in contact.html.php Joomla version 1.0.10
Q&T Note; both unconfirmed and superseded. Moving to superseded.
- JoshM
- Joomla! Apprentice
- Posts: 29
- Joined: Thu Aug 18, 2005 11:48 am
- Contact:
Re: [INFO REQUIRED] scripting error in contact.html.php Joomla version 1.0.10
this is still an issue with 1.0.12... bad formed table statements when checked for compliance.
Literal URLs only. See forum rules for details: http://forum.joomla.org/viewtopic.php?f=8&t=65
Advertisement