All Tags are displayed twice after Update to 1.2.1

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: All Tags are displayed twice after Update to 1.2.1

Post by kermit »

Did a NEW install of 1.2.1.. and this is what I've uncovered so far about these issues:

if modifier.cms_date_format.php is present, news appears to work.. at least articles are showing up in the admin panel. the site i'm working on doesn't use news, the default article is present, though... but if the plugin is present, UDTs are broken.

remove modifier.cms_date_format.php from ./plugins and UDTs work, but news admin is broken; the new News module is dependent upon it (see errors in output html).


so, you can choose: administer news or have functional UDTs (i chose the UDTs, as the site requires one)



and why am i starting to develop a site with the broken 1.2.1? because the diff from 1.2.1 to whatever fixes it will be oodles smaller than the one from 1.2.0 to the next release; and i need to start *now* not wait for fixes.
Last edited by kermit on Mon Nov 26, 2007 10:00 am, edited 1 time in total.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
alby

Re: All Tags are displayed twice after Update to 1.2.1

Post by alby »

I think that this is good, please test and report:
Add comment (//) in source of plugins/modifier.cms_date_format.php:
GetSmarty();
$config =& $gCms->GetConfig();
..........
Alby
Last edited by alby on Mon Nov 26, 2007 10:35 am, edited 1 time in total.
horus
Forum Members
Forum Members
Posts: 25
Joined: Mon Jul 24, 2006 8:05 am

Re: All Tags are displayed twice after Update to 1.2.1

Post by horus »

Works for me.
jce76350
Beta Tester
Beta Tester
Posts: 2035
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: All Tags are displayed twice after Update to 1.2.1

Post by jce76350 »

Hi,
//$smarty =& $gCms->GetSmarty();
Ok for the list of Tags
But NO user Tags works

see message
Last edited by jce76350 on Mon Nov 26, 2007 10:45 am, edited 1 time in total.
Jean-Claude Etiemble
alby

Re: All Tags are displayed twice after Update to 1.2.1

Post by alby »

jce76350 wrote:
//$smarty =& $gCms->GetSmarty();
Ok for the list of Tags
But NO user Tags works

see message
Strange, my content:

Code: Select all

{'2007-11-27'|cms_date_format:'%A'}
<br />
{custom_copyright}
<br />
{user_agent}
work

Alby
jce76350
Beta Tester
Beta Tester
Posts: 2035
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: All Tags are displayed twice after Update to 1.2.1

Post by jce76350 »

Hi alby,

Just test {user_agent}   the tag from cmsms (echo $_SERVER["HTTP_USER_AGENT"];)
I do not see anything

If I test your tag

Code: Select all

{'2007-11-27'|cms_date_format:'%A'}
<br />
{custom_copyright}
<br />
{user_agent}
I see
Tuesday



[EDIT It Works but I do .. Clear Cache after each modification ]
Last edited by jce76350 on Mon Nov 26, 2007 11:42 am, edited 1 time in total.
Jean-Claude Etiemble
moorezilla

Re: All Tags are displayed twice after Update to 1.2.1

Post by moorezilla »

this comment fix seems to work. just tried it. woot!
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: All Tags are displayed twice after Update to 1.2.1

Post by cnymike »

Commenting out the code worked for me too, but it is essential to Clear Cache in Site Admin -> Global Settings.
User avatar
alinome.net
Forum Members
Forum Members
Posts: 124
Joined: Thu Jan 25, 2007 2:54 pm
Location: España / Hispanujo / Spain

Re: All Tags are displayed twice after Update to 1.2.1

Post by alinome.net »

alby wrote: Add comment (//) in source of plugins/modifier.cms_date_format.php:
GetSmarty();
$config =& $gCms->GetConfig();
Works for me too: tags work again, tag list is fine, and news admin works again.

Thanks
Marcos Cruz
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: All Tags are displayed twice after Update to 1.2.1

Post by RonnyK »

Check,

http://forum.cmsmadesimple.org/index.ph ... 292.0.html

for the patch from the SVN.

Ronny
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: All Tags are displayed twice after Update to 1.2.1

Post by RonnyK »

Please check

http://forum.cmsmadesimple.org/index.ph ... 292.0.html

For the official patch.

Ronny
Locked

Return to “[locked] Installation, Setup and Upgrade”