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

Author Message

Bollinger Wilson

Tuesday 01 April 2003 4:59:38 pm

Hi and sorry for newbie confusion but I cannot for the life of me get past these errors

Have installed EZPublish 3.0 on Pair networks - a hosting service. - have checked site.ini that all access details are ok, and have confirmed the database has populated ok through the set up process.

Now trying to login and get started - If I go to /index.php/demo I get "Access denied
You don't have permission to access this area."

At /index.php/user I get "Error / kernel (1) Access denied
You don't have permission to access this area."

and at /index.php/admin everything looks good (no errors) but the default admin/publish username and password does not work - "Could not login
A valid username and password is required to login."

I was wondering if anyone else has had this on a hosting service (I don't have my own server unfortunately)

I noticed on the forum someone has had similar issues in the past but the link to the article that discusses the solution has been archived or moved

Any help MUCH appreciated thank you ;-)

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.

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 16:05:14
Script start
Timing: Jan 18 2025 16:05:14
Module start 'layout'
Timing: Jan 18 2025 16:05:14
Module start 'content'
Timing: Jan 18 2025 16:05:15
Module end 'content'
Timing: Jan 18 2025 16:05:15
Script end

Main resources:

Total runtime0.7922 sec
Peak memory usage4,096.0000 KB
Database Queries85

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.4141152.6875
Module start 'layout' 0.00570.0040 741.101639.6172
Module start 'content' 0.00980.7810 780.7188652.5234
Module end 'content' 0.79080.0014 1,433.242224.0313
Script end 0.7922  1,457.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4133160.0002
Check MTime0.00120.1554160.0001
Mysql Total
Database connection0.00080.106410.0008
Mysqli_queries0.703288.7623850.0083
Looping result0.00080.0985830.0000
Template Total0.759395.820.3797
Template load0.00190.239820.0009
Template processing0.757495.604020.3787
Template load and register function0.00010.014710.0001
states
state_id_array0.00090.108710.0009
state_identifier_array0.00130.161120.0006
Override
Cache load0.00190.23471180.0000
Sytem overhead
Fetch class attribute can translate value0.00040.055240.0001
Fetch class attribute name0.00150.1890110.0001
XML
Image XML parsing0.00040.050440.0001
class_abstraction
Instantiating content class attribute0.00000.0028110.0000
General
dbfile0.00060.0726100.0001
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
11content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
26content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
16content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 55
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs