Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: New Day / New Problem - DB errors

    The Admin activity log is for review purposes if there was a problem ...

    So you are safe to remake it ...

    Go to phpMyAdmin and use this to drop and re-create the empty table to eliminate this error ...
    PHP Code:
    DROP TABLE IF EXISTS admin_activity_log;
    CREATE TABLE admin_activity_log (
      
    log_id int(15NOT NULL auto_increment,
      
    access_date datetime NOT NULL default '0001-01-01 00:00:00',
      
    admin_id int(11NOT NULL default '0',
      
    page_accessed varchar(80NOT NULL default '',
      
    page_parameters text,
      
    ip_address varchar(15NOT NULL default '',
      
    PRIMARY KEY  (log_id),
      
    KEY idx_page_accessed_zen (page_accessed),
      
    KEY idx_access_date_zen (access_date),
      
    KEY idx_ip_zen (ip_address)
    TYPE=MyISAM
    You appear to be missing the auto_increment ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: New Day / New Problem - DB errors

    NOTE: with prefixes such as zen_ on your table names, you need to use:
    PHP Code:
    DROP TABLE IF EXISTS zen_admin_activity_log;
    CREATE TABLE zen_admin_activity_log (
      
    log_id int(15NOT NULL auto_increment,
      
    access_date datetime NOT NULL default '0001-01-01 00:00:00',
      
    admin_id int(11NOT NULL default '0',
      
    page_accessed varchar(80NOT NULL default '',
      
    page_parameters text,
      
    ip_address varchar(15NOT NULL default '',
      
    PRIMARY KEY  (log_id),
      
    KEY idx_page_accessed_zen (page_accessed),
      
    KEY idx_access_date_zen (access_date),
      
    KEY idx_ip_zen (ip_address)
    TYPE=MyISAM
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Default Another New Day / New Problem - DB errors

    Now the admin panel will not open at all.
    http://www.liberty-flag.com/admin/index.php

    Ajeh, I ran the query that you sent me, and I get:

    Warning: Cannot modify header information - headers already sent by (output started at /web/myadmin/m50/1/libraries/header_meta_style.inc.php:27) in /web/myadmin/m50/1/libraries/common.lib.php on line 1154
    Not sure what the header information is? This is what I get from the database admin: It looks complete to me, but the admin will not even open now.




    JOhn ><>

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: New Day / New Problem - DB errors

    I am not sure what that file is ... and I don't see your site coming up at all ...

    Is that file part of an add-on?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Default Re: New Day / New Problem - DB errors

    Quote Originally Posted by Ajeh View Post
    I am not sure what that file is ... and I don't see your site coming up at all ...

    Is that file part of an add-on?

    http://www.liberty-flag.com/admin/index.php is the address to the admin panel that is not coming up. I have changed the root index.php to a static index.htm so I can display the down for maintenance page.

    The picture is the phpMyAdmin layout for the db. It shows the table layout for the admin_activity_log table. Does it look complete? Are the fields and indexes set up correctly?
    Last edited by Stuff4Toys; 29 May 2007 at 03:52 PM. Reason: Spell Check
    Newest Site: ChargerPros - Stuff4Toys

  6. #6
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    red flag Re: New Day / New Problem - DB errors

    So I did my best to compare the admin_activity_log file to one on a functioning database and have them set up the same. The Admin Panel will still not come up.

    http://www.liberty-flag.com/admin/

    Just does NOT load. I compared the admin/includes/configure.php from my test site AND the /includes/configure.php and I believe all is set up correctly.

    Is there somewhere else I need to check settings?

    If you want to see the site with many broken image links try:
    http://www.liberty-flag.com/x-index.php

    Heeeeelp Pleeeaaassse
    JOhn ><>
    Newest Site: ChargerPros - Stuff4Toys

  7. #7
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Default Re: New Day / New Problem - DB errors

    THANKS Linda

    Got everything working and up on the new server. Still missing a few images and descriptions, but take a look around. Please don't order anything yet. http://www.liberty-flag.com/index.php

    THANKS AGAIN
    JOhn ><>
    Newest Site: ChargerPros - Stuff4Toys

 

 

Similar Threads

  1. v150 Problem Moving to new URL and cannot get pages to show - 404 errors
    By marketingspartan in forum General Questions
    Replies: 3
    Last Post: 5 Nov 2013, 03:42 PM
  2. Email new password errors
    By Midwestfishing in forum General Questions
    Replies: 4
    Last Post: 21 Nov 2009, 04:51 AM
  3. new product sidebar (whats new) image size problem
    By jonnyboy22 in forum General Questions
    Replies: 1
    Last Post: 13 Mar 2009, 08:21 PM
  4. New Products Errors!
    By sketchhgal in forum General Questions
    Replies: 4
    Last Post: 3 Feb 2009, 01:16 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