Corrupted section IDs

Author Message

Rolf Wichter

Saturday 06 September 2003 8:14:51 am

After adding a new section (section ID 11) as Admin and deleting this empty section afterwards the demosite falls back to standard design.
The demo design is gone on all pages and the Content view in the Admin interface says for all sections ID=10.
Setup view in the Admin interface still shows the section list ID1 to 11.

I could verify that the automatically changed section ID is the problem. By editing the cache files (deleting ID 10 and entering the correct section ID) the original demo site design is back!

How these cache files are being generated and what I have to do to prevent these wrong sections IDs here?

Rgds,
Rolf

Gunnstein Lye

Thursday 11 September 2003 8:07:34 am

I don't know how this could have happened but I'll try to help. I assume simply clearing all cache and reloading the page does not help. Have you tried to delete section 11 multiple times? Any change?

Could you log in with your sql client and run this query: "select id,name from ezsection;" and post the result.
Also please do the same with these two: "select count( id ) from ezcontentobject where section_id=10;" and "select count( id ) from ezcontentobject where section_id=11;"

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 06:21:39
Script start
Timing: Jan 31 2025 06:21:39
Module start 'layout'
Timing: Jan 31 2025 06:21:39
Module start 'content'
Timing: Jan 31 2025 06:21:39
Module end 'content'
Timing: Jan 31 2025 06:21:39
Script end

Main resources:

Total runtime0.0122 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.0044 588.1250151.2109
Module start 'layout' 0.00440.0015 739.335936.6484
Module start 'content' 0.00600.0050 775.984490.1250
Module end 'content' 0.01100.0012 866.109429.9922
Script end 0.0122  896.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002016.5057140.0001
Check MTime0.00107.9382140.0001
Mysql Total
Database connection0.00065.230910.0006
Mysqli_queries0.001713.954830.0006
Looping result0.00000.080110.0000
Template Total0.00087.010.0008
Template load0.00075.567110.0007
Template processing0.00021.362410.0002
Override
Cache load0.00053.919210.0005
General
dbfile0.001310.260480.0002
String conversion0.00000.046940.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