Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2010
    Location
    Austria
    Posts
    115
    Plugin Contributions
    0

    Default [Done v157a] Empty HTML define files show as "does not exist"

    Hi Zen team,

    Not sure if this intentional or a bug? Noticed when upgrading to Zen Cart 1.5.7

    In Zen Cart admin > Tools > Define Pages Editor, when a file is empty (0 KB), it shows as "does not exist" although the file is present on the server. This can be fixed by adding content to the file, a simple "<?php //something" will do.

    This appears to be new behaviour, in older 1.5.5.a empty files worked.

    Click image for larger version. 

Name:	Admin_Define_Pages_Editor.jpg 
Views:	52 
Size:	17.9 KB 
ID:	19181

    Click image for larger version. 

Name:	define.jpg 
Views:	55 
Size:	16.7 KB 
ID:	19182

    with kind regards, Edith

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,697
    Plugin Contributions
    123

    Default Re: Empty HTML define files show as "does not exist"

    Behavior confirmed in a vanilla 1.5.7 cart. 1.5.8 is also broken in a different way.
    (This also worked in 1.5.6.)
    Last edited by swguy; 8 Sep 2020 at 06:34 PM.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Empty HTML define files show as "does not exist"

    .

    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.

  4. #4
    Join Date
    Jun 2010
    Location
    Austria
    Posts
    115
    Plugin Contributions
    0

    Default Re: Empty HTML define files show as "does not exist"

    Thank you! That fix works for me

 

 

Similar Threads

  1. [Duplicate] [Done v157a] Define Page Editor
    By niccol in forum Bug Reports
    Replies: 2
    Last Post: 5 Oct 2020, 04:42 PM
  2. Replies: 1
    Last Post: 29 May 2019, 06:24 AM
  3. Define Page Editor does not have HTML
    By zulu26 in forum Basic Configuration
    Replies: 3
    Last Post: 4 Apr 2012, 10:38 PM
  4. zen_order does not exist error in database no orders show in admin
    By Lyon in forum Managing Customers and Orders
    Replies: 2
    Last Post: 23 Mar 2010, 10:42 PM
  5. Define Pages Editor: File does not exist:
    By iann in forum Customization from the Admin
    Replies: 4
    Last Post: 28 Apr 2008, 09:55 PM

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