Forums / Setup & design / 3.1: runcronjobs.php, error [1st bug or what ?] !

3.1: runcronjobs.php, error [1st bug or what ?] !

Author Message

Selmah Maxim

Wednesday 28 May 2003 10:55:10 am

Hi ..

any1 got error with runcronjobs.php ?
i got nothing in the admin summery with approve workflow, when i run out runcronjobs.php i got this :

#!/usr/bin/env php Running cronjobs/workflow.php
Checking for workflow processes
Running cronjobs/notification.php
Starting notification event proccessing
Fatal error: Call to a member function on a non-object in c:\php\www\ez31\kernel\classes\notification\handler\ezsubtree\ezsubtreehandler.php on line 175
Fatal error: eZ publish did not finish it's request

The execution of eZ publish was abruptly ended, the debug output is present below.

Warning: Failed opening 'lib/ezdb/classes/ezdb.php' for inclusion (include_path='.;C:/PHP/php/includes;C:/PHP/php/class') in c:\php\www\ez31\lib\ezutils\classes\ezsession.php on line 77

1st bug or what ?

Paul Borgermans

Wednesday 28 May 2003 11:49:20 am

No No

First *reported* bug, ... stumbled on quite a few (like the upgrade of overrides making file extensions seeing double .tpl.tpl)

Digging further as we write...

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Selmah Maxim

Thursday 29 May 2003 12:28:25 am

solutions ?!

Paul Forsyth

Thursday 29 May 2003 1:50:03 am

3.1 is a beta release. It is assumed to have bugs and consequently shouldnt be used in a production environment. Ez are finding bugs, we are finding bugs, they will be fixed.

paul

Selmah Maxim

Thursday 29 May 2003 3:35:24 am

I know that !

I think they don`t test it, they leave it to use, else why we find such bugs :)
but with this size of files, and such huge project it MUST have some bugs, some big bug and small bugs, it`s not the big deal to find bugs, but it`s big deal to fix it :)

what ever, now am testing the override system, it`s more complex than befor, i found that the settings in override/site.ini is the default for all designs, this is meaning for each design must be site.ini with full settings ... it`s long story with this way :)

i had made it, work fine, but in admin face i have some problem, that the links always come under user (i.e user/class/grouplist), and some link come unser admin .. strange !

In the changelog i had read it`s possible to stop some viewmode/action for users (as unserstand it) , but i didn`t get where to set up this, i wanna stop let`s say content/view/sitemap or content/browse !

Did u tried the new roles ?
I couldn`t unserstand it :)

Paul Forsyth

Thursday 29 May 2003 4:20:28 am

i haven't tried 3.1 yet. a little while ago i had problems with the latest svn release and my database so i've stuck with the stable branch for now.

i should become a little braver and try it ;)

Selmah Maxim

Thursday 29 May 2003 10:16:06 am

Hi ..

I see ... then u cann`t surely saying the above is bug or not, coz u didn`t test yet :)

where is the lovely ez team :) , they will know what is this !

Jan Borsodi

Thursday 29 May 2003 11:39:01 am

Today is a holiday here in Norway so there's noone at work to check this out at the moment.
We can probably get a fix for this tomorrow (Friday).

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Paul Borgermans

Thursday 29 May 2003 2:02:15 pm

Holidays everywhere, u need it from time to time.

Found a few other bugs (with fixes), but away from office now.

One thing: upgrading does not work yet (bug for migrating the new template override system), and I spent a few hours to find out the way Default siteaccess and designs are handled now like Selmah stumbled upon. It is crucial for 3.02 sites to prepare the settings files before upgrading.

Brute force method before upgrading: move all settings to the setings/siteaccess/<yoursites> and leave only the minimum in the general override dir (make sure to have at least the available siteaccesses there).

But I like the releases "rather sooner than later" so we can help speed the process of bug finding and fixing.

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Jan Borsodi

Thursday 29 May 2003 2:52:42 pm

The bug in the generate override script has already been fixed in svn, you can fetch the latest version here:
http://zev.ez.no/svn/nextgen/trunk/update/common/scripts/generateoverridesettings.php

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Selmah Maxim

Thursday 29 May 2003 5:44:18 pm

Hi ,,

strang that is holyday this day :)

what the links in the admin face, it was cach problem, i had forget that now admin face also have cach!

btw Bard, better to make the update and the fixes on 1 site, just right now i head from u about this site, and much better if u make mailinglist for latest new and updates about Ezp, i think the bug what we had found (user/edit) is effect alot of people, and maybe until now they don`t know about, coz of this will be good idea the mailinglist to inform them, and make big mailing list for Ezp ads :)

did u know how many hours i had spend to discover why i get the same page for admin face, user face, demo face, 3 hour ... becoz I didn`t know that the settings in settings/override/site.ini is the main, in the main site.ini IndexPage, DefaultPage going to main news page, adn it was active, so if this active will ignor the sub settings in the designs, and it`s should be the turn over, the main settings is the sub and the sub is the main !

i mean :
sub
\settings\override\site.ini.append.php
Main
\settings\siteaccess\demo\site.ini.append.php

if some seting is missed from main, should take it from the sub !

i hope am clear :)

eZ debug

Timing: Jan 18 2025 04:31:31
Script start
Timing: Jan 18 2025 04:31:31
Module start 'content'
Timing: Jan 18 2025 04:31:31
Module end 'content'
Timing: Jan 18 2025 04:31:32
Script end

Main resources:

Total runtime0.1804 sec
Peak memory usage4,096.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 589.2734180.8125
Module start 'content' 0.00700.0047 770.0859105.9297
Module end 'content' 0.01170.1686 876.0156535.1250
Script end 0.1803  1,411.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00392.1755200.0002
Check MTime0.00140.7944200.0001
Mysql Total
Database connection0.00130.745110.0013
Mysqli_queries0.127970.92171410.0009
Looping result0.00140.79101390.0000
Template Total0.168293.210.1682
Template load0.00080.469610.0008
Template processing0.167392.757010.1673
Override
Cache load0.00060.319310.0006
Sytem overhead
Fetch class attribute can translate value0.00090.516710.0009
XML
Image XML parsing0.00040.196310.0004
General
dbfile0.00170.9522200.0001
String conversion0.00000.003230.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs