Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Re: Cannot write in Define Pages Editor

    Quote Originally Posted by mc12345678 View Post
    As has been said in relation to other posts you've made about file and folder permissions, those may be necessary for your system (775) but are not standard nor otherwise directly suggested in the Zen Cart installation docs.

    Yes, that information may help you in the future, which is great, but it may open a security issue for someone else and why forum members post information such as this one.

    I again note though, the described error about not being able to save the file, at what point in trying to access the define page was that log generated?
    Respectfully, I have already clarified that my instructions are meant for only a certain kind of systems, I really ignore how other systems work.
    There is a thought-process behind the way I explained, mainly the way apache2 defines envvars:
    Code:
    # envvars - default environment variables for apache2ctl
    
    # this won't be correct after changing uid
    unset HOME
    
    # for supporting multiple apache2 instances
    if [ "${APACHE_CONFDIR##/etc/apache2-}" != "${APACHE_CONFDIR}" ] ; then
        SUFFIX="-${APACHE_CONFDIR##/etc/apache2-}"
    else
        SUFFIX=
    fi
    
    # Since there is no sane way to get the parsed apache2 config in scripts, some
    # settings are defined via environment variables and then used in apache2ctl,
    # /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.
    export APACHE_RUN_USER=www-data
    export APACHE_RUN_GROUP=www-data
    Please, let's not continue beating a dead horse.
    This is a friendly remark, please don't take to offense.

    CK

  2. #12
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Re: Cannot write in Define Pages Editor

    @ mc,

    I again note though, the described error about not being able to save the file, at what point in trying to access the define page was that log generated?
    I don't quite remember which ones of my multiple tries generated the error, basically it was generated by copying the wrong file into an incorrect directory, when I realized what the correct folder was I moved the file in there and set directory to correct perms (again, for my system), that cleared all errors.
    The file was not installed previously there, that is why the editor could not write, I had to copy over the base file. It never said it could not save, but could not write.

  3. #13
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Cannot write in Define Pages Editor

    Quote Originally Posted by ckosloff View Post
    Respectfully, I have already clarified that my instructions are meant for only a certain kind of systems, I really ignore how other systems work.
    There is a thought-process behind the way I explained, mainly the way apache2 defines envvars:
    Code:
    # envvars - default environment variables for apache2ctl
    
    # this won't be correct after changing uid
    unset HOME
    
    # for supporting multiple apache2 instances
    if [ "${APACHE_CONFDIR##/etc/apache2-}" != "${APACHE_CONFDIR}" ] ; then
        SUFFIX="-${APACHE_CONFDIR##/etc/apache2-}"
    else
        SUFFIX=
    fi
    
    # Since there is no sane way to get the parsed apache2 config in scripts, some
    # settings are defined via environment variables and then used in apache2ctl,
    # /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.
    export APACHE_RUN_USER=www-data
    export APACHE_RUN_GROUP=www-data
    Please, let's not continue beating a dead horse.
    This is a friendly remark, please don't take to offense.

    CK
    No offense. As an avid reader and seeker for success, because each thread is its own issue, others won't know about how or why your system isn't like the vast majority.

    As @swguy has pointed out, others may arrive here having experienced a similar issue but the issue may have occurred for a different reason.

    Identifying the contributing conditions helps them determine the value of the fix and/or cause of their issue. My posting of the associated information was in furtherance of completing the posting tips as relates to the issue in this thread.

    Those that have offered assistance do so voluntarily. Ideally they will continue to do so especially when enough information is made available as directly relates to the posted issue.

    It's a lot to consider and from my perspective you've been adventurous in working with the software. I certainly don't want you to be discouraged to seek support. Your extra effort to bound the conditions will get you the needed help a whole lot faster and more effectively to send you off to increase your profit.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #14
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Re: Cannot write in Define Pages Editor

    The only error I found in Zen Cart install is that some define pages like contact_us are missing in the template, and you have to copy the base file into the right template folder to make it work, that is an extra step that the user must take maybe fixed in later versions when Zen Cart will have AI. :)

  5. #15
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,151
    Plugin Contributions
    11

    Default Re: Cannot write in Define Pages Editor

    That's because all the define_*** pages come in the includes/languages/english/html_includes folder to be saved in YOUR_TEMPLATE after editing.

    And, again, you may want to rip the shrink wrap off the docs. https://docs.zen-cart.com/user/template/define_pages/

  6. #16
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Re: Cannot write in Define Pages Editor

    Totally agreed, before rushing into forum or the test site, I should go over docs.

  7. #17
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Cannot write in Define Pages Editor

    Quote Originally Posted by ckosloff View Post
    Totally agreed, before rushing into forum or the test site, I should go over docs.
    Sometimes also using your favorite internet search engine to include the phrase Zen Cart may also get to a close related thread. If the issue isn't specifically with current code, it likely has been addressed.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #18
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Re: Cannot write in Define Pages Editor

    Let's close this thread.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Plain Text editor munging code in define pages editor
    By TecBrat in forum Customization from the Admin
    Replies: 2
    Last Post: 24 Feb 2013, 12:19 PM
  2. Define Pages Editor has only text editor no more html
    By faynart in forum General Questions
    Replies: 4
    Last Post: 13 Dec 2011, 08:03 PM
  3. Using a text editor instead of Define Pages Editor
    By Cookiepus in forum General Questions
    Replies: 3
    Last Post: 3 Feb 2010, 03:12 PM
  4. Define Pages Editor not opening editor
    By newuserhere in forum General Questions
    Replies: 9
    Last Post: 5 Jan 2007, 05:53 AM
  5. Cannot edit via Define Pages Editor
    By Nellie in forum Basic Configuration
    Replies: 1
    Last Post: 15 May 2006, 07:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR