All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Editing Files Not Syncing Changes

Todd Richards 20 Sep 2012 00:58 problem, complete

OK, I saw another thread on this, but it didn't do anything for me. I have always set up LV to save as files so that I could edit them directly in my editor (Sublime 2). I haven't really had any issues doing that, and the current site I'm working on is no exception. However, all of the sudden the changes that I make to the files are not syncing back to the site. I'm developing on Windows (sorry everyone) so the folder permissions issue isn't really an issue since I'm an administrator.

Now I just tested creating a variable, and it's not saving as a file either. And I've checked the folder path, and it's correct.

Does the path get held in the database or file system? Is there any kind of cache I can clear to "restart" it? Any other suggestions on what to try?

Thanks for suggestions!
Todd

Replies

  1. Cem Meric 20 Sep 2012 04:04

    Same here

    After EE update, LV Sync stopped working. Path info is correct & stored in config.php


    // LOW VARIABLES PREFERENCES
    $config['low_variables_save_as_files'] = 'y';
    $config['low_variables_file_path'] = APPPATH.'variables/';


    Permissions for 'variables' & 'default_site' are both 777.

    Adding new variable from backend doesn't create file even though it is set to 'save as file'. Neither changing existing files reflect in backend.

  2. Low 20 Sep 2012 08:40

    Can't seem to replicate. What are your PHP versions?

    In ext.low_variables.php line 224, can you change this:

    public function sessions_end(&$SESS)


    to this

    public function sessions_end($SESS)


    and see if that helps?

  3. Cem Meric 20 Sep 2012 10:29

    Thanks Low

    Between that & changing file permissions back to 666 fixed it.

    I moved servers so files were set to 644 instead.

  4. Low 20 Sep 2012 10:40

    Good -- How is that for you, Todd?

  5. Todd Richards 20 Sep 2012 13:23

    Hi Low -

    Sorry, I posted right before calling it a night...

    The change in ext.low_variables.php DID solve the problem for me. And while I didn't think about it, my problem also started right after I upgraded to EE 2.5.3.

    Thanks for the quick response - and resolution!!!

    Todd

  6. Low 21 Sep 2012 07:30

    Cool. I'll add the fix to the next version.

  7. Davor Peic 18 Oct 2012 20:11

    Great, this fixed the problem here also.. I was thinking I was crazy or something :)

    thanx

  8. therooster 2 Dec 2013 21:49

    Low,

    I'm seeing this issue. I'm using 2.3.1 with EE 2.5.2.

    Do you think the newest updates will solve problem?

  9. Low 3 Dec 2013 06:59

    Updating to the newest version is always a good idea. But you should also check both the file/folder permissions and make sure EE's cache is cleared.