Where are URL translations stored

Author Message

Andrew Kelly

Sunday 23 April 2006 10:11:05 am

Hi all, I think I just shot myself in the foot and I'm hoping somebody out there can help me recover.

I can no longer log into the admin side of my site, and I think it's becuase I stupidly entered a bad URL translatation forwarding all /user/* requests to the default node.

Where are these translations stored, and what's the easiest way to reverse them when one can't log in?

Andy

Kristof Coomans

Sunday 23 April 2006 10:26:12 am

Take a look in the ezurlalias db table. I think you can just remove the problematic entry there.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Gabriel Ambuehl

Sunday 23 April 2006 10:33:18 am

Yes that works. I had to do that myself at one time ;)

phpmyadmin was definitely useful ;)

Visit http://triligon.org

Andrew Kelly

Monday 24 April 2006 12:58:53 am

Thanks, you two.

The reason I posted was because I couldn't find anything in the ezurlalias table when I looked. But I was looking from the command line and going in blind.
On a devel box I played back a backup from well before the URL translation addition, but was still having the same problem. Puzzled me a lot. I was coming to the conclusion that translations were stored somewhere in the filesystem when it dawned on me that I hadn't cleared caches (Doh!). After clearing caches I was able to log in to the devel box, no problem.
So, long story short: I fired up pgadmin on my production server, found the nasty entry and deleted it, cleared the urlalias cache (I'm sOOOO glad there's a separate call for that) and Schiiing, I was in.

Thanks again, both of you. If I hadn't found the solution after all, your responses would have saved my bacon this morning. Very much appreciated.

Andy

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

Main resources:

Total runtime0.0271 sec
Peak memory usage8,192.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 588.1328151.2109
Module start 'layout' 0.00670.0044 739.3438220.6875
Module start 'content' 0.01110.0143 960.03131,001.7734
Module end 'content' 0.02540.0017 1,961.804733.9922
Script end 0.0271  1,995.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003011.1657140.0002
Check MTime0.00124.2940140.0001
Mysql Total
Database connection0.00093.473710.0009
Mysqli_queries0.00228.282930.0007
Looping result0.00000.047510.0000
Template Total0.00124.310.0012
Template load0.00093.293410.0009
Template processing0.00031.033010.0003
Override
Cache load0.00062.374710.0006
General
dbfile0.00155.460780.0002
String conversion0.00000.025540.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