Error

Author Message

P G

Tuesday 11 July 2006 6:48:34 am

have installed a new site and now you can access the site here:
http://www.amazingemporium.net/index.php/chapters_events/

but not here??:
http://www.amazingemporium.net/chapters_events/

does a config file need altering?

Vjeran Vlahovic

Tuesday 11 July 2006 8:33:38 am

You have to add one directive inside settings/override/site.ini.append.php:

ForceVirtualHost=true

inside [SiteAccessSettings] section.

Also, You have to configure .htaccess. Here are some examples:

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

http://www.netgen.hr/eng

P G

Tuesday 11 July 2006 9:14:29 am

That makes the whole site go down?

Vjeran Vlahovic

Tuesday 11 July 2006 9:29:16 am

Hi,
what error do you have?

Keep in mind that after these changes old /index.php/ links don't work anymore. So you have to delete cached files to recreate all cacheviews, cached blocks, etc., which will now contain new links without index.php part. You can delete everything in /public_html/yourweb/var/sitevar/cache dir.

http://www.netgen.hr/eng

P G

Tuesday 11 July 2006 9:42:23 am

deleated the cache

all the links still have index.php in them ( do I need to reinstall?)

http://www.amazingemporium.net/

Vjeran Vlahovic

Tuesday 11 July 2006 9:53:49 am

No, you don't need to reinstall it...
Look at the "View list" links at the bottom of your homepage... They do not contain index.php part any more. So I suppose you didn't delete all caches :)

http://www.netgen.hr/eng

P G

Tuesday 11 July 2006 10:39:01 pm

ok, but now 'You don't have permission to access /chapters_events/news on this server.'

http://www.amazingemporium.net/chapters_events/news

Vjeran Vlahovic

Wednesday 12 July 2006 2:05:21 am

Did you configure .htaccess inside your ez publish installation as instructed above? Please paste the content of your .htaccess here.

http://www.netgen.hr/eng

P G

Wednesday 12 July 2006 5:26:15 am

This is the whole file

# Copy this file to a new file called .htaccess in your eZ publish root
# to make the site more secure in non-virtualhost mode (index.php used in urls).
#

php_value allow_call_time_pass_reference 0

<FilesMatch ".">
order allow,deny
deny from all
</FilesMatch>

<FilesMatch "(index\.php|\.(gif|jpe?g|png|css|js|html)|var(.+)storage.pdf(.+)\.pdf)$">
order allow,deny
allow from all
</FilesMatch>

# If you see "Forbidden" when trying to access root page of your site
# without 'index.php' appended, uncomment the following "Files" section.
# NOTE: replace "ezpublish-3.6.0" with base name of the directory
# where your eZ publish intallation resides.
# e.g. base name of "/sites/ezpublish/ezpublish-3.6.0" is "ezpublish-3.6.0".

#<Files "ezpublish-3.6.0">
# order allow,deny
# allow from all
#</Files>

RewriteEngine On
RewriteRule !\.(gif|jpe?g|png|css|js|html)|var(.+)storage.pdf(.+)\.pdf$ index.php

DirectoryIndex index.php

P G

Wednesday 12 July 2006 9:31:34 am

Have changed it to this, but still the same problem

# Copy this file to a new file called .htaccess in your eZ publish root
# to make the site more secure in non-virtualhost mode (index.php used in urls).
#

php_value allow_call_time_pass_reference 0

<FilesMatch ".">
order allow,deny
deny from all
</FilesMatch>

<FilesMatch "(index\.php|\.(gif|jpe?g|png|css|js|html)|var(.+)storage.pdf(.+)\.pdf)$">
order allow,deny
allow from all
</FilesMatch>

# If you see "Forbidden" when trying to access root page of your site
# without 'index.php' appended, uncomment the following "Files" section.
# NOTE: replace "ezpublish-3.6.0" with base name of the directory
# where your eZ publish intallation resides.
# e.g. base name of "/sites/ezpublish/ezpublish-3.6.0" is "ezpublish-3.6.0".

#<Files "chapters_events">
# order allow,deny
# allow from all
#</Files>

RewriteEngine On 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]

Vjeran Vlahovic

Wednesday 12 July 2006 9:49:29 am

Try with something like this (remove all other content from .htaccess!):

RewriteEngine On

RewriteRule ^var/storage/.* - [L]
RewriteRule ^var/[^/]+/storage/.* - [L]
RewriteRule ^var/cache/texttoimage/.* - [L]
RewriteRule ^var/[^/]+/cache/texttoimage/.* - [L]
RewriteRule ^design/[^/]+/(stylesheets|images|imagespl|javascript)/.* - [L]
RewriteRule ^share/icons/.* - [L]
RewriteRule ^sitemaps/.* - [L]
RewriteRule ^extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
RewriteRule ^packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
RewriteCond $1 !^index.php$
RewriteRule (.*) /index.php

DirectoryIndex index.php

Hope this will work!

http://www.netgen.hr/eng

P G

Wednesday 12 July 2006 10:28:10 am

I put this in, but now this happends http://www.amazingemporium.net/

RewriteEngine On

RewriteRule ^var/storage/.* - [L]
RewriteRule ^var/[^/]+/storage/.* - [L]
RewriteRule ^var/cache/texttoimage/.* - [L]
RewriteRule ^var/[^/]+/cache/texttoimage/.* - [L]
RewriteRule ^design/[^/]+/(stylesheets|images|imagespl|javascript)/.* - [L]
RewriteRule ^share/icons/.* - [L] RewriteRule ^sitemaps/.* - [L]
RewriteRule ^extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
RewriteRule ^packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
RewriteCond $1 !^index.php$ RewriteRule (.*) /index.php

DirectoryIndex index.php

Vjeran Vlahovic

Wednesday 12 July 2006 11:15:30 am

Argh :)

Contact me at vjeran at g mail.

http://www.netgen.hr/eng

eZ debug

Timing: Jan 18 2025 10:32:56
Script start
Timing: Jan 18 2025 10:32:56
Module start 'content'
Timing: Jan 18 2025 10:32:57
Module end 'content'
Timing: Jan 18 2025 10:32:57
Script end

Main resources:

Total runtime0.6976 sec
Peak memory usage4,096.0000 KB
Database Queries224

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 588.7188180.8516
Module start 'content' 0.00660.5712 769.5703671.7031
Module end 'content' 0.57780.1197 1,441.2734349.7188
Script end 0.6975  1,790.9922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.6070210.0002
Check MTime0.00150.2160210.0001
Mysql Total
Database connection0.00100.138610.0010
Mysqli_queries0.592384.90892240.0026
Looping result0.00200.28572220.0000
Template Total0.671196.220.3355
Template load0.00230.328620.0011
Template processing0.668895.865020.3344
Template load and register function0.00050.076110.0005
states
state_id_array0.00110.159810.0011
state_identifier_array0.00070.102520.0004
Override
Cache load0.00220.30861130.0000
Sytem overhead
Fetch class attribute can translate value0.00170.240130.0006
Fetch class attribute name0.00180.2603140.0001
XML
Image XML parsing0.00090.133430.0003
class_abstraction
Instantiating content class attribute0.00010.0075190.0000
General
dbfile0.00430.6120280.0002
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
13content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
16content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
27content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 65
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs