Welcome Guest, Not a member yet? Register   Sign In
Dynamic CSS/JS Files Not Working
#3

[eluser]Randy Casburn[/eluser]
Hi Blue -- Here something to start with...

In your constructor function the first thing I noticed was the global keywork...(yuck) but I'll get over that ;-)

Code:
global $wpdb, $UserTools, $StoreTools;


Then later it dawned on me that in the index method you're attempting to use $StoreTools in on Object construct...

Code:
$StoreInfo = $this->StoreTools->store_info_slug($StoreSlug);


If this is truly a PHP object, you'll need to either grab and instance of it or clone it before you can call it's methods.

Check out the HTML source of the page and you may see the PHP error there. Also, turn on logging in CI while you're developing and dump the logs. That's helpful too.

I hope this get's you started or at least is a little helpful.

Randy


Messages In This Thread
Dynamic CSS/JS Files Not Working - by El Forum - 07-25-2008, 10:42 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-28-2008, 07:39 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-28-2008, 08:55 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-28-2008, 09:06 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-28-2008, 09:37 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-28-2008, 09:45 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-29-2008, 12:01 AM
Dynamic CSS/JS Files Not Working - by El Forum - 07-30-2008, 05:58 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-30-2008, 06:55 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-30-2008, 09:12 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-30-2008, 10:14 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-30-2008, 10:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB