Skip to Content
Menu
This question has been flagged
2 Replies
1952 Views

Hi,

I started to use Odoo a few days ago and I've created a nice looking website so far with two build-in modules.

It was working very good until I've changed some HTML code in the footer via the developer mode. ;-)

After I've applied the changes, the server returned with the 500 error, telling me that my default template is broken.


Log >>

 http://cryptb.in/L54s#27f516db4745463a02683c537277528d


My questions are, HOW can I access the broken website so I can edit (set back to default) the footer again and see the website? and WHERE can I edit the database entries in case I get similar errors?


Whenever I go to /web/database/manager I can manage the databases, but can't edit their entries.


Any info would be really appreciated!


Thanks in advance!

Avatar
Discard
Best Answer

Hmm maybe, seeing that you're able to get to the web/db/mgr, try going to:

http://yourip.com/web?&debug=#min=1&limit=80&view_type=list&model=ir.ui.view&menu_id=41&action=25

If you can get in there then search for the footer that you've customized, click edit, make your changes, save, then shift reload your root http://yourip.com

Avatar
Discard
Author Best Answer

This didn't work for me. I still get an Internal Server Error and I'm unable to access anything.

Is the URL you've provided me correct? I think after the part http://yourip.com/web? starts with & which is a bit uncommon.


P.S. I've made a backup of my broken database and opened the database in the pgadmin. I was trying to search for the html code I've edited, but I couldn't locate it. Is there a way to edit the database file entry and restore the database afterwards?


Or maybe any other suggestions? It's urgent, please.

Avatar
Discard

That link I gave you just activated the developer mode, which you need, so you could edit the views, but if it's not working then fixes would have to be done via the database I think.

Author

How can I do that via database? The link didn't work for me, no chance to get any of the toolbars with links :/