ezuser_discountrule table missing

Author Message

peter peter

Thursday 07 July 2005 7:40:32 am

Hi,
i changed nothing. but now comes a error when opening the basket.

Fatal error: A database transaction in eZ publish failed.

the "ezuser_discountrule" table is missing?

Ɓukasz Serwatka

Friday 22 July 2005 3:33:46 am

You can restore your table structure executing SQL code.

From eZ publish 3.6 distro

CREATE TABLE `ezuser_discountrule` (
  `contentobject_id` int(11) default NULL,
  `discountrule_id` int(11) default NULL,
  `id` int(11) NOT NULL auto_increment,
  `name` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 00:20:49
Script start
Timing: Jan 31 2025 00:20:49
Module start 'layout'
Timing: Jan 31 2025 00:20:49
Module start 'content'
Timing: Jan 31 2025 00:20:49
Module end 'content'
Timing: Jan 31 2025 00:20:49
Script end

Main resources:

Total runtime0.0431 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.2578151.2266
Module start 'layout' 0.00580.0053 739.4844220.7188
Module start 'content' 0.01100.0305 960.2031997.9609
Module end 'content' 0.04160.0014 1,958.164129.9922
Script end 0.0430  1,988.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00306.9705140.0002
Check MTime0.00122.7183140.0001
Mysql Total
Database connection0.00071.544410.0007
Mysqli_queries0.00358.147730.0012
Looping result0.00000.044310.0000
Template Total0.00102.210.0010
Template load0.00081.769810.0008
Template processing0.00020.411410.0002
Override
Cache load0.00051.261410.0005
General
dbfile0.011927.688180.0015
String conversion0.00000.021040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs