Upgrade from 3.4.1 to 3.4.2 problem !

Author Message

Mieczyslaw Morzonek

Sunday 26 September 2004 1:04:45 am

I`ve upgrade files and database and when i click check files i ve go message " File consistency check OK" but problem is when i click chech database i ve got message like this

Warning, your database is not consistent with the distribution database.
To revert your database to distribution setup, run the following SQL queries:

ALTER TABLE ezurl_object_link DROP INDEX PRIMARY;

What does it mean?
Can i ignore this warning?

Frederik Holljen

Sunday 26 September 2004 11:51:00 pm

This means that the primary key index in the table ezurl_object_link is not present in the main distribution while it is in your installation. You can run the given SQL sentence on you sql database to make the problem go away. This is a small issue and you can also safely ignore it.

Mieczyslaw Morzonek

Monday 27 September 2004 10:23:10 am

When i execute this query " ALTER TABLE ezurl_object_link DROP INDEX PRIMARY " MySQL told me that "#1064 - Something is wrong in your syntax near 'PRIMARY' in line 1 "

What`s wrong with SQL syntax? This is a bug? What i must to do?

Jan Borsodi

Tuesday 28 September 2004 4:33:10 am

I believe it is a small bug in the db consistency checker, the generated SQL is not valid.
The correct SQL is:

ALTER TABLE ezurl_object_link DROP PRIMARY KEY;

But if this is the case did you remember to update the database with the file:

update/database/mysql/3.4/dbupdate-3.4.1-to-3.4.2.sql

This file contains the SQL code above.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Derick Rethans

Tuesday 05 October 2004 1:06:54 am

This problem with the DB Consistency Checker is now fixed for 3.4.3 (rev. 8446) and 3.5.0beta (rev. 8445).

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 19 2025 00:32:46
Script start
Timing: Jan 19 2025 00:32:46
Module start 'layout'
Timing: Jan 19 2025 00:32:46
Module start 'content'
Timing: Jan 19 2025 00:32:47
Module end 'content'
Timing: Jan 19 2025 00:32:47
Script end

Main resources:

Total runtime0.7726 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00010.0077 588.0391152.6406
Module start 'layout' 0.00780.0036 740.679739.4766
Module start 'content' 0.01140.7596 780.1563641.8281
Module end 'content' 0.77100.0016 1,421.984412.1406
Script end 0.7726  1,434.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5345160.0003
Check MTime0.00180.2316160.0001
Mysql Total
Database connection0.00090.115710.0009
Mysqli_queries0.704291.1456670.0105
Looping result0.00080.1074650.0000
Template Total0.717692.920.3588
Template load0.00230.293220.0011
Template processing0.715392.584620.3577
Template load and register function0.00020.028510.0002
states
state_id_array0.00250.330010.0025
state_identifier_array0.00130.171520.0007
Override
Cache load0.00200.2629260.0001
Sytem overhead
Fetch class attribute can translate value0.00080.102440.0002
Fetch class attribute name0.00160.204180.0002
XML
Image XML parsing0.00220.281940.0005
class_abstraction
Instantiating content class attribute0.00000.002380.0000
General
dbfile0.00170.2220290.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs