Forums / Install & configuration / Kernel 20 and no access to subpages or administration module

Kernel 20 and no access to subpages or administration module

Author Message

Kristoffer Raun

Thursday 11 August 2005 3:41:56 am

Hi
On my company webpage www.3ptest.dk I get a Kernel 20 error.
I can only access the mainpages and each/some-time I try to access the subpages i get
"Module not found
The requested module eZSESSID3ptest=27fd007c0b129d636da1db22595f77d4 could not be found.

Possible reasons for this is.

The module name was misspelled, try changing the URL.
The module does not exist on this site.
This site uses siteaccess matching in the URL and you didn't supply one, try inserting a siteaccess name before the module in the URL ."

I cannot get access to the administration module

Can anyone help me.

Kristoffer Raun

<i>If you can't describe what you are doing as a process, you don't know what you're doing.</i>
W. Edwards Deming

Łukasz Serwatka

Thursday 11 August 2005 11:19:31 pm

Hi Kristoffer,

It looks that your PHP works in CGI mode, if you change URL


http://www.3ptest.dk/index.php/3ptest/company_profile/careers/

to

http://www.3ptest.dk/index.php?/3ptest/company_profile/careers/

than it is working.

Look also:
http://ez.no/products/ez_publish_cms/documentation/configuration/configuration/ez_publish_running_on_a_cgi_version_of_php

http://ez.no/community/forum/install_configuration/problems_with_acceptpathinfo

Ask your server administrator if he did update. Also you have set wrong permissions to var/ directory. Try to run bin/modfix.sh script from shell.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Kristoffer Raun

Friday 12 August 2005 1:35:53 am

Bingo
That solved the problem - Sure I'm close killing my ISP ....

ok - now what about the links already using the /index.php/ instead of /index.php?/
How do i change that - have been trying for a while using the site.ini.append.php in the siteaccess.

My own guess is that ít has something to do with the ezurl setup?

And by the way - I have a lot of questionmarks "?" around the page. Has this something to do with the language setup and how can it be fixed?

By the way Lukasz - can I have a postal adress to send a bottle of wine - you have saved me for many hours of work...

Kristoffer

<i>If you can't describe what you are doing as a process, you don't know what you're doing.</i>
W. Edwards Deming

Łukasz Serwatka

Friday 12 August 2005 1:58:16 am

Kristoffer, eZ publish should automaticly re-create link like index.php?/link/to/object if PHP is in CGI mode. Try first to remove all files from /var/cache and var/(sitename)/cache, dont remove sotrage dir. Then try to refresh website. If this will not help I suggest update to new version of eZ publish latest 3.5 or 3.6 and try with that.

By the way Lukasz - can I have a postal adress to send a bottle of wine - you have saved me for many hours of work...

Hehe, thank you ;)

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Kristoffer Raun

Friday 12 August 2005 2:16:28 am

Hi Lukasz

Most of the links got fixed in that way. Running 3.5.0 by the way.

What about the questionmarks "?". Have them in a lot of places... I guess it's a language setup error?

I'm serious with the bottle...

thanks in advance

/Kristoffer

<i>If you can't describe what you are doing as a process, you don't know what you're doing.</i>
W. Edwards Deming

Łukasz Serwatka

Friday 12 August 2005 2:31:59 am

All your urls should contains ? this is normal behaviour of eZ publish when PHP works in CGI mode. Without ? in URLS your website will not working properly. Also you should change your hard coded link to style index.php?/link/to/somewhere, like site map, contact us, etc. in templates.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Kristoffer Raun

Friday 12 August 2005 2:47:37 am

Hi Lukasz

Thanks for the very fast reply!

Not in the url but in the main content area.
Take eg. a look at this:
http://www.3ptest.dk/index.php?/3ptest/3p_qualified_products/patch_cords
and
http://www.3ptest.dk/index.php?/3ptest/3p_qualified_products/links_channels

There are question marks all over the page. Also special characters such as "ä" is not showed correct.

/Kristoffer

<i>If you can't describe what you are doing as a process, you don't know what you're doing.</i>
W. Edwards Deming

Łukasz Serwatka

Friday 12 August 2005 8:06:45 am

This looks like charset problem with database. Also make sure that your settings in l18n.ini.append.php are correct.

[CharacterSettings]
Charset=iso-8859-1 <- your charset
HTTPCharset=iso-8859-1 <- your charset
MBStringExtension=enabled

When you enable debug you will see notice about charsets, this will give you info about database charset.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog