Forums / Install & configuration / upgrade trouble

upgrade trouble

Author Message

Geert Lybaert

Tuesday 16 September 2008 12:51:17 pm

Hi

I'm trying to upgrde my site from 4.0.0 to 4.0.1 but I seem to do something wrong.

When running the command to generate the autoloads I get this error:

Fatal error: require(): Failed opening required 'Base/src/base.php' (include_path='.:/usr/share/php:/usr/share/pear:/home/lybaertg/www.lybaertcailliau.be/ezc') in /opt/www/lybaertg/web/www.lybaertcailliau.be/401/bin/php/ezpgenerateautoloads.php on line 35

Now I put the 4.0.1 version in a subdir 401, placed the components in the subdir ezc (under 401 dir). When visiting the new install I can see the frontpage of the site but all subpages don't show.

Can someone point me at what I'm missing?
Thanks in advance!
Geert

Andrew Duck

Wednesday 17 September 2008 3:54:18 am

Geert,

Your include_path only references /home/lybaertg/www.lybaertcailliau.be/ezc, not /home/lybaertg/www.lybaertcailliau.be/401/ezc

Perhaps the upgrade script is looking for eZ Components in the wrong location?

Regards,
Andrew

Andrew Duck, Executive Director, Quiqcorp Limited
eZ Certified Developer and Trainer.
Member of the Community Project Board
http://quiqcorp.com | http://twitter.com/andrewduck

Geert Lybaert

Wednesday 17 September 2008 12:10:07 pm

Hi Andrew

Thanks, you are right about the include/path. I thought I set it but apparently the config file wasn't put correctly so no changes are made.

But now I still don't have access to anything else but the homepage.
When I add /admin to the url I see the 4.0.1 backend, but also the message that no database is connected.

I ran the dbupdate and get this report:
auto-rehash TRUE
character-sets-dir (No default value)
default-character-set latin1
compress FALSE
database ezc
delimiter ;
vertical FALSE
force FALSE
named-commands FALSE
local-infile FALSE
no-beep FALSE
host (No default value)
html FALSE
xml FALSE
line-numbers TRUE
unbuffered FALSE
column-names TRUE
sigint-ignore FALSE
port 3306
prompt mysql>
quick FALSE
raw FALSE
reconnect TRUE
socket /var/run/mysqld/mysqld.sock
table FALSE
debug-info FALSE
user lybaertg
safe-updates FALSE
i-am-a-dummy FALSE
connect_timeout 0
max_allowed_packet 16777216
net_buffer_length 16384
select_limit 1000
max_join_size 1000000
secure-auth FALSE

I also ran the migrate routine and on checkin the database the ezurlalias_ml_migrate table is correctly filled. But restore doesn't work. Not one item is restored. I tried to copy the items directly from one table to the other, with this command:

INSERT INTO `ezc`.`ezurlalias_ml` SELECT id, link, parent, lang_mask, text, action, is_original, is_alias, lang_mask_adjusted FROM `ezc`.`ezurlalias_ml_migrate`

But this gives this error:
SQL-query:

INSERT INTO `ezc`.`ezurlalias_ml`
SELECT id, link, parent, lang_mask, text,
ACTION , is_original, is_alias, lang_mask_adjusted
FROM `ezc`.`ezurlalias_ml_migrate`

MySQL returned:

#1136 - Column count doesn't match value count at row 1

If I can't solve this I'm going to perform a fresh install, but thanks for anyone who wants to take a look at this.
BR
Geert

eZ debug

Timing: Jan 30 2025 19:47:26
Script start
Timing: Jan 30 2025 19:47:26
Module start 'content'
Timing: Jan 30 2025 19:47:26
Module end 'content'
Timing: Jan 30 2025 19:47:27
Script end

Main resources:

Total runtime0.2721 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0083 587.9219370.3047
Module start 'content' 0.00830.0153 958.22661,005.5156
Module end 'content' 0.02360.2485 1,963.74223,894.3906
Script end 0.2720  5,858.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00521.9036200.0003
Check MTime0.00160.5871200.0001
Mysql Total
Database connection0.00080.302010.0008
Mysqli_queries0.169762.35931410.0012
Looping result0.00160.59491390.0000
Template Total0.247891.110.2478
Template load0.00090.335110.0009
Template processing0.246990.730810.2469
Override
Cache load0.00060.236310.0006
Sytem overhead
Fetch class attribute can translate value0.00140.526310.0014
XML
Image XML parsing0.00030.126810.0003
General
dbfile0.00672.4629200.0003
String conversion0.00000.002330.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs