From: Mechphisto on
I couldn't find an Ajax group to ask this in -- this is the closest
related group I could find. If someone could point me to one, I'd
appreciate it. (If there's anyone except spammers using this group.
Sheesh!)

I've a Web page I put together which uses javascript and Google API
Ajax to return to the page a display of files the user uploads. It
used to work great, and then today I noticed it's no longer working.
Could something have changed with the .js files it's linking to?

It's at http://www.girlscoutsmoheartland.org/photos/upload/imageupload.php
The files still upload to the server just fine, but it's no longer
displaying onto the page the result of the browse...upload.

I Googled for the files, but as far as I can tell I'm linking to the
latest ones:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/
jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/
jquery-ui.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/
jqueryui/1.7.2/themes/ui-darkness/jquery-ui.css" type="text/css"
media="all" />

so, maybe that's not the issue...but the fact it worked great, no one
on this end touched it, and now it doesn't work, leads me to think
it's something on the linked .js end.

I appreciate any help or suggestions!
Liam
From: Scott Sauyet on
On Jul 14, 2:49 pm, Mechphisto <mechphi...(a)gmail.com> wrote:
> I've a Web page I put together which uses javascript and Google API
> Ajax to return to the page a display of files the user uploads. It
> used to work great, and then today I noticed it's no longer working.
> Could something have changed with the .js files it's linking to?
>
> It's athttp://www.girlscoutsmoheartland.org/photos/upload/imageupload.php
> The files still upload to the server just fine, but it's no longer
> displaying onto the page the result of the browse...upload.

This might be better asked in the jQuery group if you're using a
jQuery function. (I didn't look closely enough to know if you are
using jQuery for your uploads at all, so this may not be relevant.)

I noticed that you include jQuery twice, once a packed version of
1.0.4 from your server, and a minified version of 1.3.2 from Google's
CDN. It might help to get rid of one.

--
Scott
From: Garrett Smith on
On 2010-07-14 11:49 AM, Mechphisto wrote:
> I couldn't find an Ajax group to ask this in -- this is the closest
> related group I could find. If someone could point me to one, I'd
> appreciate it. (If there's anyone except spammers using this group.
> Sheesh!)
>
> I've a Web page I put together which uses javascript and Google API
> Ajax to return to the page a display of files the user uploads. It
> used to work great, and then today I noticed it's no longer working.
> Could something have changed with the .js files it's linking to?
>

Yes.

> It's at http://www.girlscoutsmoheartland.org/photos/upload/imageupload.php
> The files still upload to the server just fine, but it's no longer
> displaying onto the page the result of the browse...upload.
>
> I Googled for the files, but as far as I can tell I'm linking to the
> latest ones:
>
At jQuery.com, I see the text "Current release: 1.4.2".

A google search for [jquery googleapies],
<http://www.google.com/search?q=jquery+googleapis> has in the results
page <http://code.google.com/apis/ajaxlibs/> which contains the linked
text "jquery" leading to
<http://code.google.com/apis/ajaxlibs/documentation/index.html#jquery>,
which has:

| name: jquery
| versions: 1.2.3, 1.2.6, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.4.1, 1.4.2
| ...
| path: http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
| path(u): http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js

- and -

| name: jqueryui
| versions: 1.5.2, 1.5.3, 1.6, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.8.0,
| 1.8.1, 1.8.2
| path: http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js
| path(u): http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.js

Compare that to your code:

> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/
> jquery.min.js" type="text/javascript"></script>

What you have there is not the latest version.

> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/
> jquery-ui.min.js" type="text/javascript"></script>

Nor is that the latest verson of jQuery UI. Whether or not those two
things are compatible is another matter and unknown to me.

> <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/
> jqueryui/1.7.2/themes/ui-darkness/jquery-ui.css" type="text/css"
> media="all" />
>
> so, maybe that's not the issue...but the fact it worked great, no one
> on this end touched it, and now it doesn't work, leads me to think
> it's something on the linked .js end.
>

It could be, but then again, it does not appear that you've looked into
the issue.

> I appreciate any help or suggestions!

Your post reads along the lines:
I used jQuery.
It was working.
Now it doesn't work.
Why doesn't it work anymore?

While it is not possible to give a specific answer, I can verify that
this sort of post is not new to the NG and you will likely get other
replies that verify that.

So what do you do now? You can compare what you want to do with what you
are doing. You could read:
<http://jibbering.com/faq/notes/posting/#ps1DontWork>, which might help
you think about the problem and after you do that, you can break up the
problem into smaller problems that can be posed as specific questions
which can be answered in a technical manner.

If the program was not fulfilling the user stories and use cases well,
then it may be best to redo it.
--
Garrett
From: Mechphisto on
On Jul 14, 2:32 pm, Scott Sauyet <scott.sau...(a)gmail.com> wrote:
> On Jul 14, 2:49 pm, Mechphisto <mechphi...(a)gmail.com> wrote:
>
> > I've a Web page I put together which uses javascript and Google API
> > Ajax to return to the page a display of files the user uploads. It
> > used to work great, and then today I noticed it's no longer working.
> > Could something have changed with the .js files it's linking to?
>
> > It's athttp://www.girlscoutsmoheartland.org/photos/upload/imageupload.php
> > The files still upload to the server just fine, but it's no longer
> > displaying onto the page the result of the browse...upload.
>
> This might be better asked in the jQuery group if you're using a
> jQuery function.  (I didn't look closely enough to know if you are
> using jQuery for your uploads at all, so this may not be relevant.)
>
> I noticed that you include jQuery twice, once a packed version of
> 1.0.4 from your server, and a minified version of 1.3.2 from Google's
> CDN.  It might help to get rid of one.
>
> --
> Scott

