body: {"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred

157 views
Skip to first unread message

Brendan Messer

unread,
Oct 17, 2017, 9:41:04 PM10/17/17
to phonegap
New to PhoneGap, please help. I looked up how to resolve this error, and the solution I found is this: 
It makes 0 sense to me

-- 
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
--- 
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Diego La Monica

unread,
Oct 18, 2017, 12:47:48 AM10/18/17
to phon...@googlegroups.com
It's server issue not PhoneGap

Diego La Monica
Sorry for typos: sent from mobile

Rob Willett

unread,
Oct 18, 2017, 3:33:38 AM10/18/17
to phon...@googlegroups.com
It's impossible to work out what the problem is from the error message. It appears to be a server issue but since we have no code, no configuration, no server description or indeed any information whatsoever it's difficult to say.

I would read the first page of this group about what information is required.
On Wed, 18 Oct 2017 at 05:47, Diego La Monica <diego.l...@gmail.com> wrote:
It's server issue not PhoneGap


Diego La Monica
Sorry for typos: sent from mobile
Il 18/ott/2017 03:40, "Brendan Messer" <brendan....@gmail.com> ha scritto:
New to PhoneGap, please help. I looked up how to resolve this error, and the solution I found is this: 
It makes 0 sense to me

-- 
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
--- 
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+u...@googlegroups.com.

Pete

unread,
Oct 18, 2017, 6:04:31 PM10/18/17
to phonegap

App side: Inside your all you have an ajax call to the server. In the .done promise (or .always but should be .done) you're not validating the result from the server and are, instead, simply displaying what is returned from the server.

On the server side, the .php script is generating an error and returning that error message instead of the data you want.  

Fix your app side by testing for a valid result code before displaying the returned data
Fix your server side by checking the error_log file in the root or directory where the script is located.
Reply all
Reply to author
Forward
0 new messages