Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Dec 2008
    Posts
    5
    Plugin Contributions
    0

    Default Install problem admin works but not store.

    Okay I am a little stumped I installed zencart on a test server and everything seem to have gone well. However I can only get to the admin pages the store itself just displays the started need to install this page.

    This is running on a hosted linux server running apache. I have gone through trying to compare directory. Also I have been digging in the documention but haven't found anything helpful as per yet. If anybody could nudge me in the proper direction that would be greatly appreciated.

  2. #2
    Join Date
    Feb 2004
    Location
    Simcoe, Ontario, Canada
    Posts
    2,479
    Plugin Contributions
    1

    Default Re: Install problem admin works but not store.

    url please and what version of zencart are you using?
    Windows, BSD, Linux, Cisco, Hardware & IT Security Tech
    AEIIA - Zen Cart Certified & PCI Compliant Hosting

  3. #3
    Join Date
    Dec 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: Install problem admin works but not store.

    http://www.shadowwolves.org/zencart/ and 1.3.8

    Would it help if I pasted the config files?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Install problem admin works but not store.

    That page normally only appears when the config settings in your /includes/configure.php file are pointing to either invalid database details or invalid path details.
    While the admin version of the file is different from the non-admin version, a comparison of the database settings and the path settings often reveals where the errors lie.
    .

    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
    Join Date
    Dec 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: Install problem admin works but not store.

    That is what has me confused compairing them the paths seem identical same with the database info.

  6. #6
    Join Date
    Dec 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: Install problem admin works but not store.

    Admin config

    define('DIR_WS_ADMIN', '/zencart/admin/');
    define('DIR_WS_CATALOG', '/zencart/');
    define('DIR_WS_HTTPS_ADMIN', '/zencart/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/zencart/');

    define('DIR_FS_ADMIN', './../admin/');
    define('DIR_FS_CATALOG', './../');

    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', '192.168.0.1');
    define('DB_SERVER_USERNAME', 'zencart');
    define('DB_SERVER_PASSWORD', 'zencart');
    define('DB_DATABASE', 'zencart');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');

    catalog config

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

    define('DIR_FS_CATALOG', './../');

    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', '192.168.0.1');
    define('DB_SERVER_USERNAME', 'zencart');
    define('DB_SERVER_PASSWORD', 'zencart');
    define('DB_DATABASE', 'zencart');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');

    The actual info for connecting to the database I changed just because it's a public forum. But they were both identical to begin with.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Install problem admin works but not store.

    Quote Originally Posted by chrisw View Post
    define('DIR_FS_ADMIN', './../admin/');
    define('DIR_FS_CATALOG', './../');


    define('DIR_FS_CATALOG', './../');
    I recommend using actual paths from the root of your drive, rather than relative paths.
    .

    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.

  8. #8
    Join Date
    Dec 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: Install problem admin works but not store.

    Thanks that seems to have fixed things for me.

  9. #9
    Join Date
    Nov 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Install problem admin works but not store.

    I have a similar problem.

    Have transferred my site today and usually transfers have gone fine in the past.

    The possible difference with this one is that it's the first site to include the following modules:

    Module manager
    Simple SEO

    So they may be the cause.

    Anyway i can log into the backend with no problems.

    However on the frontend the system is displaying some kind of test page i have never seen before...and can't find referece to it anywhere.

    It refers to a 'Matrix Linux' page, almost like a setup page.

    The url is http://www.unlockinglocking.co.uk/lamberts_health/ if you would like to look at it.

    It's latest version of ZC....

    Have you seen this page before ??

    Config files all appear ok...although i will obviosuly check them again.. as is often the cause of the problem.
    And ran fix_cache_key too, for the updates of the sessions.

    Hope it's not to tricky to get fixed.

    Andy

  10. #10
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Install problem admin works but not store.

    I'd expect to see that placeholder page if the index.php file in your Zencart root directory was missing or corrupt.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Upgrade from 1.51 to 1.54, Admin Works OK but store does NOT work with php >5.4
    By SignaGen2 in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 31 Aug 2015, 07:11 PM
  2. v154 Upgrade from 1.51 to 1.54, Admin Works OK but store does NOT
    By SignaGen2 in forum Installing on a Linux/Unix Server
    Replies: 26
    Last Post: 28 Aug 2015, 03:49 AM
  3. Store works but not admin
    By migzam in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 7 Dec 2007, 07:07 PM
  4. Cross Sell works in admin, but not in store
    By gothstone in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 23 Mar 2007, 01:40 PM
  5. Admin works but cant access store
    By robendicott in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 6 Jun 2006, 11:51 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