General |  Social Media |  Miscellaneous
Login
srcraft blog logo
  • Business
  • News
  • Shopping
  • Travel
  • Disease
  • Pets
  • Life
  • Health
  • Technology
  • Category
  • Contact Us
Latest Blog : 
☛ Save Trees to Save Your Children Life ☛ Importance of practice: A story of Gurukul ☛ Cowards never remember a favor and the brave never forget a favor ☛ The true story: One and Half Ticket ☛ ghhjhjh ☛ Don't mess with health, let's know some important things related to health ☛ How was Shani Dev born and how was his vision crooked? ☛ Story of creation of man, hunger and thirst? ☛ Why is it advised to eat garlic on an empty stomach? ☛ Indian Culture: Wisdom of sages 
Home > Innovation & Technology > PHP

Getting 500 error on sending ajax


getting 500 error on sending ajax

How to fix this issue: Some time AJAX post is responding error message like 500 (Internal server error).

 

If you get this type of error, then you can try below mention steps for solving their problem.

 

Step-1 : Use “GET” method instead of “POST” method.

 

Step-2 : You can try blow mention syntax.

 

Try this one

data: {varOne: dataOne, varTwo: dataTwo, varThree: dataThree}

 

Step-3 : Ignore all warning. For this you can use below mention code

ini_set('display_errors', 1);

error_reporting(E_ALL);

Written By: Charles Miller Published in PHP


Search

Publish your passions on srcraftblog.com

Latest Post

☛ Save Trees to Save Your Children Life

☛ Importance of practice: A story of Gurukul

☛ Cowards never remember a favor and the brave never forget a favor

☛ The true story: One and Half Ticket

☛ Don't mess with health, let's know some important things related to health

☛ How was Shani Dev born and how was his vision crooked?

☛ Story of creation of man, hunger and thirst?

☛ Why is it advised to eat garlic on an empty stomach?

☛ Indian Culture: Wisdom of sages

☛ Untold Story: Last debt pyre wood


We are accepting well-written informative Guest Posts on srcraftblog.com

Innovation & Technology

Artificial Intelligent blogs
Cryptocurrency blogs
Digital India blogs
Data science blogs
Neuroscience blogs
Programming blogs

Physical science

Physics blogs
Chemistry blogs
Earth science blogs
Geology blogs
Oceanography blogs
Meteorology blogs

Industry

Business blogs
Economy blogs
Freelancing blogs
Leadership blogs
Productivity blogs
Work blogs

Society

Basic income blogs
Education blogs
Environment blogs
Media blogs
Philosophy blogs
Women blogs
About us |  Write for us |  Terms and conditions |  Contact us

© 2023 SRCRAFT INIDA