Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2010
    Location
    tx
    Posts
    102
    Plugin Contributions
    0

    help question Define Pages Editor is locked?

    Ok on my site im working on there is this ugly zen cart ad,
    Its in the middle of the page and wont go away,
    I found out it told me to this,
    his content is located in the file at: /languages/english/html_includes/YOUR_TEMPLATE/define_main_page.php

    You can quickly edit this content via Admin->Tools->Define Pages Editor, and select define_main_page from the pulldown.

    I went to Define Pages Editor and it is locked,
    So i went to my cpanel to check permission and it looks fine,
    define_main_page.php mode is set to 644,
    How can i get ride of that ad code in the main page php?
    Here is a picture of the issue im having,
    Thanks

    Last edited by chrismaddox3d; 29 Aug 2010 at 04:49 AM. Reason: edit

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Define Pages Editor is locked?

    To edit that file using your browser, you must make the file writable, which means it needs to be at permission level 755, or in some cases 777.
    That's why the red error message tells you specifically "I can not write to this file. Please set the right user permissions on [it]".

    You could alternatively edit the file using your FTP program to download it, edit it , and then upload it again.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2010
    Location
    tx
    Posts
    102
    Plugin Contributions
    0

    Default Re: Define Pages Editor is locked?

    Thanks that fixed it,

 

 

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. Locked my define pages. HELP!
    By jaqkapparel in forum General Questions
    Replies: 3
    Last Post: 27 Feb 2008, 06:48 AM
  5. Define Pages Editor not opening editor
    By newuserhere in forum General Questions
    Replies: 9
    Last Post: 5 Jan 2007, 05:53 AM

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