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
last_modified_pages with version 1.0.3.
Re: last_modified_pages with version 1.0.3.
Open up plugins/function.last_modified_pages.php
Change to
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.
Change
Code: Select all
global $db;
Code: Select all
global $gCms;
$db =& $gCms->GetDb();
Re: last_modified_pages with version 1.0.3.
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
Jevos
Re: last_modified_pages with version 1.0.3.
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.
We do have a doc/upgrade.txt now, but it doesn't have anything that specific in it.