Forums / Install & configuration / Upgrade from 3.4.1 to 3.4.2 problem !

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).

eZ debug

Timing: Jan 18 2025 21:09:29
Script start
Timing: Jan 18 2025 21:09:29
Module start 'content'
Timing: Jan 18 2025 21:09:30
Module end 'content'
Timing: Jan 18 2025 21:09:30
Script end

Main resources:

Total runtime1.0904 sec
Peak memory usage4,096.0000 KB
Database Queries204

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 587.8359180.8203
Module start 'content' 0.00820.8589 768.6563646.9219
Module end 'content' 0.86710.2233 1,415.5781337.0625
Script end 1.0904  1,752.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00480.4376210.0002
Check MTime0.00180.1672210.0001
Mysql Total
Database connection0.00080.077110.0008
Mysqli_queries0.994791.21712040.0049
Looping result0.00290.26802020.0000
Template Total1.054996.720.5275
Template load0.00240.217220.0012
Template processing1.052596.524420.5263
Template load and register function0.00020.019510.0002
states
state_id_array0.00220.203410.0022
state_identifier_array0.00110.098420.0005
Override
Cache load0.00200.1837260.0001
Sytem overhead
Fetch class attribute can translate value0.00230.208750.0005
Fetch class attribute name0.00300.271980.0004
XML
Image XML parsing0.00230.206650.0005
class_abstraction
Instantiating content class attribute0.00000.003080.0000
General
dbfile0.00270.2491400.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs