Forums / Install & configuration / Upgrade 3.8.x -> 3.9.x gives Kernel(20) error [Solved]

Upgrade 3.8.x -> 3.9.x gives Kernel(20) error [Solved]

Author Message

Friday 31 August 2007 2:50:26 pm

Hi,

I have tried to upgrade my site from 3.8.x to 3.9.x following the documentation "upgrading to 3.9 / from 3.8.x to 3.9.0" and have managed to run all scripts without any errors reported. After upgrading I had problems with the SiteAccess list not being populated, but fixed that after using AvailableSiteAccessList[] instead of Sitelist[].

Now, my problem occurs when I clear the site cache and I receive a Kernel (20) error, the Admin interface: Design and Setup reports a Kernel(20) error.

I have been searching the forum for a fix to this problem without any luck so a helpfull suggestion would be great.

kracker (the)

Friday 31 August 2007 7:04:00 pm

Hello Hans-Henry!

eZpedia says, the 'Kernel 20' error stands for the error, "Module not found".
<i>http://ezpedia.org/wiki/en/ez/kernel_error_codes</i>

I wonder if there is a problem with your host / siteaccess configuration :/

It sure seems that eZ is not configured correctly to map the url your trying to use to access the site(s) to the desired or expected configuration.

Cheers,
//kracker

<i>* Film : The Conversation ..</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Friday 31 August 2007 11:35:03 pm

Thank you for your reply kracker.

Could it be an idea to do a fresh/new installation of 3.9.x and import the content from 3.8.x using package tool?

I assume that would solve the siteaccessproblem and I would also get the ezwebin extension installed.

Is my assumption correct?

Heath

Saturday 01 September 2007 12:15:49 am

Hello Hans-Henry,

While <i>kracker</i> points out in general a more verbose description of the kernel error code's meaning. I think a more clear example would be most helpful here.

Your problem appears not to be with your eZ Publish installation in general. While you can start over from scratch, I don't think I would recommend that action at this point, that would seem like an excessive over reaction. This would take an experienced eZ Publish user like myself 15 min to solve from an ssh connection to your server.

See it is all in the SiteAccessSettings configuration!

Example of the url you might have used to accessed the site, http://admin.example.com/index.php/setup/cache

Yet if your siteaccess configuration is not properly configured. eZ might expect the url to be, http://admin.example.com/setup/cache

Which could return the kernel 20 error. As eZ would report the error as it thinks your trying to access a module name which is not recognized because ... the site is configured to interpret urls one way and your accessing it another way.

Why not first share instead your SiteAccessSettings configuration settings here in the form for further debug? Here is an example ...

File: <i>settings/override/site.ini.append.php</i>

[SiteSettings]
SiteList[]=ezwebin_site_user
SiteList[]=ezwebin_site_admin
SiteName=Example
SiteURL=www.example.com

[SiteAccessSettings]
CheckValidity=false
ForceVirtualHost=true
AvailableSiteAccessList[]=ezwebin_site_user
AvailableSiteAccessList[]=ezwebin_site_admin
MatchOrder=host
HostMatchMapItems[]=example.com;ezwebin_site_user
HostMatchMapItems[]=www.example.com;ezwebin_site_user
HostMatchMapItems[]=admin.example.com;ezwebin_site_admin

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Saturday 01 September 2007 1:27:07 am

Thanks Heath, your suggestion was precise and easy to grasp.
Now everything works perfectly, and this thread can be marked as [Solved].

I cannot see that these ini-changes has been mentioned in any upgrade documentation.

It's nice to see that it's possible to use eZ Publish over several years, I've used it since May 2001 and followed the upgrade path up to version 3.9.3. Looking forward to version 3.10 and version 4. Hopefully the upgrade will be less cumbersome than from version 2 to 3.

Heath

Saturday 01 September 2007 1:33:13 am

Hans-Henry,

Thank you for your kind words. We are pleased that our help was able to guide you (another long time eZ user and supporter) to a swift and simple solution. Best wishes ...

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org