Forums / General / Where are URL translations stored

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