Results 1 to 9 of 9
  1. #1

    Default XAMPP Install - 404 Error When Trying to Login

    I'm trying to learn Zen-Cart
    Just downloaded and installed v1.3.9h locally.
    I am using XAMPP on Windows7 (Has worked great for all my development work previously)
    Made the "zencart/admin" directory writable.
    Modified the configure.php file as directed (changing "admin", as indicated in the instructions, to "admin1" for the sake of testing) as follows:

    define('DIR_WS_ADMIN', '/zencart/admin1/');

    define('DIR_WS_CATALOG', '/zencart/');

    define('DIR_WS_HTTPS_ADMIN', '/zencart/admin1/');

    define('DIR_WS_HTTPS_CATALOG', '/zencart/');

    define('DIR_FS_ADMIN', 'C:/xampp/feralpots/zen_cart/zencart/admin1/');

    define('DIR_FS_CATALOG', 'C:/xampp/feralpots/zen_cart/zencart/');

    Saved the file.
    Changed the "admin" directory name to "admin1".
    Restarted my Apache server.
    Even cleared the cache...

    And get an "Object not found!"... "Error 404"...

    I've gone through this twice from scratch with the same result.
    What am I doing wrong ???

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

    Default Re: Zen Cart Install - 404 Error When Trying to Login

    404 means "not found".

    I might suggest you start over using the v1.5.0 beta, primarily because it requires only renaming the folder, not editing the file.
    .

    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

    Default Re: XAMPP Install - 404 Error When Trying to Login

    I'm a little reluctant to work with the beta because I'm prototyping a site that I will have to take live.

    One thing I notice is that, when I get the 404 error, the URL reads: "http://zen_cart/zencart/admin/alert_page.php".

    (zen_cart is the local domain I'm working in. "zencart" is the folder with the zen cart files.)

    The directory "admin" no longer exists, and since I didn't request this URL (http://zen_cart/zencart/admin/alert_page.php) I have to assume that the URL I requested (http://zen_cart/zencart/admin1) was trapped by the server and redirected to this URL which generated a 404 because "admin" does not exist...

    Although I'm not sure how or why. I don't see anything in .htaccess or index.php which would cause this redirection...

    Any idea what would cause this ?

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

    Default Re: XAMPP Install - 404 Error When Trying to Login

    Sounds like your configure.php changes didn't "take". Remember, if the file is read-only, then anything you try to save to it won't save.
    .

    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.

  5. #5

    Default Re: XAMPP Install - 404 Error When Trying to Login

    No - it took. I changed permissions to make it writable and after writing it, closed it and reopened it to make sure the changes were there.

    Anything else you can think of ?

    And - do you know of anyone who has ever gotten an XAMPP Zen Cart installation working ? Would be nice to know it's possible :)

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

    Default Re: XAMPP Install - 404 Error When Trying to Login

    Quote Originally Posted by feralreason View Post
    Anything else you can think of ?
    Clearly it's looking for the wrong path. The only places it gets that are from the physical foldername and the text you've entered in the configure.php file.
    Quote Originally Posted by feralreason View Post
    And - do you know of anyone who has ever gotten an XAMPP Zen Cart installation working ? Would be nice to know it's possible :)
    Lots of people do it every day, including myself.
    .

    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.

  7. #7

    Default Re: XAMPP Install - 404 Error When Trying to Login

    OK - Thanks much for your help. I've been over every line several times so I think I'll just delete and reinstall to get a fresh start.

    Thanks again.

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

    Default Re: XAMPP Install - 404 Error When Trying to Login

    Again, I suggest using the latest 1.5
    .

    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.

  9. #9

    Default Re: XAMPP Install - 404 Error When Trying to Login

    Quote Originally Posted by DrByte View Post
    Clearly it's looking for the wrong path. The only places it gets that are from the physical foldername and the text you've entered in the configure.php file.
    You're dead right. I reinstalled and, in looking back through my editor history, I had somehow saved the modified configure.php to the "admin" folder instead of to the "admin/includes" folder.

    Thanks for your help !

 

 

Similar Threads

  1. 404 error when trying to checkout
    By bpoilspill in forum General Questions
    Replies: 2
    Last Post: 7 Feb 2012, 01:33 AM
  2. v139h 404 error when trying to access Admin Settings menu
    By deckandpool in forum General Questions
    Replies: 0
    Last Post: 2 Feb 2012, 04:39 PM
  3. Fresh Install: There was a security error when trying to login
    By nuance9 in forum Installing on a Linux/Unix Server
    Replies: 31
    Last Post: 17 Jul 2011, 04:37 AM
  4. New install, login gives a 404 error.
    By hawks67 in forum General Questions
    Replies: 3
    Last Post: 10 Nov 2010, 02:31 AM
  5. 404 error when trying to add new product
    By chillbilly in forum All Other Contributions/Addons
    Replies: 10
    Last Post: 8 Sep 2007, 04:51 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