Jump to content

Dhivya

New Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Dhivya

  1. Sorry for not updating the code completely.. Here it's <?php session_set_cookie_params(0); ob_start(); session_start(); //set_time_limit(0); // ini_set('post_max_size', '500000M'); ini_set('max_execution_time', '3600'); ini_set("memory_limit","2562M"); global $config; $Localmode = true; // false means server //Check the database connection if($Localmode){ $var = $_SERVER['DOCUMENT_ROOT'].'/'; $config['SiteAirticalpath'] = "https://psexports.in/"; $config['SiteGlobalPath'] = $config['SiteAirticalpath']."/"; $config['SiteLocalPath'] = $var; $config['SiteImagePath'] = $var."images/"; $config['SiteJsPath'] = $var."js/"; $config['SiteClassPath'] = $var."includes/classes/"; $config['SiteIncPath'] = $var."includes/"; $config['SiteAdminPath'] = $config['SiteGlobalPath']."admin/"; $config['SiteUploadPath'] = $config['SiteLocalPath']."admin/Uploads/"; //$config['SiteTitle'] = ":: Data Grid ::"; ############# DB Config######################## $config['DBHostName'] = "localhost"; $config['DBUserName'] = ""; $config['DBPassword'] = ""; $config['DBName'] = ""; } $config['Limit'] = 10; $config['today'] = date('Y-m-d'); ?>
  2. session_set_cookie_params(0); ob_start(); session_start(); //set_time_limit(0); // ini_set('post_max_size', '500000M'); ini_set('max_execution_time', '3600'); ini_set("memory_limit","2562M"); global $config; $Localmode = true;
  3. I have modified the script as you said above..Still its not fixed.Please help me to fix
  4. My config file ob_start(); if(!isset($_SESSION)) { session_start(); } session_set_cookie_params(0); set_time_limit(0); ini_set('post_max_size', '500000M'); ini_set('max_execution_time', '3600'); ini_set("memory_limit","2562M");
  5. Warning: session_set_cookie_params(): Cannot change session cookie parameters when session is active in C:\xampp\htdocs\test\includes\config.php on line 7 Warning: session_set_cookie_params(): Cannot change session cookie parameters when session is active in C:\xampp\htdocs\test\includes\config.php on line 7 The Page not loading... Kindly help to fix this..
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.