I'm supporting a website built on symfony. There have been problems regarding some type of "admin page".

Whilst not knowing much concerning the whole factor by reading through the logs and evaluating recent backup copies I believe I could fix the problem (some developer removed a route, but didn't fix a template).

I don't have admin password towards the site, but have root accessibility server and super accessibility database (within this situation postgres).

Are you able to assist me to how you can create myself a free account not understanding the present passwords?

Disclaimer: I don't cash understanding with PHP's OOP interface like me not really a programmer, but a sysadmin.

Edit:

symfony version 1.0.16

Try logging in to the server and altering in to the Symfony project's root directory. There's most likely a "symfony" script/link there (the particulars rely on your OS and just how Symfony's setup you may be able simply to run ./symfony instead of requiring php symfony). Run this to determine whether this fundamentals will work:

php symfony

In the event that works, you need to get a listing of possible tasks that you can do. If you are while using sfGuardPlugin, you need to see some tasks like guard:create-user.

To obtain more info on an activity, try something similar to:

php symfony help guard:create-user

But essentially, presuming a reasonably modern Symfony installation and wordpress plugin, try something similar to:

php symfony guard:create-user --env=prod newusername newpassword

(the --env=push option produces the consumer within the production atmosphere, that is most likely what you would like.)

If you will find super-user-only tasks for you to do, try also carrying this out:

php symfony guard:promote newusername

Which will provide the new user super-admin rights.

You'll most likely also look for a guard:change-password task that will simply totally reset the password for any given user.

I wound up editing the file named:

plugins/sfGuardPlugin/lib/validator/sfGuardUserValidator.class.php

this is when the authentication happens. I added a couple of lines to bypass the particular password look for a previously produced user.