Thanks for the reply. Are you referring to the line:
<script type="text/javascript" src="../../includes/jquery.js"></
script> ?
If so, that actually points to a check that alerts the user if they
don't have javascript enabled, they need to or the page won't work.
But, just to see if that is causing an issue, I tried again without
that line, and same thing.
Thanks again,
Liam
From: Mechphisto on
On Jul 14, 2:39 pm, Garrett Smith <dhtmlkitc...(a)gmail.com> wrote:
> On 2010-07-14 11:49 AM, Mechphisto wrote:
>
> > I couldn't find an Ajax group to ask this in -- this is the closest
> > related group I could find. If someone could point me to one, I'd
> > appreciate it. (If there's anyone except spammers using this group.
> > Sheesh!)
>
> > I've a Web page I put together which uses javascript and Google API
> > Ajax to return to the page a display of files the user uploads. It
> > used to work great, and then today I noticed it's no longer working.
> > Could something have changed with the .js files it's linking to?
>
> Yes.
>
> > It's athttp://www.girlscoutsmoheartland.org/photos/upload/imageupload.php
> > The files still upload to the server just fine, but it's no longer
> > displaying onto the page the result of the browse...upload.
>
> > I Googled for the files, but as far as I can tell I'm linking to the
> > latest ones:
>
> At jQuery.com, I see the text "Current release: 1.4.2".
>
> A google search for [jquery googleapies],
> <http://www.google.com/search?q=jquery+googleapis> has in the results
> page <http://code.google.com/apis/ajaxlibs/> which contains the linked
> text "jquery" leading to
> <http://code.google.com/apis/ajaxlibs/documentation/index.html#jquery>,
> which has:
>
> | name: jquery
> | versions: 1.2.3, 1.2.6, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.4.1, 1.4.2
> | ...
> | path:http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
> | path(u):http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js
>
> - and -
>
> | name: jqueryui
> | versions: 1.5.2, 1.5.3, 1.6, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.8.0,
> | 1.8.1, 1.8.2
> | path:http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js
> | path(u):http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.js
>
> Compare that to your code:
>
> >      <script src="http://ajax.googleapis.com/ajax/libs/jquery/1..3.2/
> > jquery.min.js" type="text/javascript"></script>
>
> What you have there is not the latest version.
>
> >      <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/
> > jquery-ui.min.js" type="text/javascript"></script>
>
> Nor is that the latest verson of jQuery UI. Whether or not those two
> things are compatible is another matter and unknown to me.
>
> >      <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/
> > jqueryui/1.7.2/themes/ui-darkness/jquery-ui.css" type="text/css"
> > media="all" />
>
> > so, maybe that's not the issue...but the fact it worked great, no one
> > on this end touched it, and now it doesn't work, leads me to think
> > it's something on the linked .js end.
>
> It could be, but then again, it does not appear that you've looked into
> the issue.
>
> > I appreciate any help or suggestions!
>
> Your post reads along the lines:
> I used jQuery.
> It was working.
> Now it doesn't work.
> Why doesn't it work anymore?
>
> While it is not possible to give a specific answer, I can verify that
> this sort of post is not new to the NG and you will likely get other
> replies that verify that.
>
> So what do you do now? You can compare what you want to do with what you
> are doing. You could read:
> <http://jibbering.com/faq/notes/posting/#ps1DontWork>, which might help
> you think about the problem and after you do that, you can break up the
> problem into smaller problems that can be posed as specific questions
> which can be answered in a technical manner.
>
> If the program was not fulfilling the user stories and use cases well,
> then it may be best to redo it.
> --
> Garrett

Well, that's embarrassing. I assure you, the first thing I did was
check to see if there were different versions. My search path, I don't
recall. My failure is not that I didn't investigate, but that I
investigated poorly and found erroneous info regarding latest
versions.

(I changed the links to the latest version numbers, and that didn't
help.)

I understand the necessity of parsing "it didn't work" with
expectations. The problem here is that it's not a problem of not
getting something to work that never worked before, but rather one of
it used to work just fine, then suddenly it stopped. If nothing
changed on my end, logic dictates the problem is on the end of
wherever I'm linking a file from.
(Or, maybe a change at my server's host. I suppose that's possible,
but when dealing with javascript/Ajax... client-side behavior, I'm not
sure how that would be.)

If I need to start over (oh god!!) then I suppose I have to. But I'm
sure you can understand my position in which I spent days making this
work in the first place, it works great and all is happy, then through
no action on my part it stops working -- why I want to start by
pursuing options that may be quick fixes before I start redoing
things.

In my experience, there have been many times I've presented more
experienced and knowledgeable people why a problem, and someone says
something like, "ah, you simply have a foo where a bar should be," and
bang! it's fixed. I'm not going to pass up the possibility that
something like that may not happen here. (E.g.: someone pointing out
I'm linking to the wrong version number because my Google-fu is sucky.
Didn't work in this case, but if it had, I'm going to take the
opportunity to have that chance.)
Thanks,
Liam
 |  Next  |  Last
Pages: 1 2 3 4
Prev: Slide and edit within grid
Next: Bug in Safari 5