Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Dajaxice is not defined!!! please heelpppp!! :(

Received: by 10.236.201.229 with SMTP id b65mr4327485yho.9.1336071911448;
        Thu, 03 May 2012 12:05:11 -0700 (PDT)
X-BeenThere: django-users@googlegroups.com
Received: by 10.236.134.204 with SMTP id s52ls2453046yhi.0.gmail; Thu, 03 May
 2012 12:04:34 -0700 (PDT)
Received: by 10.236.201.229 with SMTP id b65mr4325252yho.9.1336071874098;
        Thu, 03 May 2012 12:04:34 -0700 (PDT)
Received: by 10.236.201.229 with SMTP id b65mr4325249yho.9.1336071874074;
        Thu, 03 May 2012 12:04:34 -0700 (PDT)
Return-Path: <kurtis.mull...@gmail.com>
Received: from mail-yw0-f47.google.com (mail-yw0-f47.google.com [209.85.213.47])
        by gmr-mx.google.com with ESMTPS id y36si6303576yhg.2.2012.05.03.12.04.34
        (version=TLSv1/SSLv3 cipher=OTHER);
        Thu, 03 May 2012 12:04:34 -0700 (PDT)
Received-SPF: pass (google.com: domain of kurtis.mull...@gmail.com designates 209.85.213.47 as permitted sender) client-ip=209.85.213.47;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of kurtis.mull...@gmail.com designates 209.85.213.47 as permitted sender) smtp.mail=kurtis.mull...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-yw0-f47.google.com with SMTP id j56so2170160yhj.6
        for <django-users@googlegroups.com>; Thu, 03 May 2012 12:04:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        bh=yL+r0NSoGL3Rkl02OpuEY7hGNX79IsvKm29OlELHUpo=;
        b=fhLrGGHx/aPXXO8fHFHsl2TAhXWwim6iWWTq0Sva1NjoL8DNdxipzBX/QoVHKrBd3/
         QF4JMySiZRAVMDLDO4hkeYXBHyLkyKC9cUzO6GFkO7NbFFygw0wuf/jj7mR7pG2gLDhd
         85JXWFIWoDm+dOI2hWf12Ce7DqJUWGIQXzC9PewXUVp18sRKMyZ8PisNWOYq/flw8ypW
         krxy5KoUHqUHPr7dLSzm+ebEk/L6IiA26iQQRM2Q3/haJgd5KAR0e7bsMvhacHWWT2LD
         yOkrQiy96VKVsiAfUuW7pR72rtjCWGiiMw/XuU4yt36EBIkF6WwMtytdA2x5BJwmxYmx
         lYeg==
MIME-Version: 1.0
Received: by 10.50.45.231 with SMTP id q7mr1388384igm.42.1336071873919; Thu,
 03 May 2012 12:04:33 -0700 (PDT)
