Advertisement

[INFO REQUIRED] scripting error in contact.html.php Joomla version 1.0.10

Locked
User avatar
Chris
Joomla! Guru
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

Post by Chris » Fri Aug 04, 2006 8:17 am

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

Advertisement
User avatar
toubkal
Joomla! Hero
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

Post by toubkal » Fri Aug 04, 2006 8:26 am

Hi Chris,

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
Is it possible that you have a pre-final release version of 1.0.10 or you may have edited the file previously?
Do you want the answer to be as vague as your question?

User avatar
toubkal
Joomla! Hero
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

Post by toubkal » Fri Aug 04, 2006 8:28 am

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?

User avatar
Chris
Joomla! Guru
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

Post by Chris » Fri Aug 04, 2006 10:45 pm

Downloaded version 1.0.10 again and indeed, that , as it should be.

Code: Select all

**
* @version $Id: contact.html.php 4072 2006-06-20 16:47:46Z stingrey $
* @package Joomla
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:

Code: Select all

echo "<tr><td></td></tr>";
end that solved the problem for me.
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

User avatar
jxl
Joomla! Guru
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

Post by jxl » Sat Aug 05, 2006 4:43 am

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.

User avatar
Chris
Joomla! Guru
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

Post by Chris » Sat Aug 05, 2006 4:58 am

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.
There must be different versions around.

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

User avatar
jxl
Joomla! Guru
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

Post by jxl » Sat Aug 05, 2006 5:34 am

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.

user deleted

Re: [INFO REQUIRED] scripting error in contact.html.php Joomla version 1.0.10

Post by user deleted » Tue Oct 24, 2006 2:14 pm

Q&T Note; both unconfirmed and superseded. Moving to superseded.

User avatar
JoshM
Joomla! Apprentice
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

Post by JoshM » Fri Feb 23, 2007 7:00 pm

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

Locked

Return to “Superseded Issues - Archive”