skip to Main Content

How set sub directories/folders in public_html 403 forbidden – CPanel

I'm using Codeigniter with Hostgator shared hosting. How to set sub directories/folders in public_html 403 forbidden? but the files in this folders is accessable. example: /public_html/this_forlder_forbidden/this-file-not-forbidden.ext example 1 /public_html/js/jquery.js /public_html/css/style.css below is my .htaccess file codes in /public_html/ directory. RewriteEngine…

VIEW QUESTION

WordPress Site Having Fatal Error in Root View – CPanel

I have running WordPress Site but now a error occurs when I login to Admin Panel of WordPress and site is also not live now. A 'Fatal Error' is showing: Fatal error: Cannot redeclare class WP_Theme_Handler_Checker in /home/niteshvyas84/public_html/shreejeeexcellency.restaurant/wp-content/themes/resca/inc/theme-checker.php on line…

VIEW QUESTION

Curl error: Failed to connect to ipaddress port 8080 – CPanel

problem Curl error: Failed to connect to 103.16.101.52 port 8080: Connection refusedresource(4) of type (mysql result) code snippets works in localsystem. it's not working prod enviornment. php curl snippet try { $runfile = 'http://103.16.101.52:8080/sendsms/bulksms?username=XXX&password=XXX&type=0&dlr=1&destination='. $row['phone_number'] . '&source=XXX&message='.$message; $ch = curl_init();…

VIEW QUESTION

Setting up a Laravel cron job in cPanel

I have the following function: protected function schedule(Schedule $schedule) { $schedule->command('email:users')->everyMinute(); } when I run the command artisan schedule:run it sends an email but when I add the following command to the cpanel as a cron job it doesn't send…

VIEW QUESTION

WHM API: emailtrack_search returns empty records – CPanel

I am using the WHM api to track emails in the mail delivery log, however, the JSON response using emailtrack_search return no records I am calling the following URL 1xx.x.xx.xxx:2087/cpsess####/json-api/emailtrack_search?api.version=1 And this is the JSON response {"metadata":{"result":1,"version":1,"command":"emailtrack_search","reason":"OK","overflowed":0,"__chunked":1},"data":{"records":[]}} Notice that the…

VIEW QUESTION
Back To Top
Search