Error 403 in install wizard

Author Message

Jeroen Sangers

Wednesday 21 July 2010 1:19:15 am

I am trying to install eZ Publish 4.3 in a new account. I can correctly access the install wizard, do the fine tuning and select my language, but after selecting the email delivery method I get an "403 Forbidden" error. Any idea's?

Robin Muilwijk

Wednesday 21 July 2010 1:25:09 am

Hi Jeroen,

Are you installing on a localhost or on a hosting/live server? And you fill in the e-mail details and hit the next button, and this is when you get the 403 error?

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Jeroen Sangers

Wednesday 21 July 2010 1:46:18 am

I am installing on a shared hosting server.

Indeed, I choose eather Sendmail or SMTP, click on Next and get the error. I also noticed that I get the same error when clicking on the Back button, even though I could access the same page without problems before...

Jeroen Sangers

Thursday 22 July 2010 2:17:58 am

I found some more information. It seems that all files created during the set-up in /var have 666 permissions unstead of the default 644, so they are writeable by everybody. I tried setting EZP_INI_FILE_PERMISSION to 0644 in config.php, but that does not change anything.

How can I define the file permissions for temporary files in /var?

Robin Muilwijk

Thursday 22 July 2010 12:13:19 pm

Hi Jeroen,

I'm guessing this is server related, especially when you mention the current permissions. I've asked for some help from others to have a look at this, it's beyond my knowledge I'm afraid.

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Jeroen Sangers

Friday 23 July 2010 11:20:22 am

I checked with my hosing provider (Westhost), and they assured me that Apache's umask is set to 022, so by default the permissiones on the files should be set alright. That also means that the eZ setup wizard is somehow explicitly setting the permissions to 777.

Thiago Campos Viana

Sunday 25 July 2010 2:07:19 pm

"

I checked with my hosing provider (Westhost), and they assured me that Apache's umask is set to 022, so by default the permissiones on the files should be set alright. That also means that the eZ setup wizard is somehow explicitly setting the permissions to 777.

"

If this is the problem, you could make some changes in site.ini -> FileSettings, here is the default values:

[FileSettings]

TemporaryDir=/tmp/

TemporaryPermissions=0777

StorageDir=storage

StorageDirPermissions=0777

StorageFilePermissions=0666

LogFilePermissions=0666

DirDepth=3

VarDir=var

CacheDir=cache

....

As you can see, you can change how eZ setup sets the permissions of the files and folders it creates.

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Jeroen Sangers

Monday 26 July 2010 1:46:52 am

Thanks!

I managed to get eZ Publish to save the cache files with the proper permissions. However, I still get the 403 error after the second step of the setup wizard, no matter whether I continue or go back to the first step.

Any idea´s?

Jeroen Sangers

Tuesday 27 July 2010 6:57:02 am

The issue was caused by Apache´s mod_remote. Apperently WestHost got more strict settings than other hosters, and they are not willing to change this. I cancelled my account and succesfully installed eZ Publish on another server.

Robin Muilwijk

Tuesday 27 July 2010 10:56:23 am

Hi Jeroen,

I wasn't of much help but I'm glad to see the issue got solved. Well, not really solved for you, but no longer a mystery :)

Could you please mark the topic as solved? (Checkbox on the first post) Thanks.

-- Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 05:01:42
Script start
Timing: Jan 18 2025 05:01:42
Module start 'layout'
Timing: Jan 18 2025 05:01:42
Module start 'content'
Timing: Jan 18 2025 05:01:43
Module end 'content'
Timing: Jan 18 2025 05:01:43
Script end

Main resources:

Total runtime0.7613 sec
Peak memory usage4,096.0000 KB
Database Queries80

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.0313152.6406
Module start 'layout' 0.00610.0041 740.671939.4766
Module start 'content' 0.01020.7492 780.1484678.4297
Module end 'content' 0.75940.0018 1,458.578124.1484
Script end 0.7612  1,482.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4623160.0002
Check MTime0.00170.2203160.0001
Mysql Total
Database connection0.00070.095410.0007
Mysqli_queries0.668087.7440800.0083
Looping result0.00080.1003780.0000
Template Total0.720394.620.3601
Template load0.00210.273420.0010
Template processing0.718294.341020.3591
Template load and register function0.00010.014310.0001
states
state_id_array0.00090.124310.0009
state_identifier_array0.00110.141620.0005
Override
Cache load0.00180.2412570.0000
Sytem overhead
Fetch class attribute can translate value0.00090.118130.0003
Fetch class attribute name0.00230.2990130.0002
XML
Image XML parsing0.00150.193230.0005
class_abstraction
Instantiating content class attribute0.00000.0054200.0000
General
dbfile0.00610.8056300.0002
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
10content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
10content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 34
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs