1
judithdl
Where in mainfile.php does database/password go?
  • 2011/11/9 22:05

  • judithdl

  • Just popping in

  • Posts: 2

  • Since: 2011/11/9


I've been running xoops on my site for a few months now with no problems. I just transferred to a new host, and I'm having trouble finding where I update the database/password. I've looked at mainfile.php but can't find anywhere in there that information to change. I don't know how I'm missing it, so can someone help? Like providing a snippet of the actual code?

Since my site is down, I don't know what version it is.

2
Mamba
Re: Where in mainfile.php does database/password go?
  • 2011/11/9 23:54

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Look at /xoops_data/data/secure.php
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

3
judithdl
Re: Where in mainfile.php does database/password go?
  • 2011/11/10 0:48

  • judithdl

  • Just popping in

  • Posts: 2

  • Since: 2011/11/9


Dang, I thought I looked in that file! Thanks! :)

4
redheadedrod
Re: Where in mainfile.php does database/password go?

In 2.5 the database/password were moved out of mainfile.php for security reasons.

That's why you look in the file mamba suggested but that is only since 2.5.




Attending College working towards Bachelors in Software Engineering and Network Security.

Login

Who's Online

422 user(s) are online (295 user(s) are browsing Support Forums)


Members: 0


Guests: 422


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits