Contentteller Community Forums  

Go Back   Contentteller Community Forums > Contentteller > Version 1.x

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 07-13-2003, 12:37 PM
digibri
Guest
 
Posts: n/a
Post Error: Can't select the database

Howdy,

I just bought a copy and have run cinstall.php.
Question, should the cinstall.php report when it's done? It did not do so for me.

After waiting quite a while to see if the cinstall.php would give me a message, I tried going to the index.php in the root.

I get the error: "Error: Can't select the database"

When I ran the cinstall.php script, I filled in the database name currently being used by vBulletins. Was this the correct procedure?


Thanks,

B.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-13-2003, 01:11 PM
Philipp
Guest
 
Posts: n/a
Post Error: Can't select the database

Quote:
Originally posted by digibri
I just bought a copy and have run cinstall.php.
Question, should the cinstall.php report when it's done? It did not do so for me.
Did you chmod config.php to 777

Quote:
Originally posted by digibri
When I ran the cinstall.php script, I filled in the database name currently being used by vBulletins. Was this the correct procedure?
Should be no problem. However, I recommend to use a second database for the script.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 07-13-2003, 01:21 PM
digibri
Guest
 
Posts: n/a
Post Error: Can't select the database

Wow, thanks for your quick reply!

Yes, I did chmod 777 as per the installation instructions.

Should I try rerunning the cinstall.php?
What about bbwrapper.php, when do I utilize that?

B.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 07-13-2003, 01:34 PM
Philipp
Guest
 
Posts: n/a
Post Error: Can't select the database

Quote:
Originally posted by digibri
Should I try rerunning the cinstall.php?
Yes, please try it again.

Quote:
Originally posted by digibri
What about bbwrapper.php, when do I utilize that?
Open the bbwrapper.php in an editor and change the settings to your vBulletin configuration:

$bb_host = "localhost";
$bb_dbname = "dbname"; <= database name
$bb_dbuser = "username"; <= database username
$bb_dbpasswd = "password"; <= database password
$bb_url = "/forums/"; <= forum location (e.g. /forums/ for http://www.yourdomain.com/forums/)
$bb_panel = $$_url."usercp.php"; <= Location to user control panel (don't change)
$bb_private = ""; <= Forum IDs of the private forums

Then copy the file to the storyteller root directory.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 07-13-2003, 01:52 PM
digibri
Guest
 
Posts: n/a
Post Error: Can't select the database

I edited bbwrapper.php and copied it into the root, as you suggested.
I also reran cinstall.php but got the same results as originally described.

At what point should I run bbwrapper.php? Or, does the cinstall.php call it automatically?

B.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 07-13-2003, 02:09 PM
Philipp
Guest
 
Posts: n/a
Post Error: Can't select the database

Quote:
Originally posted by digibri
I edited bbwrapper.php and copied it into the root, as you suggested.
I also reran cinstall.php but got the same results as originally described.
Is this a clean install or an upgrade from basic edition? Can you check with phpMyAdmin whether there are esselbach_st_* tables in the database?

Also, which versions of PHP/MySQL are installed?

Quote:
Originally posted by digibri
At what point should I run bbwrapper.php? Or, does the cinstall.php call it automatically?
The bbwrapper.php is an external database connector module and will be automatically used by the login/comments function of Storyteller CMS.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 07-13-2003, 03:08 PM
digibri
Guest
 
Posts: n/a
Post Error: Can't select the database

This is a clean install of the Standard edition.

PHPmyAdmin shows a lot of esselbach_st_* tables.

Software versions:
- PHP4.3.1
- mySQL 3.23.54
- Apache 1.3.27

Further details can be found here: http://64.158.235.172/_util/info.php

B.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 07-13-2003, 03:25 PM
Philipp
Guest
 
Posts: n/a
Post Error: Can't select the database

Quote:
Originally posted by digibri
PHPmyAdmin shows a lot of esselbach_st_* tables.
How many tables are there? A complete installation needs 33 tables.

Is config.php empty (e.g. $estc = ""; )?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 07-13-2003, 04:12 PM
digibri
Guest
 
Posts: n/a
Post Error: Can't select the database

There are 33 tables.
Yes, config.php is empty.

B.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 07-13-2003, 04:58 PM
Philipp
Guest
 
Posts: n/a
Post Error: Can't select the database

The database installation is complete.

It seems like that config.php had not the correct permission (777).

In attachment a script which write the configuration to config.php

To use this script:
1.) Rename the script to cfix.php

2.) Open the script in an editor and change the following:

//MySQL settings
$dbhost = "localhost";
$dbuser = "username"; <= MySQL Username
$dbpass = "password"; <= MySQL Password
$dbname = "database"; <= MySQL Database

//Website details
$wsname = "Website Name"; <= Website name
$wsurl = "http://www.yourdomain.com"; <= Website url

3.) Upload the script to your cadmin directory

4.) Run the script: http://www.yourdomain/cadmin/cfix.php

If the script can't write config.php, please check the permissions of this file again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to pull this info from IPB2.x database error Feedback and Suggestions 2 08-26-2008 09:56 AM
Upgrade from Free to paid: Error: Can't select the database rasp1 Version 1.x 2 08-07-2008 12:59 PM
Download use other database... huuquynh Version 1.x 1 06-28-2007 01:32 PM
Database design s.molinari Version 1.x 6 06-26-2004 01:32 PM
Error: Can't select the database Varsosnill Version 1.x 4 03-24-2004 11:22 AM


All times are GMT. The time now is 01:25 PM.


Copyright ©2002 - 2009 Esselbach Internet Solutions
Powered by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0 ©2009, Crawlability, Inc.