*

Recent

Author Topic: cachelife  (Read 5942 times)

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
cachelife
« on: February 08, 2012, 09:48:49 PM »
$cachlife is not included as a global variable on the following pages

base_home.php
play.php
pages.php
page.php
links.php
browse.php
blogentry.php
blog.php

I only included the pages that used cachelife in the code and did not have it as a global variable.

Adam LaCombe

  • Sr. Member
  • ****
  • Posts: 433
  • Force: +17/-0
    • My Blog
Re: cachelife
« Reply #1 on: February 08, 2012, 11:01:42 PM »
This is why I changed the template system to use a template class. Needing to set a bunch of globals is a pain. I down right hate the template system we have right now.
Sorry Kurt!  ;D lol

lopa

  • Newbie
  • *
  • Posts: 20
  • Force: +1/-0
Re: cachelife
« Reply #2 on: February 09, 2012, 04:37:59 AM »
I only included the pages that used cachelife in the code and did not have it as a global variable.

It's good how xampp shows all this stuff when you use the latest version of PHP with full error reporting.  :P

But don't let Adams' announcement put you off from fixing all of the other errors too, as it will be a good experience that you can apply to the next version that we all would like to see released.

Just so that we can pick holes in it or fix them! ;D  ;D ;D

PS: I had a look at "Your" version, but as it had all of the errors that existed in the FAS script (That I had already removed) - I didn't feel like doing it again, when there is a new version on the horizon.  :'(

And it's always a great satisfaction to write or modify script to the point where there are no errors - Makes it all run faster too.
« Last Edit: February 09, 2012, 04:47:52 AM by lopa »

Adam LaCombe

  • Sr. Member
  • ****
  • Posts: 433
  • Force: +17/-0
    • My Blog
Re: cachelife
« Reply #3 on: February 09, 2012, 07:27:13 AM »
Yeah exactly, and plus if you get the current version fixed up I'll upload it for customers to download. You could include instructions on how to update also.
But... you're using the beta version of 2.1 aren't you?  :(

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
Re: cachelife
« Reply #4 on: February 09, 2012, 08:32:35 AM »
yes i am but if i have the extra time i could fix up 2.0

lopa

  • Newbie
  • *
  • Posts: 20
  • Force: +1/-0
Re: cachelife
« Reply #5 on: February 09, 2012, 04:25:08 PM »
But... you're using the beta version of 2.1 aren't you?  :(

Not quite sure who that question is directed at?

Adam LaCombe

  • Sr. Member
  • ****
  • Posts: 433
  • Force: +17/-0
    • My Blog
Re: cachelife
« Reply #6 on: February 09, 2012, 04:48:57 PM »
Sorry, that was toward spagetiokillers, but anybody if they wanna fix the current version 2.0 go ahead and I'll reupload it.
Only bug fixes, no new features.