Google Groups Home
Help | Sign in
TypeError: element has no properties / TypeError: Null value in Chapter 5
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Tom Dunning  
View profile
 More options May 28, 6:17 am
From: Tom Dunning <tom.dunn...@aspectdesign.co.uk>
Date: Wed, 28 May 2008 03:17:46 -0700 (PDT)
Local: Wed, May 28 2008 6:17 am
Subject: TypeError: element has no properties / TypeError: Null value in Chapter 5
Hi,

I've been following the book through and am now at Ch 5, working on
the AJAX add to basket functionality.

It all seems to be fine except for the following error:

RJS error:
TypeError: element has no properties
(in Camino)

or

TypeError: Null value (in Safari)

these appear in dialog boxes, after these are OK'd the cart then
updates.

I've been over the code and cant see what would be triggering this.

Thanks in advance.

Tom.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jarkko Laine  
View profile
 More options May 28, 7:00 am
From: Jarkko Laine <jar...@jlaine.net>
Date: Wed, 28 May 2008 14:00:24 +0300
Local: Wed, May 28 2008 7:00 am
Subject: Re: [railsecommerce] TypeError: element has no properties / TypeError: Null value in Chapter 5

Hi Tom,

On 28.5.2008, at 13.17, Tom Dunning wrote:

Can you try it in Firefox using Firebug? It would probably give you  
more information about where the problem is.

//jarkko

> Tom.

> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google  
> Groups "Beginning Ruby on Rails E-Commerce" group.
> To post to this group, send email to railsecommerce@googlegroups.com
> To unsubscribe from this group, send email to railsecommerce-unsubscribe@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/railsecommerce?hl=en
> -~----------~----~----~----~------~----~------~--~---

--
Jarkko Laine
http://jlaine.net
http://dotherightthing.com
http://www.railsecommerce.com
http://odesign.fi

  smime.p7s
3K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Dunning  
View profile
 More options May 30, 6:12 am
From: Tom Dunning <tom.dunn...@aspectdesign.co.uk>
Date: Fri, 30 May 2008 03:12:13 -0700 (PDT)
Local: Fri, May 30 2008 6:12 am
Subject: Re: TypeError: element has no properties / TypeError: Null value in Chapter 5
it says the problem is at line 866 of prototype.js, which reads:

   this.transport.send(body);

As someone new to ruby i not sure which element is missing properties
(it's being given the book id, what more does it need?!)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Dunning  
View profile
 More options May 30, 10:44 am
From: Tom Dunning <tom.dunn...@aspectdesign.co.uk>
Date: Fri, 30 May 2008 07:44:14 -0700 (PDT)
Local: Fri, May 30 2008 10:44 am
Subject: Re: TypeError: element has no properties / TypeError: Null value in Chapter 5

*UPDATE*

this same error, and line is appearing when i run the remove command.

On May 30, 11:12 am, Tom Dunning <tom.dunn...@aspectdesign.co.uk>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jarkko Laine  
View profile
 More options Jun 2, 2:45 am
From: Jarkko Laine <jar...@jlaine.net>
Date: Mon, 2 Jun 2008 09:45:23 +0300
Local: Mon, Jun 2 2008 2:45 am
Subject: Re: [railsecommerce] Re: TypeError: element has no properties / TypeError: Null value in Chapter 5

On 30.5.2008, at 13.12, Tom Dunning wrote:

> it says the problem is at line 866 of prototype.js, which reads:

>   this.transport.send(body);

> As someone new to ruby i not sure which element is missing properties
> (it's being given the book id, what more does it need?!)

The error is from Javascript, not Ruby. Can you update all the  
javascripts (there's a rake task for that in Rails) and see whether  
the error will go away?

//jarkko

--
Jarkko Laine
http://jlaine.net
http://dotherightthing.com
http://www.railsecommerce.com
http://odesign.fi

  smime.p7s
3K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Dunning  
View profile
 More options Jun 2, 4:44 am
From: Tom Dunning <tom.dunn...@aspectdesign.co.uk>
Date: Mon, 2 Jun 2008 01:44:57 -0700 (PDT)
Local: Mon, Jun 2 2008 4:44 am
Subject: Re: TypeError: element has no properties / TypeError: Null value in Chapter 5

On Jun 2, 7:45 am, Jarkko Laine <jar...@jlaine.net> wrote:

> The error is from Javascript, not Ruby. Can you update all the
> javascripts (there's a rake task for that in Rails) and see whether
> the error will go away?

> //jarkko

> --
> Jarkko Lainehttp://jlaine.nethttp://dotherightthing.comhttp://www.railsecommerce....

>  smime.p7s
> 3KDownload

I've run "rake rails:update:javascripts" and it ran, but the error
still remains.
Ideas?

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google