Upgrading to 4.3 - can not login to admin

Author Message

Anaya P

Thursday 09 September 2010 8:25:40 am

Hi Guys,

I have followed below link and mentioned steps to upgrade ez publish site to 4.3 version -

http://share.ez.no/forums/install-configuration/howto-direct-update-from-4.0.1-to-4.2.0-without-incremental-updates/(language)/eng-GB

Everything woks fine in the frontend. I can see the data, templates.

But not able to login to the admin. I have checked ezuser table and it has my account details in it. So really do not have any idea why I am not able to login to the admin?

This is my first project, really do not know ez publish in detail. So will appreciate your advice!

Thanks

Anaya

Greg McAvoy-Jensen

Thursday 09 September 2010 1:13:32 pm

Anaya,

Check your var directory permissions; can Apache write to it? You might even temporarily set them to 777 just for a test. Good luck!

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Christian Rößler

Friday 10 September 2010 12:47:32 am

Anaya,

the link you provided covers the update from 4.0.1 to 4.2 and not to 4.3.
If you really use 4.3 perhaps you have missed important update-procedures and scripts not mentioned there?

chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

Steven E. Bailey

Friday 10 September 2010 1:48:13 am

Are there any users that can log in?

Are the ezuser database entries for the old and the new databases exactly the same? Especially the password_hash and password_hash_type entries.

Did any settings change? Especially [UserSettings]->HashType. Or, if the hash type is md5_site (type 3 in the database), did your [UserSettings]->SiteName change?

Finally, did you add any extensions that may have had stealth settings changes?

Or, if the ezmbpaex extension was newly installed, try disabling it and try to login again (actually you can try that for all extensions).

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

Anaya P

Friday 10 September 2010 7:31:18 am

Thanks Guys for your advice.

Earlier I copied 4.3 files over the old ez publish installation. And this time copied 4.3 files into a sepearte folder. Then moved the files/folders from old version. And it worked! I can login to the admin.

Chris, first of all thanks for the instructions. I have added 4.3 database upgrade statements in your sql statement list and then updated the old database. Though earlier also did the same thing to upgrade the database, but this time used clean 4.3 files.

So with your instructions and adding sql statements, I have managed to upgrade directly from 4.0.1 to 4.3.0

Thanks once again for your help guys!!!!

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 11:38:10
Script start
Timing: Jan 18 2025 11:38:10
Module start 'layout'
Timing: Jan 18 2025 11:38:10
Module start 'content'
Timing: Jan 18 2025 11:38:11
Module end 'content'
Timing: Jan 18 2025 11:38:11
Script end

Main resources:

Total runtime0.6099 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.0547152.6406
Module start 'layout' 0.00600.0029 740.695339.4766
Module start 'content' 0.00880.5995 780.1719642.6328
Module end 'content' 0.60840.0015 1,422.804716.1250
Script end 0.6098  1,438.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5521160.0002
Check MTime0.00130.2171160.0001
Mysql Total
Database connection0.00120.204310.0012
Mysqli_queries0.546289.5512680.0080
Looping result0.00080.1263660.0000
Template Total0.575794.420.2879
Template load0.00220.366620.0011
Template processing0.573594.032820.2867
Template load and register function0.00020.039410.0002
states
state_id_array0.00090.152510.0009
state_identifier_array0.00120.194620.0006
Override
Cache load0.00190.3176350.0001
Sytem overhead
Fetch class attribute can translate value0.00080.129340.0002
Fetch class attribute name0.00210.351770.0003
XML
Image XML parsing0.00200.332740.0005
class_abstraction
Instantiating content class attribute0.00000.002770.0000
General
dbfile0.00150.2405250.0001
String conversion0.00000.001140.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs