Thread: Admin

Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    May 2006
    Posts
    13
    Plugin Contributions
    0

    Default Admin

    I have upgraded Zen, the store is showing but when I try to go to Admin, here's what I'm getting. I have no clue what this means. Can someone help?

    0 DB_ERROR_NOT_CONNECTED
    in:
    [select * from project_version WHERE project_version_key = 'Zen-Cart Database' ]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.


    Thanks!

  2. #2
    Join Date
    Jan 2004
    Location
    UK
    Posts
    1,230
    Plugin Contributions
    0

    Default Re: Admin

    0 DB_ERROR_NOT_CONNECTED
    It means you haven't supplied the correct user name/password/database name for your database, and as a result the shop can't connect to the database.

    You can edit the settings in your shop/includes/configure.php and in your shop/admin/includes/configure.php.

    If your shop is showing products and working Ok. then it will probably be your admin/includes/configure.php file that needs editing.

    If you do a search on '0 DB_ERROR_NOT_CONNECTED' on the forum you'll find lots of posts.
    Last edited by Pixxi; 30 Sep 2006 at 12:57 PM.

  3. #3
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Admin

    Just have a look at includes/configure.php and admin/includes/configure.php to see if you have the right values for the database username and password
    San
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  4. #4
    Join Date
    Aug 2006
    Location
    ulaanbaatar
    Posts
    94
    Plugin Contributions
    0

    Admin

    please guide me, how cn i setup the local time of my zone /at the top of admin/
    Sun, 01 Oct 2006 12:02:48 +0000GMT [127.0.0.1 ]
    tnx

  5. #5
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Admin

    Quote Originally Posted by LostSheep
    please guide me, how can i setup the local time of my zone /at the top of admin/
    Sun, 01 Oct 2006 12:02:48 +0000GMT [127.0.0.1 ]
    tnx
    Hi
    LostSheep
    That time is set in \admin\includes\header.php

    <td class="headerBarContent" align="center"><b><?php echo date("r", time()) . 'GMT' . '&nbsp;[' . $_SERVER['REMOTE_ADDR'] . ' ]&nbsp;'; ?></b></td>

    As you see by default it is GMT timezone
    Which timezone are you in?
    Depending on that you would have to use the setlocale
    http://us2.php.net/manual/en/function.setlocale.php
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  6. #6
    Join Date
    Aug 2006
    Location
    ulaanbaatar
    Posts
    94
    Plugin Contributions
    0

    Admin

    thank u superprg boy
    yr reply is so rapid and i appreciate it much

  7. #7
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Admin

    Quote Originally Posted by LostSheep
    thank u superprg boy
    yr reply is so rapid and i appreciate it much
    Thanks, but did that solve the problem?
    Do let us know how you do it and if you face any problems etc
    San
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  8. #8
    Join Date
    Aug 2006
    Location
    ulaanbaatar
    Posts
    94
    Plugin Contributions
    0

    Default Admin

    i messed up with the time zone so i refreshed old and let it untouched for a while
    i'll be back to it
    thank u anyway for your advice

  9. #9
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Admin

    Create a file time_offset.php which contain a TZ variable for the time zone where you are, put it in...

    admin/includes/extra_configures/time_offset.php


    For example mine contains..

    PHP Code:
    <?php  
    //You can modify the TZ (Time Zone) by using one of the following offsets 
    //TZ=America/Los_Angeles 
    //TZ=America/Denver 
    //TZ=America/Chicago 
    //TZ=America/New_York 

    putenv ('TZ=Australia/Melbourne');  
    ?>
    you need to change

    putenv ('TZ=Australia/Melbourne');

    to what ever your time zone is, you may have to google to find the valid text for your time zone
    ##############################___

  10. #10
    Join Date
    Aug 2006
    Location
    ulaanbaatar
    Posts
    94
    Plugin Contributions
    0

    Re: Admin

    thank you glby for your reply. it doesnt work in my case. i googled there about my zone and didnt find a thing about time zone offset. so would you please guide me through this procedure. my location is in ulaanbaatar mongolia.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Person doing my admin has disappeared cant log into admin
    By semcomputers in forum Basic Configuration
    Replies: 6
    Last Post: 21 Jan 2015, 01:31 AM
  2. Recently uploaded a backup admin folder now admin section is missing
    By Robert Thomas Kirby in forum General Questions
    Replies: 2
    Last Post: 23 May 2013, 10:20 AM
  3. v150 Had to reset admin login details in DB now problems in admin area
    By aliali81 in forum General Questions
    Replies: 2
    Last Post: 15 May 2013, 05:32 PM
  4. my admin page is display "Index of /mystore/admin" but not admin
    By robert12 in forum Basic Configuration
    Replies: 6
    Last Post: 24 Feb 2012, 01:09 PM
  5. Replies: 0
    Last Post: 25 Apr 2007, 05:05 PM

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