Re: connecting php long-polling to the database
| From: | Ashley Sheridan | Date: | Wed, 04 Feb 2015 22:41:51 +0000 |
| Subject: | Re: connecting php long-polling to the database | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-324388@lists.php.net to get a copy of this message | ||
On Wed, 2015-02-04 at 22:36 +0100, Christoph Becker wrote:
> hadi wrote:
>
> > SCRIPT1014: Invalid character
> > File: jquery.min.js, Line: 4, Column: 15725
>
> So, obviously, there is an error in jquery.min.js. You should inspect
> the file, and maybe download it again.
>
> --
> Christoph M. Becker
>
>
If you notice from the original post, the jQuery in use here is actually
coming from an external CDN, so not likely to be serving up a bad file.
The main problem with JavaScript is that error messages are useless in
the language, as shown here.
I'm not sure what the actual issue is though, the code appears to be ok.
Have you tried commenting out the parts of it at a time to see where any
issues might lie?
--
Thanks,
Ash
http://www.ashleysheridan.co.uk