[ SOLVED ] two identical CMSMS into the same host

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
gianpiero
Forum Members
Forum Members
Posts: 221
Joined: Sun Jan 07, 2007 4:32 pm

[ SOLVED ] two identical CMSMS into the same host

Post by gianpiero »

Hi to everyone
I'm using CMSMS since 2006, moving, backupping, restoring and so on

Usually I install CMSMS in a remote dir, that I protect for developing;
when work is finished I move CMSMS at the first level to publish
It worked always.

Now I have a problem with 1.6.5

I would like to host two ( or three,  is the same ) identical CMSMS in the same domain:

one is at the first level example www.domain.com,
the other will be at www.domain.com/second

After developing the first CMSMS, templates styles and contents,  I moved it into the root of domain and it works, that's normal.

Then :

- backup database of CMSMS that is into the root
- backup all files of CMSMS
- restored all files of CMCMS into a different dir ex. www.domain.com/second
- restored the database into a new database on same host, new name db, new pass db, I changed prefix of tables now becoming "cms_second_"
- fixed config.php with new values for the second CMSMS ( the config.php in its own second dir )

This way everythink is working, with an exception: I can't see the banner, there is not the link to HOME into the header, and the following error appear:
string(127) "Smarty error: [in tpl_head:17 line 11]: syntax error: unrecognized tag 'cms_slo_selflink' (Smarty_Compiler.class.php, line 590)" string(127) "Smarty error: [in tpl_head:17 line 12]: syntax error: unrecognized tag 'cms_slo_selflink' (Smarty_Compiler.class.php, line 590)" string(127) "Smarty error: [in tpl_head:17 line 13]: syntax error: unrecognized tag 'cms_slo_selflink' (Smarty_Compiler.class.php, line 590)"     string(127) "Smarty error: [in tpl_body:17 line 22]: syntax error: unrecognized tag 'cms_slo_selflink' (Smarty_Compiler.class.php, line 590)"
Any suggestion about the origin of the error ?  ???

I checked and checked and checked one more config.php, supposing a path problem ....
I deleted, and deleted, and again deleted tmp/templates_c .....



Thanks,   ;)
Gianpiero
Last edited by gianpiero on Sat Dec 12, 2009 9:30 pm, edited 1 time in total.
gianpiero
Forum Members
Forum Members
Posts: 221
Joined: Sun Jan 07, 2007 4:32 pm

Re: two identical CMSMS into the same host

Post by gianpiero »

Thanks for your patience, and you interest, problem resolved:
into the template "Left simple navigation + 1 column" there is also the following
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}

when I replaced the prefix into database, into the template they became
{cms_slo_selflink dir="start" rellink=1}
{cms_slo_selflink dir="prev" rellink=1}
{cms_slo_selflink dir="next" rellink=1}
It was a mistake of mine, because templates are db resident, and changing the value of tables-prefix I changed the template text also   ::)

sorry and keep up the good work   ;)

gianpiero
Last edited by gianpiero on Sat Dec 12, 2009 9:30 pm, edited 1 time in total.
gianpiero
Forum Members
Forum Members
Posts: 221
Joined: Sun Jan 07, 2007 4:32 pm

Re: [ SOLVED ] two identical CMSMS into the same host

Post by gianpiero »

thanks for you answer
Post Reply

Return to “CMSMS Core”