Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter Debug Bar
#3

(12-02-2014, 04:05 PM)pixel Wrote: Big problem with the js and css url.

I've got my project's url, like this: http://127.0.0.1/websiteproject/

And the, js and css, url are:
src="/vendor/maximebf/debugbar/src/DebugBar/Resources/vendor/jquery/dist/jquery.min.js"
instead of:
src="vendor/maximebf/debugbar/src/DebugBar/Resources/vendor/jquery/dist/jquery.min.js"

So obviously, it's doesn't work !  Big Grin

Hi, yes i run into the same problem at first. i've copied resource's content dir to a new dir (php-debugbar) in my assets directory, as you see it in the config file :

PHP Code:
$config['base_url'] = get_instance()->config->base_url('assets/php-debugbar'); 

Or you can grant the access to vendor's directory in your .htaccess configuration but it's not recommended. Tell me if it's helpful  Wink .
Reply


Messages In This Thread
CodeIgniter Debug Bar - by Tan5en5 - 12-01-2014, 04:16 AM
RE: CodeIgniter Debug Bar - by pixel - 12-02-2014, 04:05 PM
RE: CodeIgniter Debug Bar - by Tan5en5 - 12-03-2014, 02:40 AM
RE: CodeIgniter Debug Bar - by _this - 12-09-2014, 05:09 AM
RE: CodeIgniter Debug Bar - by stefanv - 02-17-2015, 02:51 PM
RE: CodeIgniter Debug Bar - by Tan5en5 - 04-14-2015, 07:59 AM
RE: CodeIgniter Debug Bar - by sotavento - 03-18-2015, 01:42 AM
RE: CodeIgniter Debug Bar - by stefanv - 04-14-2015, 10:49 AM
RE: CodeIgniter Debug Bar - by stefanv - 04-14-2015, 12:02 PM
RE: CodeIgniter Debug Bar - by kenjis - 05-14-2015, 07:47 PM
RE: CodeIgniter Debug Bar - by kenjis - 05-14-2015, 09:34 PM
RE: CodeIgniter Debug Bar - by kenjis - 05-15-2015, 05:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB