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

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 30 2025 21:38:33
Script start
Timing: Jan 30 2025 21:38:33
Module start 'layout'
Timing: Jan 30 2025 21:38:33
Module start 'content'
Timing: Jan 30 2025 21:38:33
Module end 'content'
Timing: Jan 30 2025 21:38:33
Script end

Main resources:

Total runtime0.0278 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.0055 588.1250151.2109
Module start 'layout' 0.00550.0051 739.3359220.6875
Module start 'content' 0.01060.0155 960.02341,001.7891
Module end 'content' 0.02600.0017 1,961.812533.9922
Script end 0.0277  1,995.8047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003010.8372140.0002
Check MTime0.00124.2511140.0001
Mysql Total
Database connection0.00072.599410.0007
Mysqli_queries0.003211.445830.0011
Looping result0.00000.050610.0000
Template Total0.00124.510.0012
Template load0.00103.445810.0010
Template processing0.00031.030110.0003
Override
Cache load0.00072.416610.0007
General
dbfile0.00207.104680.0002
String conversion0.00000.028340.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