Received: by 10.231.170.198 with HTTP; Thu, 3 May 2012 12:04:33 -0700 (PDT)
In-Reply-To: <4619004.556.1336068074701.JavaMail.geo-discussion-forums@vbfx1>
References: <4619004.556.1336068074701.JavaMail.geo-discussion-forums@vbfx1>
Date: Thu, 3 May 2012 15:04:33 -0400
Message-ID: <CAPbEHsfTfFD0emgfwPaFJgWLiCAwX=jvyLLGcrg+Ry3KQ+2...@mail.gmail.com>
Subject: Re: Dajaxice is not defined!!! please heelpppp!! :(
From: Kurtis Mullins <kurtis.mull...@gmail.com>
To: django-users@googlegroups.com
Content-Type: multipart/alternative; boundary=14dae9340621707a6a04bf2679b2

--14dae9340621707a6a04bf2679b2
Content-Type: text/plain; charset=ISO-8859-1

Hey,

Try taking a practically-empty HTML page that only includes that
dajaxice.core.js file. Open up Firebug or some other Javascript console and
type in "Dajaxice;" to see if you get the same error. This definitely
sounds like a javascript problem since you're getting a "Dajaxice is not
defined" error.

As far as the other problem (Missing file), read up the docs on serving
Static Media with the Django runserver. You need to make sure dajax is
included in your settings.py as an application. That's most likely a whole
different problem from the "Dajaxice is not defined" issue.

On Thu, May 3, 2012 at 2:01 PM, doniyor <doniyor....@googlemail.com> wrote:

> Hi There, i need really your help!!!!
>
> i have been having this problem since 3 days.. it is really annoying me, i
> dont know why it is happening. The Problem is:
>
> i am trying to use dajax in my page and i followed all steps several times
> as given hier: http://dajaxproject.com/
>
> but once i click on onclick="Dajaxice.home.**randomize(Dajax.process),
> nothing is happening and i saw in console of firefox, there it says,
> "Dajaxice is not defined". but i included the {% dajaxice_js_import %} in
> the head, and even i linked the dajaxice.core.js file statically from my
> STATIC_URL. but it still says the same error. how can i go around this
> problem? is there any way of getting this work?
>
> when i link this {% dajaxice_js_import %} in the head, it says the error
> in console: *"NetworkError: 500 INTERNAL SERVER ERROR-
> http://127.0.0.1:8000/dajaxice/dajaxice.core.js"*
> when i delete this  {% dajaxice_js_import %} and serve statically from
> dajaxice.core.js file from STATIC_URL, it shows nothing in console, but
> once i click on onlick event, it says: *Dajaxice is not defined*
> *
> *
> {% dajaxice_js_import %} this will look for dajaxice.core.js in dajaxice
> folder in site-packages, right? the file is there, why it cannot find the
> Dajaxice object?
>
> thanks for help in advance,
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/UGUTBZj9O_4J.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

--14dae9340621707a6a04bf2679b2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hey,<div><br></div><div>Try taking a practically-empty HTML page that only =
includes that dajaxice.core.js file. Open up Firebug or some other Javascri=
pt console and type in &quot;Dajaxice;&quot; to see if you get the same err=
or. This definitely sounds like a javascript problem since you&#39;re getti=
ng a &quot;Dajaxice is not defined&quot; error.</div>
<div><br></div><div>As far as the other problem (Missing file), read up the=
 docs on serving Static Media with the Django runserver. You need to make s=
ure dajax is included in your settings.py as an application. That&#39;s mos=
t likely a whole different problem from the &quot;Dajaxice is not defined&q=
uot; issue.<br>
<br><div class=3D"gmail_quote">On Thu, May 3, 2012 at 2:01 PM, doniyor <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:doniyor....@googlemail.com" target=3D"_=
blank">doniyor....@googlemail.com</a>&gt;</span> wrote:<br><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
Hi There, i need really your help!!!!=A0<div><br></div><div>i have been hav=
ing this problem since 3 days.. it is really annoying me, i dont know why i=
t is happening. The Problem is:=A0</div><div><br></div><div>i am trying to =
use dajax in my page and i followed all steps several times as given hier:=
=A0<a href=3D"http://dajaxproject.com/" target=3D"_blank">http://dajaxproje=
ct.com/</a></div>
<div><br></div><div>but once i click on=A0onclick=3D&quot;Dajaxice.home.<u>=
</u>randomize(Dajax.process), nothing is happening and i saw in console of =
firefox, there it says, &quot;Dajaxice is not defined&quot;. but i included=
 the {% dajaxice_js_import %} in the head, and even i linked the dajaxice.c=
ore.js file statically from my STATIC_URL. but it still says the same error=
. how can i go around this problem? is there any way of getting this work?=
=A0</div>
<div><br></div><div>when i link this=A0{% dajaxice_js_import %} in the head=
, it says the error in console:=A0<b><font color=3D"#ff0000">&quot;NetworkE=
rror: 500 INTERNAL SERVER ERROR-<a href=3D"http://127.0.0.1:8000/dajaxice/d=
ajaxice.core.js" target=3D"_blank">http://127.0.0.1:8000/<u></u>dajaxice/da=
jaxice.core.js</a>&quot;</font></b>=A0=A0</div>
<div>when i delete this=A0=A0{% dajaxice_js_import %} and serve statically =
from dajaxice.core.js file from STATIC_URL, it shows nothing in console, bu=
t once i click on onlick event, it says:=A0<font color=3D"#ff0000"><b>Dajax=
ice is not defined</b></font></div>
<div><font color=3D"#ff0000"><b><br></b></font></div><div>{% dajaxice_js_im=
port %}=A0this will look for dajaxice.core.js in dajaxice folder in site-pa=
ckages, right? the file is there, why it cannot find the Dajaxice object?=
=A0<font color=3D"#000000"><br>
</font></div><div><br></div><div>thanks for help in advance,=A0</div><span =
class=3D"HOEnZb"><font color=3D"#888888">

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;Django users&quot; group.<br>
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msg/django-users/-/UGUTBZj9O_4J" target=3D"_blank">https://groups.goog=
le.com/d/msg/django-users/-/UGUTBZj9O_4J</a>.<br>=20
To post to this group, send email to <a href=3D"mailto:django-users@googleg=
roups.com" target=3D"_blank">django-users@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href=3D"mailto:django-user=
s%2Bunsubscribe@googlegroups.com" target=3D"_blank">django-users+unsubscrib=
e@googlegroups.com</a>.<br>

For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/django-users?hl=3Den" target=3D"_blank">http://groups.google.com/group=
/django-users?hl=3Den</a>.<br>


</font></span></blockquote></div><br></div>

--14dae9340621707a6a04bf2679b2--