Forums / Setup & design / Publish and unpublish new content class

Publish and unpublish new content class

Author Message

Juan Asencio

Tuesday 13 April 2010 6:34:51 am

Hi,

I made a new content class which includes publish and unpublish dates, include the class ID on the content.ini.append.php of my siteaccess, run runcronjobs.php from ez directory, but I'm still no able to unpublish the famous article. I have tried to follow all the nice trades on the forum, but still I can't make it to work.

Any suggestions?

Thanks in advance,

Juan.-

Nicolas Pastorino

Wednesday 14 April 2010 1:18:29 am

Hi Juan!

A few regular questions for a start :

  • Which version of eZ Publish are you running ?
  • Have you properly passed the '-s' option to the runcronjobs.php scripts, making sure the right siteaccess is affected by the unpublish cronjob ?
  • Have you cleared the INI (or all) caches before running the workflow ?

Let us know,
Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Gaetano Giunta

Wednesday 14 April 2010 1:34:30 am

Also, are you sure you're running the correct workflows? Which ones are you running?

Principal Consultant International Business
Member of the Community Project Board

Juan Asencio

Tuesday 11 May 2010 2:44:53 am

Guys, thank you for your replies.

Now is working. I was missing the right [UnpublishSettings] on the content.ini.append.php file. After doing my homework and reading the manual (http://ez.no/doc/ez_publish/technical_manual/4_x/features/cronjobs) I got it to work.

Cheers,

eZ debug

Timing: Jan 29 2025 13:44:29
Script start
Timing: Jan 29 2025 13:44:29
Module start 'content'
Timing: Jan 29 2025 13:44:29
Module end 'content'
Timing: Jan 29 2025 13:44:29
Script end

Main resources:

Total runtime0.2174 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0083 588.0469180.8281
Module start 'content' 0.00830.0145 768.875098.4922
Module end 'content' 0.02290.1945 867.3672526.0781
Script end 0.2174  1,393.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00351.6113200.0002
Check MTime0.00140.6388200.0001
Mysql Total
Database connection0.00110.511910.0011
Mysqli_queries0.156772.05401410.0011
Looping result0.00110.52501390.0000
Template Total0.194089.210.1940
Template load0.00090.415810.0009
Template processing0.193188.803710.1931
Override
Cache load0.00060.271410.0006
Sytem overhead
Fetch class attribute can translate value0.00110.497610.0011
XML
Image XML parsing0.00030.131610.0003
General
dbfile0.01155.3050200.0006
String conversion0.00000.002730.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