Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #21726

Re: JS, PHP, and AJAX

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: JS, PHP, and AJAX
Date 2013-10-25 14:44 +0000
Organization A noiseless patient Spider
Message-ID <l4e04u$99a$1@dont-email.me> (permalink)
References <6ae3bb3b-0d74-4c8f-969b-0e5a9e9a3e05@googlegroups.com>

Show all headers | View raw


On Thu, 24 Oct 2013 20:05:24 -0700, Kale wrote:

> So I am trying to make a fake amazon item checker and when I upload the
> code to my server I get a 500 internal server error. I have a feeling
> the error is in my JS but it could be in my PHP here is the code.

What does the php error log on the server say? First you have to work out 
where it is - possibly /var/log/apache2/errors.log if you have a lamp 
install.

It's quite likely there'll be a message in there telling you (in cryptic 
php speak) what php error was detected, and giving you a line number and 
a file name that the error was detected on.

Note that the error may be something different to that indicated, and may 
be in the lines before the indicated line, especially if the error is 
caused by a simple syntax error like unmatched quotes / braces / 
parentheses or a missing line terminator.

-- 
Denis McMahon, denismfmcmahon@gmail.com

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

JS, PHP, and AJAX Kale <kalezwe@gmail.com> - 2013-10-24 20:05 -0700
  Re: JS, PHP, and AJAX Gregor Kofler <usenet@gregorkofler.com> - 2013-10-25 09:40 +0200
  Re: JS, PHP, and AJAX Denis McMahon <denismfmcmahon@gmail.com> - 2013-10-25 14:44 +0000
    Re: JS, PHP, and AJAX Kale <kalezwe@gmail.com> - 2013-10-25 16:29 -0700
      Re: JS, PHP, and AJAX Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-10-26 02:04 +0200
        Re: JS, PHP, and AJAX Kale <kalezwe@gmail.com> - 2013-10-25 20:30 -0700
          Re: JS, PHP, and AJAX Gregor Kofler <usenet@gregorkofler.com> - 2013-10-26 10:40 +0200
      Re: JS, PHP, and AJAX Denis McMahon <denismfmcmahon@gmail.com> - 2013-10-27 17:47 +0000

csiph-web