Page 1 of 1
last_modified_pages with version 1.0.3.
Posted: Tue Jan 23, 2007 9:45 am
by Jevos
Page with working tag-code for plugin last_modified_pages in version 1.0.2. doens't work anymore in version 1.0.3... anyone have a clue as to where to look?
Thanks!
Jevos
Re: last_modified_pages with version 1.0.3.
Posted: Tue Jan 23, 2007 12:47 pm
by Ted
Open up plugins/function.last_modified_pages.php
Change
to
Code: Select all
global $gCms;
$db =& $gCms->GetDb();
The global $db reference was removed in 1.0.3 because it conflicted with other apps (zen cart) and wasn't really necessary with the other ways to retrieve it.
Re: last_modified_pages with version 1.0.3.
Posted: Tue Jan 23, 2007 5:32 pm
by Jevos
quick reply with functional fix! Thanks! Does this mean other plugins might need updating? If so, this might be a reason to add an upgrade.txt to the file-package?
Jevos
Re: last_modified_pages with version 1.0.3.
Posted: Tue Jan 23, 2007 5:55 pm
by Ted
It's possible other ones might need it. I didn't think that many things relied on that global $db... I forgot it even existed, to be honest.
We do have a doc/upgrade.txt now, but it doesn't have anything that specific in it.