CodeIgniter Forums
[RESOLVED] CI framework gives error in xampp1.7.3 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: [RESOLVED] CI framework gives error in xampp1.7.3 (/showthread.php?tid=31418)

Pages: 1 2 3


[RESOLVED] CI framework gives error in xampp1.7.3 - El Forum - 09-08-2010

[eluser]suba[/eluser]
I tried.
But no action.


[RESOLVED] CI framework gives error in xampp1.7.3 - El Forum - 09-08-2010

[eluser]InsiteFX[/eluser]
Try this.

Code:
// this is wrong!
$config['base_url']    = "http://localhost/sims";

// should be!
$config['base_url']    = "http://localhost/sims/";

Also make sure that your models are under.
application/model

If your application is under the system directory then
the index.php would be:
Code:
$application_folder = "system/application";
InsiteFX


[RESOLVED] CI framework gives error in xampp1.7.3 - El Forum - 09-08-2010

[eluser]suba[/eluser]
Thanks for so much help.
But I tried no action.
am also wondering.

Wow..


[RESOLVED] CI framework gives error in xampp1.7.3 - El Forum - 09-08-2010

[eluser]InsiteFX[/eluser]
Can you show me your config.php and index.php files?

Only the base_url and directories also the path to your model
directory list your directory structure.

InsiteFX


[RESOLVED] CI framework gives error in xampp1.7.3 - El Forum - 09-08-2010

[eluser]suba[/eluser]
When I execute my project, model_sims file content is opening in browser. then last line shows Fatal error: model_sims is not found.

How ?

sorry I give more trouble to you.


[RESOLVED] CI framework gives error in xampp1.7.3 - El Forum - 09-08-2010

[eluser]InsiteFX[/eluser]
I sent you a private message!

InsiteFX


[RESOLVED] CI framework gives error in xampp1.7.3 - El Forum - 09-08-2010

[eluser]suba[/eluser]
--


[RESOLVED] CI framework gives error in xampp1.7.3 - El Forum - 09-08-2010

[eluser]suba[/eluser]
Code:
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$config['base_url']    = "http://server/sims/";

$config['index_page'] = "";

$config['uri_protocol']    = "AUTO";

$config['url_suffix'] = "";

$config['language']    = "english";

$config['charset'] = "UTF-8";

$config['enable_hooks'] = FALSE;

$config['subclass_prefix'] = 'MY_';

$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-+=';

$config['enable_query_strings'] = FALSE;
$config['controller_trigger']     = 'c';
$config['function_trigger']     = 'm';
$config['directory_trigger']     = 'd'; // experimental not currently in use


$config['log_threshold'] = 0;


$config['log_path'] = '';


$config['log_date_format'] = 'Y-m-d H:i:s';


$config['cache_path'] = '';


$config['encryption_key'] = "";


$config['sess_cookie_name']        = 'sims_session';
$config['sess_expiration']        = 0;
$config['sess_encrypt_cookie']    = FALSE;
$config['sess_use_database']    = true;
$config['sess_table_name']        = 'session_table';
$config['sess_match_ip']        = FALSE;
$config['sess_match_useragent']    = TRUE;
$config['sess_time_to_update']     = 300;


$config['cookie_prefix']    = "sims_";
$config['cookie_domain']    = "";
$config['cookie_path']        = "/";

$config['global_xss_filtering'] = true;

$config['compress_output'] = FALSE;

$config['time_reference'] = 'local';

$config['rewrite_short_tags'] = FALSE;

$config['proxy_ips'] = '';



[RESOLVED] CI framework gives error in xampp1.7.3 - El Forum - 09-08-2010

[eluser]InsiteFX[/eluser]
I sent you a private message, email me your project!

InsiteFX


[RESOLVED] CI framework gives error in xampp1.7.3 - El Forum - 09-08-2010

[eluser]suba[/eluser]
can you check your email please!!