Home > Internal Server > Jquery Post 500 Internal Server Error Php

Jquery Post 500 Internal Server Error Php

Contents

Was This Post Helpful? 0 Back to top MultiQuote Quote + Reply #9 astonecipher Licensed PITA Reputation: 2054 Posts: 8,188 Joined: 03-December 12 Re: Calling a PHP file with jQuery share|improve this answer answered Apr 8 '12 at 19:49 Cal 6,2241226 Thanks for the reply. I'm using the POST method to add/delete likes on forum posts from my database. I've also checked the return in Firebug. Source

Why do people move their cameras in a square motion? asked 4 months ago viewed 228 times active 4 months ago Blog Stack Overflow Podcast #91 - Can You Stump Nick Craver? Just had a thought – would it be worth setting up an AJAX middleware to stop my AJAX routes being hit directly? I'm not good in php, but I have to create a login page with php.

Ajax 500 Internal Server Error Jquery

A 500 error is not a problem with your JS - it's server-side. The error is not appeared. I tried alerting and echo from the PHP file, and it doesn't work.

The problem was returning a boolean from my controller. Any help would be much appreciated. CapitalistDog • 3 hours ago • 4 comments Hi, I've been running a promotion on Facebook for a few weeks now, and I spend about $70 / day on it. Failed To Load Resource: The Server Responded With A Status Of 500 (internal Server Error) Thanks Reply TristanPerry 2010-07-25T01:12:19 I agree with kdavies - it's not javascript related.

How can I determine whether or not the POST request was a success/failure? 500 Internal Server Error Ajax Php In PHP I output the "some object" row from database. LED on the collector without a base limiting resistor Referee did not fully understand accepted paper Red balls and Rings What is a Peruvian Word™? There's a slight delay when clicking the like button – perhaps it should be added to the queue or something in the background?

A 500 error is often caused by code that doesn't work as expected. Php Error Log If it's a syntax error (seems quite likely for a code 500), then you'll need to either enable these options in your php.ini, httpd.conf or .htaccess files. Alternatively, just take a look in your web server error log for the issue. this is the most likely cause of your server 500 error.

500 Internal Server Error Ajax Php

A Short Easy Addictive Riddle 4 dogs have been born in the same week. What to do when you've put your co-worker on spot by being impatient? "the Salsa20 core preserves diagonal shifts" Can't a user change his session information to impersonate others? Ajax 500 Internal Server Error Jquery What do you call "intellectual" jobs? 500 Internal Server Error Php Post Unless he fixes this error first he will never be able to proceed further and see what else is wrong with his code. –Cristy Jun 5 at 11:29 That

To find the PHP error log file: grep error_log /etc/php.ini grep ^error_log /etc/php.ini To install MySQL on RedHat family servers: yum install mysql.x86_64 yum install mysql mysql-server chkconfig --level 2345 mysqld this contact form Was This Post Helpful? 1 Back to top MultiQuote Quote + Reply #3 typhlosion D.I.C Head Reputation: 1 Posts: 121 Joined: 09-December 13 Re: Calling a PHP file with jQuery usually not. Not the answer you're looking for? 500 Internal Server Error Ajax Get

Why do people move their cameras in a square motion? is this an issue in my script or do i need to use it differently for zen cart? Might pay to get in touch with your host support as it's also unlikely the 500 error has anything to do with the shipping_selection.php code, more a configuration-ish (possibly) issue on http://softacoustik.com/internal-server/jquery-ajax-post-500-internal-server-error.php The error may also be in them.

Check the error logs? 500 Error more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed I have error reporting switched on.

By joomoo79 in forum Templates, Stylesheets, Page Layout Replies: 0 Last Post: 10 Mar 2010, 09:07 AM Bookmarks Bookmarks Digg del.icio.us StumbleUpon Google Posting Permissions You may not post new threads

so with this said how can I make an ajax call to a php file that runs a query in zen cart ? What are the legal and ethical implications of "padding" pay with extra hours to compensate for unpaid work? You have to return a response object or string or JSON what ever. Jquery Ajax Could winds of up to 150 km/h impact the structural loads on a Boeing 777?

Browse other questions tagged php javascript ajax jquery or ask your own question. How to use color ramp with torus 4 dogs have been born in the same week. It cannot sit in /includes/templates/ nor anywhere else under /includes/ I also tried putting it in the root directory and it still returned the error. Check This Out Problem With JQuery Simple Jquery/ajax/php Form Post Jquery AJAX From One URL To Another Jquery Ajax Returning Values From Server To Client General Discussion Caffeine Lounge Corner Cubicle Student