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!! :(

Date: Thu, 3 May 2012 13:05:55 -0700 (PDT)
From: doniyor <doniyor....@googlemail.com>
To: django-users@googlegroups.com
Message-ID: <24142290.181.1336075555550.JavaMail.geo-discussion-forums@vbfx1>
In-Reply-To: <CAPbEHsfTfFD0emgfwPaFJgWLiCAwX=jvyLLGcrg+Ry3KQ+2NiA@mail.gmail.com>
References: <4619004.556.1336068074701.JavaMail.geo-discussion-forums@vbfx1>
 <CAPbEHsfTfFD0emgfwPaFJgWLiCAwX=jvyLLGcrg+Ry3KQ+2NiA@mail.gmail.com>
Subject: Re: Dajaxice is not defined!!! please heelpppp!! :(
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_179_22825125.1336075555548"

------=_Part_179_22825125.1336075555548
Content-Type: multipart/alternative; 
	boundary="----=_Part_180_27624398.1336075555549"

------=_Part_180_27624398.1336075555549
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

hey, 
i did what you told me. i put the dajaxice.core.js in one nude html file, 
where i dont have other js files almost, then i opened the js console and i 
have done the input "Dajaxice", then it stil says there, 

ReferenceError: Dajaxice is not defined
               

Dajaxice


look, i hope, i am taking the up-to-date dajaxice.core.js file, since it is 
from the official dajaxproject site.. i have both dajaxice and dajax also 
in my settings.py. i took it out and tested, error message, so it means, it 
was right in settings.py. i am now thinking about using only jquery-ajax to 
get the work done. is it possible in this way? i can get the form values 
sent by jquery in my view without loading the page, this is actually what i 
wanted to do with dajax. is it a good go-around for the problem? 

thanks 



Am Donnerstag, 3. Mai 2012 21:04:33 UTC+2 schrieb Kurtis:
>
> 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.
>>
>
>
------=_Part_180_27624398.1336075555549
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

hey,&nbsp;<div>i did what you told me. i put the dajaxice.core.js in one nu=
de html file, where i dont have other js files almost, then i opened the js=
 console and i have done the input "Dajaxice", then it stil says there,&nbs=
p;</div><div><span role=3D"presentation" class=3D"objectBox objectBox-error=
Message hasBreakSwitch "><div role=3D"listitem" class=3D"errorTitle focusRo=
w subLogRow "><span class=3D"errorMessage "><br></span></div><div role=3D"l=
istitem" class=3D"errorTitle focusRow subLogRow "><span class=3D"errorMessa=
ge "><font color=3D"#ff0000">ReferenceError: Dajaxice is not defined</font>=
</span></div><div role=3D"presentation" class=3D"errorTrace "></div><span c=
lass=3D" "></span><div role=3D"listitem" class=3D"errorSourceBox errorSourc=
e-syntax focusRow subLogRow "><table class=3D" " cellpadding=3D"0" cellspac=
ing=3D"0"><tbody class=3D" "><tr class=3D" "><td class=3D" ">&nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</td><td class=3D" "><pre title=3D=
"Dajaxice" class=3D"errorSourceCode "><font color=3D"#38761d">Dajaxice</fon=
t></pre></td></tr></tbody></table><br></div><div role=3D"listitem" class=3D=
"errorSourceBox errorSource-syntax focusRow subLogRow ">look, i hope, i am =
taking the up-to-date dajaxice.core.js file, since it is from the official =
dajaxproject site.. i have both dajaxice and dajax also in my settings.py. =
i took it out and tested, error message, so it means, it was right in setti=
ngs.py. i am now thinking about using only jquery-ajax to get the work done=
. is it possible in this way? i can get the form values sent by jquery in m=
y view without loading the page, this is actually what i wanted to do with =
dajax. is it a good go-around for the problem?&nbsp;</div><div role=3D"list=
item" class=3D"errorSourceBox errorSource-syntax focusRow subLogRow "><br><=
/div><div role=3D"listitem" class=3D"errorSourceBox errorSource-syntax focu=
sRow subLogRow ">thanks&nbsp;</div><div role=3D"listitem" class=3D"errorSou=
rceBox errorSource-syntax focusRow subLogRow "><br></div><div role=3D"listi=
tem" class=3D"errorSourceBox errorSource-syntax focusRow subLogRow "><br></=
div></span><br>Am Donnerstag, 3. Mai 2012 21:04:33 UTC+2 schrieb Kurtis:<bl=
ockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border=
-left: 1px #ccc solid;padding-left: 1ex;">Hey,<div><br></div><div>Try takin=
g a practically-empty HTML page that only includes that dajaxice.core.js fi=
le. 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 javascrip=
t problem since you're getting a "Dajaxice is not defined" 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's most li=
kely a whole different problem from the "Dajaxice is not defined" 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!!!!&nbsp;<div><br></div><div>i have been =
having this problem since 3 days.. it is really annoying me, i dont know wh=
y it is happening. The Problem is:&nbsp;</div><div><br></div><div>i am tryi=
ng to use dajax in my page and i followed all steps several times as given =
hier:&nbsp;<a href=3D"http://dajaxproject.com/" target=3D"_blank">http://da=
jaxproject.com/</a></div>
<div><br></div><div>but once i click on&nbsp;onclick=3D"Dajaxice.home.<u></=
u>rand<wbr>omize(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 c=
an i go around this problem? is there any way of getting this work?&nbsp;</=
div>
<div><br></div><div>when i link this&nbsp;{% dajaxice_js_import %} in the h=
ead, it says the error in console:&nbsp;<b><font color=3D"#ff0000">"Network=
Error: 500 INTERNAL SERVER ERROR-<a href=3D"http://127.0.0.1:8000/dajaxice/=
dajaxice.core.js" target=3D"_blank">http://127.0.0.1:8000/<u></u>da<wbr>jax=
ice/dajaxice.core.js</a>"</font></b>&nbsp;&nbsp;</div>
<div>when i delete this&nbsp;&nbsp;{% dajaxice_js_import %} and serve stati=
cally from dajaxice.core.js file from STATIC_URL, it shows nothing in conso=
le, but once i click on onlick event, it says:&nbsp;<font color=3D"#ff0000"=
><b>Dajaxice is not defined</b></font></div>
<div><font color=3D"#ff0000"><b><br></b></font></div><div>{% dajaxice_js_im=
port %}&nbsp;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=
?&nbsp;<font color=3D"#000000"><br>
</font></div><div><br></div><div>thanks for help in advance,&nbsp;</div><sp=
an><font color=3D"#888888">

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups "=
Django users" 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/<wbr>msg/django-users/-/UGUTBZj9O_<wbr>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@<wbr>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/<wbr>=
group/django-users?hl=3Den</a>.<br>


</font></span></blockquote></div><br></div>
</blockquote></div>
------=_Part_180_27624398.1336075555549--

------=_Part_179_22825125.1336075555548--