Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2010
    Location
    Finland
    Posts
    463
    Plugin Contributions
    0

    Default Created a new-folder which does a 404

    I installed my new (1.5.4) code in a subfolder (public_html/shop) - redid all file properties 755 (changed configure back). When I open the shop it shows the main page (shop/index.php) - all's well!

    BUT when I try to move on, to look at products or anythig I get a "404 Not Found":
    The requested URL /shop/index.php was not found on this server.
    The file is there - that's how I got the index-page in the first place! It shouldn't be a permission issue, as all are 755!?

    The only things I seem to be able do is change the language and login - e.g. "Front page" gets me:
    The requested URL /shop/ was not found on this server.
    It seems to have something to do with ZenCart "redirection" - it happens when:
    .../shop/index?main_page=index...
    Last edited by kalastaja; 3 Jan 2015 at 11:34 AM.

  2. #2
    Join Date
    Mar 2010
    Location
    Finland
    Posts
    463
    Plugin Contributions
    0

    Default Re: Created a new ZenCart-folder which does a 404

    After getting additional info from my service provider, it seems like it might have to do with redirection of the hosting page.
    The "tgi.fi" page is instructed to use ".../public_html/shop" - somehow it doesn't do that, because with "tge.fi" I get ".../public_html/index.php" not the new shop. With "tge.fi/shop" I get the new shop, but then I get problems mentioned above.

    So I'm "in between" - you can't solve it because it's a service-provider-issue and they can't solve it because it's ZenCart-issue....
    Last edited by kalastaja; 3 Jan 2015 at 11:53 AM.

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

    Default Re: Created a new-folder which does a 404

    That's not uncommon when moving directories around. Is "/shop" mentioned in your configure.php files at all?

    If you've got defines where "shop" is mentioned, remove the "shop" part.
    (NOTE: If something's defined as '/shop/' then that would get changed to just '/', not '')
    .

    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
    Mar 2010
    Location
    Finland
    Posts
    463
    Plugin Contributions
    0

    Default Re: Created a new-folder which does a 404

    Quote Originally Posted by DrByte View Post
    If you've got defines where "shop" is mentioned, remove the "shop" part.
    URL:s I understand, but what about absolute paths like "/home/fh2fuvvy/public_html/shop/".

  5. #5
    Join Date
    Mar 2010
    Location
    Finland
    Posts
    463
    Plugin Contributions
    0

    Default Re: Created a new-folder which does a 404

    Ok, Now it works - thanks!

 

 

Similar Threads

  1. Replies: 1
    Last Post: 29 Apr 2013, 05:40 PM
  2. 404 error after changing name od admin folder
    By wagnerguy in forum Basic Configuration
    Replies: 27
    Last Post: 24 Dec 2011, 06:10 AM
  3. Where does the order get created?
    By Cindy2010 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 18 Feb 2011, 06:27 AM
  4. 404 errors after renaming admin folder
    By MoooNDawG in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Feb 2010, 02:58 PM
  5. CGI-BIN folder needs to be created
    By [email protected] in forum Basic Configuration
    Replies: 6
    Last Post: 23 May 2006, 04:44 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