Howto remove drafts and archived versions

Author Message

Massimiliano Collavo

Tuesday 25 November 2008 4:39:51 am

Hi everybody , this is my first post on ez.no

I've a problem with a content versions( ezpublish version 3.10.1)

The system returns this alert when publishing a content.

"Could not make new version.The limit for version history is exceeded, og no archived versions can be removed by the system".

In content.ini I have set DeleteDrafts[]= enabled , but i can't delete the oldest versions, because I don't have access to editing the draft or the published version.

thank's
maxi

Ivo Lukac

Tuesday 25 November 2008 5:35:12 am

Hello,

You can use bin/php/flatten.php to delete old versions.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Massimiliano Collavo

Tuesday 25 November 2008 7:18:22 am

Thank's Ivo,

I ran the command but didn't work.
Returned a very long error . I am writing here only the last 3 lines.

 

PHP Warning:  Function registration failed - duplicate name - mysql_tablename in Unknown on line 0
PHP Warning:  Function registration failed - duplicate name - mysql_table_name in Unknown on line 0
PHP Warning:  mysql:  Unable to register functions, unable to load in Unknown on line 0
Missing NAME value ( could be contentobject, contentclass, workflow, role or all )
 

Can you help me, please?

maxi

Ivo Lukac

Wednesday 26 November 2008 6:31:33 am

Did you try it like this?

php bin/php/flatten.php  contentobject 

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.