11
jenrose
Re: Installation Error - Unable to connect to database
  • 2005/6/1 20:16

  • jenrose

  • Just popping in

  • Posts: 17

  • Since: 2005/3/10


Still cannot install.

Can anyone please tell me what "Failed writing constant" means?

Jen



12
jenrose
Re: Installation Error - Unable to connect to database
  • 2005/6/1 11:31

  • jenrose

  • Just popping in

  • Posts: 17

  • Since: 2005/3/10


Still no joy after uninstalling and reinstalling XOOPS by using suggested protocol above.

Half way through installation I get the following error message

"SAVING CONFIGURATION DATA..
File ../mainfile.php overwritten by ../mainfile.dist.php.
Constant XOOPS_ROOT_PATH written to /home2/communi/public_html.
Constant XOOPS_URL written tohttp://www.mysite.com.
Constant XOOPS_DB_TYPE written to mysql.
Constant XOOPS_DB_PREFIX written to xoops.
Constant XOOPS_DB_HOST written to localhost.
Constant XOOPS_DB_USER written to communi_cssdaata.
Constant XOOPS_DB_PASS written to communi_css156.
Constant XOOPS_DB_NAME written to communi_comcss.
Failed writing constant 0.
Constant XOOPS_GROUP_ADMIN written to 1.
Constant XOOPS_GROUP_USERS written to 2.
Constant XOOPS_GROUP_ANONYMOUS written to 3.
Failed writing constant 1.

Configuration data has been saved successfully to mainfile.php."

then the next message is

"CHECK DATABASE

Could not connect to the database server.

Please check the database server and its configuration."

Any further ideas would be very welcome.

Thanks Jen



13
jenrose
Re: Installation Error - Unable to connect to database
  • 2005/6/1 8:43

  • jenrose

  • Just popping in

  • Posts: 17

  • Since: 2005/3/10


Thank you for your suggestion.
I will quiz server in the morning.

I also feel that I may have had some problem actually creating the database in the first place through CPanel as in the past my other servers have created MySQL databases for me. Can anyone run me through creating a database in CPanel.

Main problem is though the error message replaces the index page and I cannot login through the browser.

Do I have to delete all of XOOPS and reinstall?
Did that once already and did not work.

Please help if you can.

Cheers Jen



14
jenrose
Installation Error - Unable to connect to database
  • 2005/6/1 8:28

  • jenrose

  • Just popping in

  • Posts: 17

  • Since: 2005/3/10


I have successfully installed XOOPS on to 4 sites now, but with a now hosting company I am having a major problem.

System runs with
RedHat Enterprise Linux
Apache version 1.3.33 (Unix)
CPanel control panel
PHP version 4.3.11
MySQL version 4.0.24-standard

I have changes the folder permissions to
1. The cache folder: chmod 777
2. The uploads folder: chmod 777
3. The template_c folder: chmod 777
4. mainfile.php: chmod 777

Now when I go to the site the message I get is

"This page cannot be displayed due to an internal error.

If you are the administrator of this site, please visit the XOOPS Troubleshooting Page for assistance.

Error [Xoops]: Unable to connect to database in file class/database/databasefactory.php line 34"

The installation itself went until trying to access
the database.

Any suggestions would be very much appreciated.

Jen




TopTop
« 1 (2)



Login

Who's Online

121 user(s) are online (70 user(s) are browsing Support Forums)


Members: 0


Guests: 121


more...

Donat-O-Meter

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

Latest GitHub Commits