ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Templates won't sync after upgrade from 1.6.8 to 2.4

March 03, 2012 1:35pm

Subscribe [2]
  • #1 / Mar 03, 2012 1:35pm

    vmills

    96 posts

    Following the installation documentation on this, I created a folder “default_site” under expressionengine/templates in the system folder which I’ve renamed to “go.” Permissions are set at 777. I’ve attached a screen shot of the setting for the template path (I’ve tried with and without trailing slash and with and without “default-site” segment). For all the existing templates I get a “No file exists” notice.

    I was able to create a new template and it shows as synchronized in the control panel, but I can’t find it via ftp. Any hints on how I could resolve this problem?

  • #2 / Mar 05, 2012 12:14pm

    Shane Eckert

    7174 posts

    Hello vmills,

    I am sorry to hear you are running into this problem.

    What I understand you to be saying is that you have the destination listed as

    /www/eh——-/public_html/templates

    And the folder you would like the files saved into is “go”.

    So that the actual path you want your templates saved to is:

    /www/eh——-/public_html/templates/go/...

    Even if you rename default_site to something else, ExpressionEngine will recreate a new default_site and then put the template there under Site.group.

    If you would like the templates saved under go, you will need to modify your Basepath to:

    /www/eh——/public_html/templates/go

    I hope this makes sense. You can read more about this here. Please let me know if you need more clarification or if there is anything else I can help you with.

    Cheers,

  • #3 / Mar 05, 2012 12:40pm

    vmills

    96 posts

    Shane, I think you misunderstood what I did. The path in the screenshot includes “go” which is the renamed system directory. I created a “default_site” directory under /www/eh—-/go/expressionengine/templates and moved the template files there and adjusted the path to the one you see in the screenshot. I followed the instructions on number 4 here, but the templates are still not syncing.

  • #4 / Mar 06, 2012 12:25pm

    vmills

    96 posts

    Any other suggestions?

  • #5 / Mar 07, 2012 1:54pm

    Shane Eckert

    7174 posts

    Hello vmills,

    I am sorry that you are still running into this issue.

    I understand now. The way you have this set up should work.

    You might try clearing your cache. Did you do that during the update?

    Are you able to find any of the files anywhere using FTP?

    Another route to take is to look through the logs to see where the files are being saved. Another idea is to enable debugging to see if there is any errors being thrown.

    To turn debugging on please go to your Control Panel and navigate to Admin->System Administration-> Output and Debugging. Please set the last two settings, which are “Display Output Profiler?” and “Display Template Debugging?”, to yes.

    Again, sorry that you are running into this. It’s strange. Let me know what you find and if you want to try the two debugging options I mention.

    Cheers,

  • #6 / Mar 07, 2012 3:22pm

    vmills

    96 posts

    Yes I cleared caches before the update and just did it again. I do know where the files are being saved, and can access them via FTP. In fact I’ve tried moving them around to different places and changing the path just to see if I could get anything to work. I’ve checked and rechecked permissions on the template files. I turned on debugging and went back to the synchronize templates page in the control panel, but I don’t see any errors in the debugging data (not sure what I would be looking for there). Of course it still says the templates don’t exist.

  • #7 / Mar 08, 2012 6:55pm

    Sean C. Smith

    3818 posts

    Hi vmills,

    I recently ran into a similar problem where ownership of the files had changed and I needed my host to change the ownership so I could correctly change the permissions for folder and file uploads. Could you check with your host that permissions are set correctly?

    Sean

  • #8 / Mar 13, 2012 1:21pm

    vmills

    96 posts

    I had checked with Engine Hosting to see if they had any ideas. They didn’t, but the day after I contacted them I logged on to the server and saw that for every template directory in the default_site folder, there was a duplicate directory with a .group extension - and the templates were then visible in Sync Templates.

    I have no idea why the .group directories appeared, and I haven’t heard back from EH whether they did anything to create them (I don’t think they did).

    So don’t you think it would be a good idea to update the documentation here to say that template directories under 2.x must have a .group extension? I assume that was the reason the template files weren’t recognized.

    I really don’t understand why this hasn’t been a problem for everyone upgrading, or why it took me a full week to get it resolved.

    I also don’t like the fact that I have no idea *how* it was resolved. Why did those .group directories suddenly appear?

  • #9 / Mar 13, 2012 7:57pm

    Sean C. Smith

    3818 posts

    vmills,

    That’s really unusual. When you upgraded from 1.6.8 to 2.4 your templates and folders should have been been renamed when you ran the upgrade wizard. I’m sorry that didn’t happen. However it does seem like everything is working as expected now. Is there anything else I can assist you with?

    Sean

  • #10 / Mar 15, 2012 10:29am

    vmills

    96 posts

    You can close this.

  • #11 / Mar 16, 2012 1:53pm

    Shane Eckert

    7174 posts

    Hey vmills,

    Will do! Thank you!

    Have a great weekend!

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases