Forbidden - Passing URL Through Ajax POST

Status
Not open for further replies.

datasync

New Member
Messages
16
Reaction score
0
Points
1
I keep receiving an error every time I try to pass a URL through Ajax, I'm unable to generate a php error log for some reason either. The response that I receive is simply "Forbidden" which I assume is a 403 error.
 

ARandomCat

New Member
Messages
4
Reaction score
0
Points
1
Have you checked your cPanel error log files?
You might want to use:
PHP:
error_reporting(E_ALL);
ini_set( 'display_errors','1');
Inside your PHP script.

I'm not sure how x10's servers are configured, but putting this inside your .htaccess file should force the error_log generation
Code:
php_flag  log_errors on
php_value error_log  /home/username/public_html/errors.log
 
Status
Not open for further replies.
Top