1
Beremat
Error: Couldn't Connect to Database
  • 2006/10/29 15:28

  • Beremat

  • Just popping in

  • Posts: 11

  • Since: 2006/10/29


I was browsing around my site, when I got this error. I don't know why. PhpMyAdmin tells me the database is ok. No, I haven't run otu of space. How do I fix this?

2
Beremat
Re: Error: Couldn't Connect to Database
  • 2006/10/29 17:34

  • Beremat

  • Just popping in

  • Posts: 11

  • Since: 2006/10/29


i just opened the database with phpMyAdmin to look for bad tables; I got...


theprisoner.xoops_avatar repair status OK
theprisoner.xoops_avatar_user_link repair status OK
theprisoner.xoops_banner repair status OK
theprisoner.xoops_bannerclient repair status OK
theprisoner.xoops_bannerfinish repair status OK
theprisoner.xoops_bb_archive repair status OK
theprisoner.xoops_bb_attachments repair status OK
theprisoner.xoops_bb_categories repair status OK
theprisoner.xoops_bb_digest repair status OK
theprisoner.xoops_bb_forums repair status OK
theprisoner.xoops_bb_moderates repair status OK
theprisoner.xoops_bb_online repair status OK
theprisoner.xoops_bb_posts repair status OK
theprisoner.xoops_bb_posts_text repair status OK
theprisoner.xoops_bb_reads_forum repair status OK
theprisoner.xoops_bb_reads_topic repair status OK
theprisoner.xoops_bb_report repair status OK
theprisoner.xoops_bb_topics repair status OK
theprisoner.xoops_bb_votedata repair status OK
theprisoner.xoops_block_module_link repair status OK
theprisoner.xoops_config repair status OK
theprisoner.xoops_configcategory repair status OK
theprisoner.xoops_configoption repair status OK
theprisoner.xoops_downloadse_broken repair status OK
theprisoner.xoops_downloadse_cat repair status OK
theprisoner.xoops_downloadse_downloads repair status OK
theprisoner.xoops_downloadse_mod repair status OK
theprisoner.xoops_downloadse_text repair status OK
theprisoner.xoops_downloadse_votedata repair status OK
theprisoner.xoops_groups repair status OK
theprisoner.xoops_groups_users_link repair status OK
theprisoner.xoops_group_permission repair status OK
theprisoner.xoops_image repair status OK
theprisoner.xoops_imagebody repair status OK
theprisoner.xoops_imagecategory repair status OK
theprisoner.xoops_imgset repair status OK
theprisoner.xoops_imgsetimg repair status OK
theprisoner.xoops_imgset_tplset_link repair status OK
theprisoner.xoops_marquee repair status OK
theprisoner.xoops_modules repair status OK
theprisoner.xoops_newblocks repair status OK
theprisoner.xoops_online repair status OK
theprisoner.xoops_priv_msgs repair status OK
theprisoner.xoops_ranks repair status OK
theprisoner.xoops_session repair status OK
theprisoner.xoops_smiles repair status OK
theprisoner.xoops_stories repair status OK
theprisoner.xoops_stories_files repair status OK
theprisoner.xoops_stories_votedata repair status OK
theprisoner.xoops_topics repair status OK
theprisoner.xoops_tplfile repair status OK
theprisoner.xoops_tplset repair status OK
theprisoner.xoops_tplsource repair status OK
theprisoner.xoops_users repair status OK
theprisoner.xoops_wfdownloads_broken repair status OK
theprisoner.xoops_wfdownloads_cat repair status OK
theprisoner.xoops_wfdownloads_downloads repair status OK
theprisoner.xoops_wfdownloads_indexpage repair status OK
theprisoner.xoops_wfdownloads_meta repair status OK
theprisoner.xoops_wfdownloads_mimetypes repair status OK
theprisoner.xoops_wfdownloads_mirrors repair status OK
theprisoner.xoops_wfdownloads_mod repair status OK
theprisoner.xoops_wfdownloads_reviews repair status OK
theprisoner.xoops_wfdownloads_votedata repair status OK
theprisoner.xoops_xoopscomments repair status OK
theprisoner.xoops_xoopsnotifications repair status OK


Althought when I looked around somewhere, can't remember where, I saw something about a PPA or a PAA or something like that Database being Bad....

3
jensclas
Re: Error: Couldn't Connect to Database

I had a similar problem for quite some time - but it wasn't XOOPS - it was the host...couldn;t connect to the sever to contect them about it either

So...I suspect first your host...

anyway here is what you need to do if we are to help you:

Please help us help you: have you done this?
Before posting please do a search in the XOOPS top right "Search" box using appropriate "keywords" and find out if the subject has been dealt with before. Also look through the FAQ’s, especially if you're unsure what search words to use.

I couldn’t find any related issues by searching what next?


Turn on debug:
To switch on debug, go to system admin-->preferences and then general settings. You will see a "Debug mode" field. Choose "PHP Debug". Then go to the page that has problems and copy and paste any error messages under php-debug messages in the template below.
When posting any debug messages please 'wrap' the message like this: Use the word 'code' in square brackrets [] and at the end put /code in square brackets.
Debug message here


Give information about your site
Copy the following template into your post and fill-in as much information as possible. The more information you give, the more likely you will receive a quick and effective reply to your post.

XOOPS Version:
Module Name/Version:
PHP Version:
MySQL Version:
Web Server Software (Apache/IIS/Other):
Operating System:
Theme you are using:
Custom template: (Yes/No)
PHP Debug Messages:
MySQL Debug Messages:
Smarty Debug Messages:
A full description of the issue:


For more info or to leave comments please see the faq

There are two attachments to help you answer these questions. Please go to the read before you post link below and scroll to the attachments.

Remember this when you post
Please use an effective title for the post; this assists other users to answer you who have had a similar problem. Many users will not be attracted to a "please help me I have a problem" title. A relevant title also helps other users find solutions to their problems.

Posts like ‘I have a blank page’ will generally be ignored. Not because we don’t want to help, but because we can’t with such a small amount of information.

4
Beremat
Re: Error: Couldn't Connect to Database
  • 2006/10/29 22:29

  • Beremat

  • Just popping in

  • Posts: 11

  • Since: 2006/10/29


It's not my host-I can log into my Administration Panel just fine from cpanel.byethost6.com

I can post a debug-I can't get on any page in the website, how am I supposed to go into the System Admin?

XOOPS Version:2.0.15c
Module Name/Version:CBB 2.32, News, Downloads-SE
PHP Version:Not Sure
MySQL Version:3.23
Web Server Software (Apache/IIS/Other):Apache
Operating System:WinXP
Theme you are usingefault
Custom template: (Yes/No)No
PHP Debug Messages:Can't view
MySQL Debug Messages:Can't view
Smarty Debug Messages:Can't view
A full description of the issue:
I was browsing around my site, when I got this error. I don't know why. PhpMyAdmin tells me the database is ok. No, I haven't run otu of space. All tables in PhpMyAdmin are OK. How do I fix this?

5
jdseymour
Re: Error: Couldn't Connect to Database

See this Faq Page for enableing debug mode without entering the admin section.

Login

Who's Online

258 user(s) are online (182 user(s) are browsing Support Forums)


Members: 0


Guests: 258


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