Re: Help please-draggable

Dark Ambient
Sat, 24 Jun 2006 20:00:14 -0000

Sheesh, this is so puzzling I have all sorts of scripts in various
folders and sub domains and never anything like this.
>From my server log to show the path the server is looking for which
honestly is a bit confusing to me, is it /includes or /javascript.  I
don''t have an includes under /dnd.
The other thing is that it''s not showing any errors for prototype or
scriptaculous.  Only the 5 specific scripts.



public_html/icanc/dnd/includes/http://icanc.com/dnd/javascript/builder.js


Stuart

On 6/24/06, Dark Ambient
<sambient-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> Hoochie mama! Error logs are filled to the brim :)
> Sorry...just never had this issue before so never thought about it.
>
> Stuart
>
> On 6/24/06, Todd Ross
<rails-spinoffs-25kFIyuv2iRiLUuM0BA3LQ@public.gmane.org> wrote:
> > On 6/24/06, Todd Ross
<rails-spinoffs-25kFIyuv2iRiLUuM0BA3LQ@public.gmane.org> wrote:
> > > On 6/24/06, Dark Ambient
<sambient-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > > > http://icanc.com/dnd/formelements.php
> > > >
> > > > That is the latest
> > >
> > > From formelements.php:
> > >
> > > <script src="/javascript/dragdrop.js"
type="text/javascript">
> > >
> > > By manually trying to retrieve that file from
> > > http://icanc.com/javascript/dragdrop.js:
> > >
> > > Not Found
> > > The requested URL /javascript/dragdrop.js was not found on this
server.
> > >
> > > Additionally, a 404 Not Found error was encountered while trying
to
> > > use an ErrorDocument to handle the request.
> > > Apache/1.3.36 Server at icanc.lurkingforwork.com Port 80
> > >
> > > It can''t find the JavaScript files.  If you check your
webserver logs,
> > > you''ll probably see a ton of 404 errors from your
testing.
> >
> > http://icanc.com/dnd/javascript/dragdrop.js works fine.  That means
> > that the advice that Brian gave you about making the script elements
> > relative instead of absolute (remove the / from the beginning) was
> > spot on.  Either move your scripts to the root of your webserver where
> > you''re looking for them, or making them relative as Brian
suggested.
> >
> > Todd
> > _______________________________________________
> > Rails-spinoffs mailing list
> > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
> >
>