• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Flexigrid setup problem - Help needed! - $config['base_url'] [SOLVED]

#1
[eluser]jikowhitewolf[/eluser]
I think I am facing the problem of connecting the Flexigrid example project to my database, I download this flexigrid.zip, and changes the hostname and dbname as usual.

but there is this setup, which I am not sure where to change.

Quote:Before continuing make sure you have the CI URL helper and the CI Database Library in "autoload". Also you need the $config['base_url'] in the config.php file correctly set, with ending slash. (eg. http://flexigridci/)

where is the config.php to use the $config['base_url'] and where do I set the autoLoad indifr helper and library?

All I did is extract all the sample and source, I can see the ccs design, but the database infromation does not show.

Help Please

#2
[eluser]maria clara[/eluser]
i also have a flexigrid right now..as i see my config.php it looks my $config[base_url] i was configed it like this:
Code:
$config['base_url'] = "http://".$_SERVER['HTTP_HOST'];
$config['base_url'] .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']);

i don't know what's yours..my flexigrid looks and works fine with me

#3
[eluser]jikowhitewolf[/eluser]
Thank you so much, it solved my $config['base_url'] problem.

I am reading more about Codeigniter tutorial, until I come by this line in tutorial http://www.phpandstuff.com/articles/code...-and-setup

http://localhost/ci_doctrine_day1 //DOES NOT WORK

After adding index.php at the end,
http://atrix-pc/test/ci_doctrine_day1/index.php //IT WORKS and see the welcome screen.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.