Access Denied Error, even with correct password...

Author Message

jamie harbison

Monday 14 June 2004 9:36:40 pm

This has got to be a simple fix, but have tried a number of things, none of which have worked yet.

When I log into the admin section with the correct password, I simply get returned to the login page. When I enter with the wrong password, I get an Access Denied.

Attempting to access the user site I also get 'Access Denied. You don't have permission to access this area.', and no content (ie. no folders, images or articles)...

I have verified the password is correct by turning on HashType=plaintext in [User Settings], instead of HashType=md5_user. password_hash_type in ezuser table then changes from 2 to 5 and reveals the password. After that, I restore the ezuser table from a backup, password_hash_type reverts to 2, with the password hash converted back to encrypted key, and try to log in again...still the same issue...

Any ideas?

Thanks!

K259

Tuesday 15 June 2004 12:00:33 am

After you have "logged in" and get the loginpage once again, are you able to access these sites in the following, if you write yourdomain/content/view/full/2, or yourdomain/setup/menu in the addressbar in your navigator?

Z

jamie harbison

Tuesday 15 June 2004 12:28:21 am

No, but I can see the navigation systems (Content/Media/Shop/Set up/Personal, and Frontpage/Sitemap/Trash/Bookmarks/History) When I click them, it simply refreshes the page...

K259

Tuesday 15 June 2004 2:00:42 am

Ah, didn't see that you got Access denied at the user site too.
Is this a new installation? Or...?

Check that your database-settings is correct in your site.ini. file.
I earlier god access denied when I had no database-connection.
Or, give me your URL and I'll check.

jamie harbison

Tuesday 15 June 2004 5:05:51 am

The database settings (settings/site.ini) are correct, that doesn't seem to be the issue

>>When I log into the admin section with the correct password, I simply get returned to the login page.
>>When I enter with the wrong password, I get an Access Denied.

This tells me that the database is being accessed...it must be something else...

K259

Tuesday 15 June 2004 5:36:12 am

Has the system ever worked for you? Or is this a fresh installation?

What is your settings for the IndexPage in the site.ini.append file in your siteaccess/yourdir?

Like this?
[SiteSettings]
IndexPage=/content/view/full/2/

jamie harbison

Tuesday 15 June 2004 7:04:04 am

Thanks for your help Zinistry>>>

Finally fixed it...

I ended up updating the 3.4 database from an old backup and it worked!

The problem started when I decided to add a package through the admin (Set up/Advanced/Packages) section - the Gallery package, which changed my content object tables in the database (I assumed it wouldn't overwrite existing ones).

I tried it again and same problem, this time i reloaded my database, cleared caches, and restored ini files and back to normal - so i only lost a few days work, after restoring from the old backup database!

Back in action!

Paul Forsyth

Tuesday 15 June 2004 7:06:57 am

Well done.

I hit a similar bug a while ago:

http://ez.no/community/bug_reports/import_routine_merges_new_class_with_existing_class

but i didnt think it was connected to your problem :( it seems the problem goes further than what i encountered.

paul

--
http://www.visionwt.com

jamie harbison

Wednesday 16 June 2004 5:21:13 am

Thanks Paul ;)

Did you find a workaround? Really want to get a working gallery integrated...

btw, looks like you're doing some pretty interesting stuff with EZ web hosting!

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

Main resources:

Total runtime0.8828 sec
Peak memory usage4,096.0000 KB
Database Queries77

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.0469152.6406
Module start 'layout' 0.00570.0035 740.687539.4922
Module start 'content' 0.00920.8720 780.1797571.9531
Module end 'content' 0.88110.0017 1,352.132816.1250
Script end 0.8828  1,368.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3942160.0002
Check MTime0.00140.1571160.0001
Mysql Total
Database connection0.00090.099010.0009
Mysqli_queries0.817892.6378770.0106
Looping result0.00080.0871750.0000
Template Total0.851196.420.4255
Template load0.00210.236520.0010
Template processing0.849096.165320.4245
Template load and register function0.00020.022210.0002
states
state_id_array0.00090.098810.0009
state_identifier_array0.00150.165520.0007
Override
Cache load0.00160.1865500.0000
Sytem overhead
Fetch class attribute can translate value0.00100.117130.0003
Fetch class attribute name0.00160.179490.0002
XML
Image XML parsing0.00040.041630.0001
class_abstraction
Instantiating content class attribute0.00000.002190.0000
General
dbfile0.00070.0791100.0001
String conversion0.00000.000940.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
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/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: 29
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs