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.

Template changes to file are not seen by EE until templates are synced.

June 20, 2010 8:34pm

Subscribe [5]
  • #1 / Jun 20, 2010 8:34pm

    twaddington

    11 posts

    This question may be related to a resolved thread.

    I’m running ExpressionEngine v2.0.2 Build 20100430 on NearlyFreeSpeech.Net hosting. I’m having an issue where I have to “re-sync” my templates whenever I make a change to the template file. This is a huge PITA when I’m trying to develop a new site.

    I have double-checked my “Basepath to Template File Directory” and it seems to be set correctly. My templates are saved correctly as files from EE, it just seems like it can’t read the changes.

    I believe safe_mode is enabled in my hosting env.

    Any ideas?

  • #2 / Jun 21, 2010 2:01am

    John Henry Donovan

    12339 posts

    twaddington,

    I believe safe_mode is enabled in my hosting env

    For a start I would try getting safe_mode disabled as having it enabled is not the ideal environment for EE especially where files are concerned.

    Use our Server Wizard to check for other hosting requirements.

  • #3 / Jun 21, 2010 2:13am

    twaddington

    11 posts

    twaddington,

    I believe safe_mode is enabled in my hosting env

    For a start I would try getting safe_mode disabled as having it enabled is not the ideal environment for EE especially where files are concerned.

    Use our Server Wizard to check for other hosting requirements.

    Turning safemode off on this host is not an option. Any other ideas?

  • #4 / Jun 21, 2010 3:36am

    twaddington

    11 posts

    Sorry for my curt response, working with EE has been frustrating so far, a lot of things I think should be simple are not.

    Regardless, I seem to have resolved this problem at least. I had to recursively change the group for my system directory to “web”. NFSN has a pretty heavy-handed security policy on their shared hosting.

    Thanks for the response!

  • #5 / Jun 21, 2010 3:39am

    John Henry Donovan

    12339 posts

    twaddington,

    Turning safemode off on this host is not an option. Any other ideas?

    This is the first thing I would try and enable with this sort of issue. Migrating to a new host might have to be an option here.

    What permissions do you have set on your template folder currently.

  • #6 / Jun 21, 2010 3:41am

    John Henry Donovan

    12339 posts

    twaddington,

    I had to recursively change the group for my system directory to “web”

    Glad you have found a solution there.

    Sorry for my curt response, working with EE has been frustrating so far, a lot of things I think should be simple are not.

    No problems. Do you have anything outstanding that you are having issue with that we may be able to help you with?

  • #7 / Apr 07, 2011 4:15pm

    notoryious

    70 posts

    This is exactly my set-up too… I am using nearlyfreespeech and agree, turning safe_mode off is not an option—WAY too slow otherwise.

    Everything seems to be fine when I’m not logged into the site, but once logged in I see a ton of php errors. An example of one:

    A PHP Error was encountered

    Severity: Warning

    Filename: libraries/Template.php

    Line Number: 2421


    Any idea of what I can do to fix these errors?

    Thanks!

  • #8 / Apr 07, 2011 4:32pm

    Brandon Jones

    5500 posts

    notoryious,

    What version and build of EE are you using? What are the first couple of PHP errors output?

  • #9 / Apr 07, 2011 4:35pm

    notoryious

    70 posts

    Thanks for any help….

    Version: Freelancer v2.1.1

    Errors:

    A PHP Error was encountered

    Severity: Warning

    Message: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/public/ee20_system/expressionengine/templates/default_site/site.group/index.html) is not within the allowed path(s): (/f5/toryhobson/:/nfsn/apps/php5/lib/php/:/nfsn/apps/php/lib/php/:/nfsn/content/content/nfsn/:/usr/local/php/lib/:/usr/local/php/5.2.17/lib/:/usr/local/php/5.3.5-nfsn1/lib/)

    Filename: libraries/Template.php

    Line Number: 2421
    A PHP Error was encountered

    Severity: Warning

    Message: Cannot modify header information - headers already sent by (output started at /f5/toryhobson/public/ee20_system/codeigniter/system/core/Exceptions.php:171)

    Filename: core/Common.php

    Line Number: 428

  • #10 / Apr 07, 2011 5:22pm

    Brandon Jones

    5500 posts

    Hi notoryious,

    Yes, as that error indicates your host’s open_basedir restriction is preventing EE from reading the filesystem. Please ask them to remove this restriction.

  • #11 / Apr 07, 2011 6:20pm

    notoryious

    70 posts

    Here’s what nearlyfreespeech replied with:

    I don’t know where you got this, but it is completely wrong.  If you are getting errors related to open_basedir on our system, your site is improperly configured.  Without knowing the actual error, however, we wouldn’t be able to give more specific guidance.  If you want to share it, we may be able to offer more help.

  • #12 / Apr 08, 2011 7:22am

    John Henry Donovan

    12339 posts

    notoryious,

    Can you share that error with your host please and see what they say

  • #13 / Feb 10, 2012 1:01pm

    OrganizedFellow

    435 posts

    I too am having problems with EE writing and saving template files.
    Has there been a resolution to this?

  • #14 / Feb 13, 2012 2:08pm

    Shane Eckert

    7174 posts

    Hello OrganizedFellow,

    Can you give us a few more details?

    Are you seeing an error?

    What version of ExpressionEngine are you running?

    Have you checked your file path in the Global Template Preferences?

    Are you getting the same error concerning open_basedir restrictions?

    Looking forward to your response.

    Cheers,

  • #15 / Feb 13, 2012 2:35pm

    OrganizedFellow

    435 posts

    Hi Shane.
    Thanks for helping out.

    OrganizedFwllow,

    I responded to your request on this thread here.

    Do you mind if we stay on one thread? It will help me focus my efforts more effectively.

    Cheers,
    Shane

    I actually started my own thread
    As you can there, I’ve gone through quite a bit.
    I hope you’re able to follow all that I’ve done.
    As of now, I still have not made any progress.

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

ExpressionEngine News!

#eecms, #events, #releases