Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2007
    Posts
    155
    Plugin Contributions
    0

    Default ZEN returns "File not found" define pages editor.

    I am frustrated. ( ok..another story ) but for some reason anytime I try to edit a page using the "define pages editor" it returns a file not found error.

    I can open the directory in FTP and clearly see the file is there. CHMOD 777 etc. But for some reason ZEN says there is no such file??

    Any ideas?

    28 years web design and counting.
    https://stuffdone.com

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: ZEN returns "File not found" define pages editor.

    Are you using a Custom Template? If yes, did you copy over the 'html_includes/classic/" dir. & files to your 'html_includes/custom' dir.?

  3. #3
    Join Date
    Jul 2007
    Posts
    155
    Plugin Contributions
    0

    Default Re: ZEN returns "File not found" define pages editor.

    Quote Originally Posted by Website Rob View Post
    Are you using a Custom Template? If yes, did you copy over the 'html_includes/classic/" dir. & files to your 'html_includes/custom' dir.?

    No just edited the default template.

    28 years web design and counting.
    https://stuffdone.com

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: ZEN returns "File not found" define pages editor.

    If Zen Cart can see the file but not able to Edit it, you will see a msg. saying so at the top of the Admin page. In that you case you change permission of the 'html_includes/classic' dir. to 777.

    If the file is not there then your Browser will return a 404 - Page not Found error.

    Exactly which error are you getting?

  5. #5
    Join Date
    Jul 2007
    Posts
    155
    Plugin Contributions
    0

    Default Re: ZEN returns "File not found" define pages editor.

    Quote Originally Posted by Website Rob View Post
    If Zen Cart can see the file but not able to Edit it, you will see a msg. saying so at the top of the Admin page. In that you case you change permission of the 'html_includes/classic' dir. to 777.

    If the file is not there then your Browser will return a 404 - Page not Found error.

    Exactly which error are you getting?
    One would think ! But not the case. I don't get a 404 error. On the actual edit page where it normally displays the path to the file you are editing it says "file not found: .../path "
    the path is correct. The file IS there. CHMOD is 777.

    Here is the strange part. The server error logs say it is looking in the path in /admin/ folder but this is not what it says on the screen.

    Any idea where in the scripts it actually calls for the file to be edited..the path information it is trying to use...or how it might even think to look in /admin for those files?

    Curiouser and curiouser. This is not production so is not hurting anyone. I can reinstall if necessary but I really hate not knowing what went wrong.



    I have installed a dozen zen carts with out ever having this happen.

    --
    Now on another cart, I have the problem where the page to be edited shows up fine. I can edit it on screen but it will not save it. Permissions are 777 so it is not a permission thing. There is no error message either. I have been manually editing the file through FTP.
    --

    Again...this is not critical to an actual functional cart but now a mystery to solve so if no one has an idea it is not really critical other than to keep my sanity intact.

    Thanks.

    Note: I am not a PHP programmer so kinda stuck other than the little things in the scripts.
    Last edited by stuffdone; 3 Jan 2008 at 03:43 PM. Reason: Little note
    28 years web design and counting.
    https://stuffdone.com

  6. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: ZEN returns "File not found" define pages editor.

    All paths are setup from the 2 config files.
    admin/includes/configure.php
    includes/configure.php

    You should verify that paths are stated correctly.


    In order to Edit a "define" file, not only must the file have 777 permission but so must the directory the the file is in. Sometimes you even need to go one directory higher with 777 permissions.

    define_main_page.php <- this must have 777 permissions
    classic directory <- this must have 777 permissions
    html_includes directory <- this may need 777 permissions

    If push comes to shove, make the directories 755 and the files 644 then edit the files on your Computer and FTP them. That will always work.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 11 Aug 2016, 04:12 PM
  2. Browsing to mystore/admin returns a "Page not found" error
    By jharper in forum Basic Configuration
    Replies: 2
    Last Post: 9 Feb 2010, 08:40 AM
  3. "Define Pages Editor" Not working?
    By Disarmer in forum General Questions
    Replies: 3
    Last Post: 1 Jul 2009, 11:48 PM
  4. How do i incorportate my own CSS file in the "Define Page Editor"
    By Natural Tone in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 4 Dec 2008, 12:15 AM
  5. How to get rid of the site map on the "Define Pages" 404 page not found?
    By karma-lab in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Jun 2008, 04:50 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