Data import and URLs cleaning

Author Message

Jean-Luc Nguyen

Wednesday 29 October 2008 10:57:38 am

Hello,

I use a data import extension, which creates new objects, deletes old ones and no updates.
So when the script creates new objects, it creates URLs like /toto1, /toto2, toto3 each time the script is executed.

I am searching for the script that cleans URLs (by deleting the auto-incremented URLs), I don't think it is /bin/php/updateniceurls.php.

To summarize, I need the code that clean up all URLs to /toto. I know there is a script but I don't remember which one.

Thanks a lot!

http://www.acidre.com

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 31 2025 04:17:58
Script start
Timing: Jan 31 2025 04:17:58
Module start 'layout'
Timing: Jan 31 2025 04:17:58
Module start 'content'
Timing: Jan 31 2025 04:17:58
Module end 'content'
Timing: Jan 31 2025 04:17:58
Script end

Main resources:

Total runtime0.0149 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.1328151.2109
Module start 'layout' 0.00510.0023 739.343836.6484
Module start 'content' 0.00740.0063 775.992286.1406
Module end 'content' 0.01370.0012 862.132829.9922
Script end 0.0149  892.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.8897140.0002
Check MTime0.00117.0671140.0001
Mysql Total
Database connection0.00064.120910.0006
Mysqli_queries0.002013.223630.0007
Looping result0.00000.081610.0000
Template Total0.00096.010.0009
Template load0.00074.711410.0007
Template processing0.00021.309110.0002
Override
Cache load0.00053.403910.0005
General
dbfile0.002415.952180.0003
String conversion0.00000.044840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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