Welcome to Geeklog, Anonymous Tuesday, November 26 2024 @ 08:34 pm EST

Geeklog Forums

error selecting database msg


lg

Anonymous
freakingout
anyone have an idea why my site is completely down and I have this "error selecting database" message...

http://www.electronicablog.com
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Site seems to be working just fine ...

bye, Dirk
 Quote

star

Anonymous
I didn't see what the reason was. I have the same issue.
 Quote

star

Anonymous

Warning: Cannot modify header information - headers already sent by (output started at /home/tgraup/geeklog-1.3.9/config.php:666) in /home/tgraup/geeklog-1.3.9/system/lib-sessions.php on line 185

Warning: Cannot modify header information - headers already sent by (output started at /home/tgraup/geeklog-1.3.9/config.php:666) in /home/tgraup/geeklog-1.3.9/system/lib-sessions.php on line 197
error selecting database

AHHH, the require once wants a relative path.

/**
* Configuration Include: You should ONLY have to modify this line.
* Leave the rest of this file intact!
*
* Make sure to include the name of the config file,
* i.e. the path should end in .../config.php
*/
 Quote

star

Anonymous
OK I take it back that didn't fix it.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by star: Warning: Cannot modify header information - headers already sent by (output started at /home/tgraup/geeklog-1.3.9/config.php:666) in /home/tgraup/geeklog-1.3.9/system/lib-sessions.php on line 185

You have a whitespace problem, i.e. blanks or empty lines at the end of your config.php.

Hint: Always try searching for the error message first - this has been discussed dozens of times before ...

Quote by star: AHHH, the require once wants a relative path.

No, all the paths have to be absolute paths.

bye, Dirk
 Quote

star

Anonymous
Getting rid of the whitespace at the end of the config files fixed it. That should be in the faq if it is so common.

I'll search on my next issue:

error selecting database
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by star: Getting rid of the whitespace at the end of the config files fixed it. That should be in the faq if it is so common.

It's in the section about common problems in the installation instructions ...

bye, Dirk
 Quote

ladred

Anonymous
confused
i'm gettng that same error msg - error selecting database msg..

i'm new to the whole sql thing.

website: www.n10ct.com/admin/install/install.php

the database was created before i ran the install script but for some reason it won't recognize it.

did anyone figure it out? i read the past posts but i couldn't see an actual solution posted..

thanks for the help in advance
 Quote

ladred

Anonymous
stupid


sorry i didn't link the user name to the data base.. forgive my rashness in posting.. new at this
 Quote

All times are EST. The time is now 08:34 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content