Forums / Install & configuration / Error 403 in install wizard

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