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