Share » Forums » Install & configuration » Access denied - You don't have...

Access denied - You don't have permission to access this area on hosting service

Access denied - You don't have permission to access this area on hosting service

Tuesday 01 April 2003 4:59:38 pm - 10 replies

Author Message

Blu Cava

Tuesday 01 April 2003 5:37:01 pm

Ok here goes.. The way I corrected this problem is that on the site.ini file under settings, for some reason when, and if it prompts you to go through setup, it fails to WRITE the proper information to the site.ini file, and it does not create a setup.ini.php under override folder..

In other words, you need to edit the site.ini file and look for the database connections and name and password. I think it uses nextgen for database name and nextgen for username and nextgen for password. If you modify those to match your OWN database, username and password.

Ok now once you get all that squared away, if you need to GO back to the setup of the site, make sure you search for the following in site.ini

CheckValidity=false

and change it to

CheckValidity=true

Aditionally IF you have an "override" folder under settings delete it, AFTER you do the above steps, and also if you have a site.ini.php BESIDES site.ini, delete the site.ini.php and then access the URL to your website. It should walk you through the setup of the site.

PS. Make sure you have a backup of your site. Not responsible for your messing up in the process.. ;)

This should help you..

Bollinger Wilson

Tuesday 01 April 2003 6:51:16 pm

Blu Cava - THANK YOU thank you - thank YOU !!
Worked immediately. I had actually fathomed that the site.ini wasn't getting written and made the changes, but it didn't work because I missed the database name. Following your excellent instructions I am all systems go. And I'm glad you explained about the override folder etc. 'cos that was gonna be my next question.
If you are ever in Brisbane Australia I owe you beer and lots of it :-)
Thanks again

Blu Cava

Tuesday 01 April 2003 7:11:09 pm

Actually I was planning to go to Sydney.. Have some friends there.. But who knows. All I can say that I KNOW EXACTLY what you were going through.. I've been going through the SAME problem for months now.. until I started reading all the SETTINGS FILES.. one by one.. and found the problem. ;)

Thanks for the beer ;)

Karsten Jennissen

Wednesday 02 April 2003 12:21:33 am

Hi,

If you have the site.ini.php and a non-virtualhost setup, I'd leave the site.ini.php and edit that one instead. Take a look at

http://ezwiki.blanko.info/index.php/site.ini%20or%20site.ini.php%3F%20%283.x%29

for further info. Also I am not sure why setting CheckValidity to true would help, however if it does its fine. Info on CheckValidity: http://ezwiki.blanko.info/index.php/3XHT_SetupEnDis

Regards,
Karsten

arthur foelsche

Wednesday 02 April 2003 5:24:10 am

I was hoping that this thread was going to solve my problems, but unfortuately, no.

Here's the digs:

Got everything installed fine. Can get to my site (temporarilly using this url: pissedkid.com/index.php

all the urls that point off that page don't seem to work. Since i don't have access to http.conf I'm not sure how to fix this. Does anybody have any thoughts? Those of you who have installed ezpublish on pair, what does your configuration look look like? where do you point your cgi-bin mapping?

thanks!

Blu Cava

Wednesday 02 April 2003 10:49:23 am

Check this out.

It appears as though you have site.append.ini under settings/override directory set to point the /index.php to the admin section. Unfortunately, I dont have that file, thus I can't really tell you what it is, but if you COULD copy and paste that file under settings/override/, the content of it I mean, I MAY be able to assist.

My suggestions actually SOLVED the problem of the original poster of this message. Which is WHAT the instructions were written for. Post the content of that file, and we will go from there. I am sure this is resolvable easy.

arthur foelsche

Wednesday 02 April 2003 2:04:00 pm

Blu Cava-

Thanks for trying to help, its much aprechiated. Here's the contents of settings/override/site.ini.append.php

I did just change the url to see if that would make a difference, but to no avail. the weird thing about this all is that i've installed this fine on my laptop but i can't get it to work on my host! go figure.

you can reach me via email at arthur at riseup dot net if you prefer.

<?php /* #?ini charset="iso-8859-1"?

[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=db39.pair.com
User=august_11
Password=XXXXXXXXXXX
Database=XXXXXXXXXXX
Charset=iso-8859-1
Socket=disabled

[SiteSettings]
SiteName=eZ publish
SiteURL=www.pissedkid.com/
DefaultAccess=demo

[SiteAccessSettings]
CheckValidity=false

[RegionalSettings]
Locale=eng-US
ContentObjectLocale=eng-US
TextTranslation=enabled

[ContentSettings]
TranslationList=eng-US

[MailSettings]
Transport=sendmail
*/ ?>

are there any other files that you want to see?

Blu Cava

Wednesday 02 April 2003 3:17:15 pm

Ok go to settings/siteaccess/demo/site.ini.append.php and search for the following...

/content/view/full/x

where x could be ANY number.. I suspect it it would be 2 so you MAY have something like this

/content/view/full/2

If that is the case, this should resolve your problem...

Change it to

/content/view/full/26

And that will make the default page to load the News, or

/content/view/full/82

to load the White Box module etc. Let me know if that works. Which I suspect that is the case and it should resolve itself.

As for the /override/site.ini.append.php I dont see anything wrong with it.

Again, let me know how it goes. I will do my best to help.

arthur foelsche

Wednesday 02 April 2003 4:27:18 pm

Unforunately, it doesn't look like that's it... here's the file:

thanks again for the pointers!

settings/siteaccess/demo/site.ini.append.php

#?ini charset="iso-8859-1"?
# eZ publish configuration file.
#
# NOTE: It is not recommended to edit this files directly, instead
# a new siteacces should be made to suit your needs.
# General settings should be placed in the settings/override
# directory using .append files.

[SiteSettings]
IndexPage=/content/view/full/26
LoginPage=embedded

[SiteAccessSettings]
RequireUserLogin=false

[SiteAccessRules]
Rules[]
Rules[]=Access;enable
Rules[]=ModuleAll;true
Rules[]=Access;disable
Rules[]=Module;sdk

[DesignSettings]
SiteDesign=demo

arthur foelsche

Wednesday 16 April 2003 1:49:43 pm

after getting ezpublished installed and running on a new debian box and figuring out that i had to up the memory limit in php, it seems that this may be the same problem that i was experiencing on a pair server.... 8mb isn't sufficient for php processes it seems.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu