Page 1 of 1

odd issue with development site RESOLVED

Posted: Fri Apr 23, 2010 9:45 am
by rlparker25
Hi,

I have my finished site up and running fine so I set up a develoment site on a subdomain  (development.mydomain.co.uk). This also works but I am having a really strange problem.

For some reason the templates on the development and live sites are linked. If I edit a template on the development site it changes the template for the live site too. Nothing else seems to be doing this, I can add and edit pages, forms and UDTs without it being duplicated on the other site, it just seems to be the templates.

I have checked the config files for both sites and they are pointing to different databases. Does anyone have any ideas what could be causing this? Its driving me crazy. Is there anywhere else that could be calling the wrong database for the templates?

grateful for any suggestions

thanks

Re: odd issue with development site

Posted: Fri Apr 23, 2010 1:57 pm
by replytomk3
Maybe you are using an "include"? To include a php or css file on the server?

Also, make sure all paths are also correct. The two sites might be pointing to the same directory somewhere. You probably just copy pasted the second config file.

Are you sure it's not just images or linked CSS that changes?

Re: odd issue with development site

Posted: Fri Apr 23, 2010 3:31 pm
by rlparker25
Hi,

thanks for the reply. The site uses the template externaliser and the cache path hadn't been changed for the dev site which was what was causing the problem