General |  Social Media |  Miscellaneous
Login
srcraft blog logo
  • Business
  • News
  • Shopping
  • Travel
  • Disease
  • Pets
  • Life
  • Health
  • Technology
  • Category
  • Contact Us
Latest Blog : 
☛ Upbringing: Don't cry or regret later ☛ True Story of Beggar: Punishment for the deeds done by us ☛ India: The Story of a Joint Family ☛ AI Driven Analytics | Life Sciences Data Analytics | WhizAI ☛ The Story of Gurukul: Test of intelligence ☛ The Problem Solving Skills ☛ Eternal law that never changes ☛ After all, why does Mahadev apply ashes on the body? ☛ Kitchen Worktops Buy now | Grey Worktops on sale ☛ Black Kitchen Worktops on Sale in UK 
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

☛ Upbringing: Don't cry or regret later

☛ True Story of Beggar: Punishment for the deeds done by us

☛ India: The Story of a Joint Family

☛ AI Driven Analytics | Life Sciences Data Analytics | WhizAI

☛ The Story of Gurukul: Test of intelligence

☛ The Problem Solving Skills

☛ Eternal law that never changes

☛ After all, why does Mahadev apply ashes on the body?

☛ How to get an e-pass for curfew in Delhi, know the complete process in 6 easy steps

☛ 10 TIPS TO QUICKLY CLEAN YOUR JEWELLERY


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

© 2022 SRCRAFT INIDA