Forums / Install & configuration / ez Module conflict with my Site Manager

ez Module conflict with my Site Manager

Author Message

Softriva .com

Saturday 14 October 2006 3:50:57 am

My website Site Manager and phpmyadmin are located in the htdocs. Before uploading my ezp site , I used to go to the aforementioned programs as

www.mysite.com/manager
www.mysite.com/pma

After I uploaded my ezp site and when I go to either

www.mysite.com/manager

or

www.mysite.com/pma

I get the kernel 20 error

Module not found

The requested module manager could not be found.

Possible reasons for this are:

    * 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 .

How can I solve this issue?

Patrick Kaiser

Saturday 14 October 2006 6:30:47 am

you have to adjust your rewrite rules of apache. if you are using an vhost based setup add the following line to you httpd.conf (or the file where you defined your vhost):

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^/manager - [L]
    RewriteRule ^/pma - [L]
    [...] further ez rewrite rules here
    RewriteRule .* /index.php
</IfModule>

with the code above you instruct apache NOT to rewrite the request of /manager and /pma to ez's index.php.

if you are using non virtual host mode then you have to edit the .htaccess file and change the rewrite rule and the FilesMatch directive accordingly.

best regards, patrick


Best regards,

Patrick

Xavier Dutoit

Saturday 14 October 2006 11:58:28 am

[edit] For some reasons, the previous post wasn't displayed when I wrote this one[/edit]

By modifying your rewrite rules to exclude these directories

add after the RewriteEngine on

Rewriterule ^/manager* - [L]

and the others.

X+

http://www.sydesy.com

Softriva .com

Saturday 14 October 2006 2:07:18 pm

Unfortunately, it did not work. I am sure that I am doing something wrong but I can't figure it out. Anyhow, I am using Virtual Private Server (VPS) and my .htaccess file is shown below; anything wrong with it?

DirectoryIndex index.php 
 
RewriteEngine On 
RewriteRule ^/manager* - [L]
RewriteRule ^/pma* - [L]
 
RewriteRule !\.(gif|jpe?g|png|css|js|jar|html)|var(.+)storage.pdf(.+)\.pdf?$ - [C] 
 
RewriteCond %{HTTP_HOST} ^webdav\..* 
RewriteRule ^(.*) webdav.php [L] 
RewriteCond %{HTTP_HOST} ^soap\..* 
RewriteRule ^(.*) soap.php [L] 
RewriteRule ^var/cache/debug.html.* - [L] 
RewriteRule ^var/[^/]+/cache/debug.html.* - [L] 
Rewriterule ^var/storage/.* - [L] 
Rewriterule ^var/[^/]+/storage/.* - [L] 
RewriteRule ^var/cache/texttoimage/.* - [L] 
RewriteRule ^var/[^/]+/cache/texttoimage/.* - [L] 
Rewriterule ^design/[^/]+/(stylesheets|images|javascript)/.* - [L] 
Rewriterule ^share/icons/.* - [L] 
Rewriterule ^extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L] 
Rewriterule ^packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L] 
RewriteRule .* index.php [L]

Softriva .com

Saturday 14 October 2006 2:40:51 pm

I also tried these links but still could not figure it out

http://ez.no/products/ez_publish/documentation/configuration/configuration/tips_tricks/exclude_uris_from_rewrite
http://ez.no/products/ez_publish/documentation/installation/virtual_host_setup/excluding_other_parts_of_your_website

Thank you for your help.

Kristof Coomans

Sunday 15 October 2006 1:51:17 am

Hi OOzy

Try without the leading slashes:

RewriteRule ^manager* - [L]
RewriteRule ^pma* - [L]

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Softriva .com

Sunday 15 October 2006 2:14:34 am

Thank you all.

It worked.

eZ debug

Timing: Jan 18 2025 15:07:25
Script start
Timing: Jan 18 2025 15:07:25
Module start 'content'
Timing: Jan 18 2025 15:07:26
Module end 'content'
Timing: Jan 18 2025 15:07:26
Script end

Main resources:

Total runtime0.6920 sec
Peak memory usage4,096.0000 KB
Database Queries210

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 587.8516180.8203
Module start 'content' 0.00590.5893 768.6719674.4453
Module end 'content' 0.59510.0969 1,443.1172341.0625
Script end 0.6920  1,784.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5025210.0002
Check MTime0.00140.1972210.0001
Mysql Total
Database connection0.00060.086810.0006
Mysqli_queries0.627690.68212100.0030
Looping result0.00150.22112080.0000
Template Total0.669996.820.3349
Template load0.00160.225420.0008
Template processing0.668396.569920.3342
Template load and register function0.00010.012610.0001
states
state_id_array0.00060.091310.0006
state_identifier_array0.00070.105220.0004
Override
Cache load0.00150.2150440.0000
Sytem overhead
Fetch class attribute can translate value0.00110.162950.0002
Fetch class attribute name0.00080.1204100.0001
XML
Image XML parsing0.00170.250050.0003
class_abstraction
Instantiating content class attribute0.00000.0019100.0000
General
dbfile0.00350.5063390.0001
String conversion0.00000.000930.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 31
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs