Forums / Install & configuration / Upgrading from ver 3.3.3 to 3.4.0 - Access Denied - unable to run - updatetoplevel.php

Upgrading from ver 3.3.3 to 3.4.0 - Access Denied - unable to run - updatetoplevel.php

Author Message

Mark Gilbert

Monday 14 June 2004 11:24:13 am

I posted this in the BUG section but I thought I would also post it here to see if anybody has any ideas.

Here is the link for the entry in the BUG LIST: http://ez.no/community/bug_reports/upgrading_from_ver_3_3_3_to_3_4_0_access_denied_unable_to_run_updatetoplevel_php

Here is what I posted thier:

HI

I am trying to upgrade from 3.3.3 to 3.4.0 I looked at the upgrade path and it indicated that I needed to upgrade from 3.3.3 to 3.3.4 then to 3.3.5 and then finally to 3.4.0 Yet when I looked into upgrading from 3.3.3 to 3.3.4 and then to 3.3.5 I could not find SQL or PHP scripts to run for these upgrades. So I proceded with the insturctions at

http://ez.no/ez_publish/download/changelogs/ez_publish_3_4/upgrading

When trying to run one of the update scripts I ran into errors:

C:\Apache\htdocs>c:\php\cli\php.exe update\common\scripts\updatetoplevel.php
Checking node Content (?[1;38m2?[0;39m)?[50G?[1;31m[ Failed ]?[0;39m
The node does not exist, a new one will be created
Creating
Fatal error: Call to a member function on a non-object in C:\Apache\htdocs\kerne
l\content\ezcontentoperationcollection.php on line 221

?[1;38mFatal error?[0;39m: eZ publish did not finish it's request
?[0;39mThe execution of eZ publish was abruptly ended, the debug output is prese
nt below.?[0;39m

Since the description of this script indicated that I it would only change it the content.ini file I did a fresh install of the 3.4 on another computer. Then I compared the content.ini files from the fresh instal to my upgrade attempt. They looked the same and the code for the top level nodes looked correct to me.

When I try to view the public site or the admin site I get: Access denied or Access not allowed. Even when I try to login with my Admin ID I get the Access not allowed. Do you have any ideas how I can fix this??

Is this a bug from the toplevel script failure? Or did I miss something I should have done (such as running a script or changing some ini setting somewhere?)

Thank you for your help.

Tim Dickinson

Friday 13 August 2004 2:17:55 pm

Anyone got any idea on this.

I seem to be getting the same problem.

Although I am running php as a CGI, but do not have php-cli

Thanks

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

eZ debug

Timing: Jan 18 2025 19:38:12
Script start
Timing: Jan 18 2025 19:38:12
Module start 'content'
Timing: Jan 18 2025 19:38:13
Module end 'content'
Timing: Jan 18 2025 19:38:13
Script end

Main resources:

Total runtime0.7820 sec
Peak memory usage4,096.0000 KB
Database Queries191

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 588.3203180.7734
Module start 'content' 0.00810.6349 769.0938531.2344
Module end 'content' 0.64300.1389 1,300.3281332.7031
Script end 0.7819  1,633.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.5145210.0002
Check MTime0.00140.1807210.0001
Mysql Total
Database connection0.00100.131210.0010
Mysqli_queries0.712791.14531910.0037
Looping result0.00200.25451890.0000
Template Total0.753896.420.3769
Template load0.00220.277620.0011
Template processing0.751696.112220.3758
Template load and register function0.00020.024510.0002
states
state_id_array0.00100.121610.0010
state_identifier_array0.00080.101920.0004
Override
Cache load0.00190.2371300.0001
Sytem overhead
Fetch class attribute can translate value0.00180.228030.0006
Fetch class attribute name0.00100.126930.0003
XML
Image XML parsing0.00080.108230.0003
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00290.3670270.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs