Error in Config File for Localhost

<?php
 date_default_timezone_set('Asia/Calcutta');

// Site Name & Title A K  T R A D E R S
 define('SITE_NAME','A K  T R A D E R S');
 define('SITE_TITLE','A K  T R A D E R S - Fully Traditional for You');
 // Site Path ...
 define('SITE_PATH',$_SERVER['DOCUMENT_ROOT'].'/akt/');
 define('ADMIN_PATH',SITE_PATH.'/admin');
 define('CSS_PATH',SITE_PATH.'/css');
 define('PHP_PATH',SITE_PATH.'/php');
 define('JS_PATH',SITE_PATH.'/js');
 define('IMAGES_PATH',SITE_PATH.'/imageS');
 define('INC_PATH',SITE_PATH.'/inc');
 define('LIB_PATH',SITE_PATH.'/lib');

 // Site URL's ...
 define('SITE_URL','localhost/');
 define('ADMIN_URL',SITE_URL.'/admin');
 define('CSS_URL',SITE_URL.'/css');
 define('FONT_URL',SITE_URL.'/fonts');
 define('PHP_URL',SITE_URL.'/php');
 define('JS_URL',SITE_URL.'/js');
 define('IMAGES_URL',SITE_URL.'/images');
 define('INC_URL',SITE_URL.'/inc');
 define('LIB_URL',SITE_URL.'/lib');
 //echo JS_URL;
 
 
 // Database Connections Do not Modify Below....
 define('DB_HOST','localhost');
 define('DB_USER','root');
 define('DB_PWD','');
define('DB_NAME','');
define('DB_TYPE','');
?>

This code don’t show complete website, when i am using in Localhost

We’re going to need more information. As it is, you’ve set us on a scavenger hunt with zero details. In what way is there an error? How is this error reached? What does the error message say?


When i load website from a browser with localhost/, It shows like the error attached

It looks like you have an insecure connection (http) but the assets are using https.

What are you using for the local development, how are you running the local server?

You can try setting up SSL for the local server (search for it).

Dream Viewer and Xampp for Local Server

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.