OK, so this file doesn’t contain it. Now for the initialize.php
file; can you also share its contents, making sure to censor every sensitive details you find on it?
2 Likes
here is the code of initialize.php
<?php
$dev_data = array('id'=>'-1','firstname'=>'HIDDEN BY MOD','lastname'=>'','username'=>'','password'=>'','last_login'=>'','date_updated'=>'','date_added'=>'');
if(!defined('base_url')) define('base_url','http://localhost/leave_system/');
if(!defined('base_app')) define('base_app', str_replace('\\','/',__DIR__).'/' );
if(!defined('dev_data')) define('dev_data',$dev_data);
if(!defined('DB_SERVER')) define('DB_SERVER',"localhost");
if(!defined('DB_USERNAME')) define('DB_USERNAME',"HIDDEN BY MOD");
if(!defined('DB_PASSWORD')) define('DB_PASSWORD',"");
if(!defined('DB_NAME')) define('DB_NAME',"leave_db");
?>
Bingo! I think we’ve found it! But now I don’t know where you defined all database details on your code, as those are the defaults.
2 Likes
i am using same as i sent…here also i need to define database details and the url i should leave as it is or what i can put in it??
If you’re using these, this might be one of the issues:
You’ll need to change:
With your actual URL, and the DB values with the values you can find in your client area’s “MySQL Databases” section (it should look similar to this):
7 Likes
Thank you issue resolve…!!!
1 Like
9 Likes
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.