Contentteller

Contentteller Support Forums
Home Forums > Contentteller > Version 1.x >

Error: Can't select the database

Discussion in 'Version 1.x' started by Varsosnill, Mar 24, 2004.

  1. Varsosnill Guest

    Error: Can't select the database

    Setup:
    WinMe
    PHP 4.3.5 RC2
    MySQL 4.0.15
    Apache_2.0.48

    Yesterday I had downloaded last version of storyteller and tried to install it. I don't know why, but

    - only 15 tables is always created by install script:

    `esselbach_st_categories` , `esselbach_st_comments` , `esselbach_st_faq` , `esselbach_st_faqcat` , `esselbach_st_faqqueue` , `esselbach_st_links` , `esselbach_st_linkscat` , `esselbach_st_linksqueue` , `esselbach_st_pages` , `esselbach_st_stories` , `esselbach_st_storyqueue` , `esselbach_st_userqueue` , `esselbach_st_users` , `esselbach_st_version` , `esselbach_st_websites`

    - config.php is always clear after install
    - and after I trying to login as admin, I receive message "Error: Can't select the database"

    What's wrong? Could you help me?
    Varsosnill, Mar 24, 2004
    #1
  2. Philipp Guest

    Error: Can't select the database

    Perhaps an issue with Windows ME. Windows ME has no file locking (flock) feature.

    Please try the following:

    Download the cfix script and change:

    Code:
    	   if (flock($file, 2)) {
    				fputs ($file, "<?php $estc = "$estc"; ?>");
    		}
    to:
    Code:
    	   //if (flock($file, 2)) {
    				fputs ($file, "<?php $estc = "$estc"; ?>");
    		//}
    Then follow the instructions in post #35
    Philipp, Mar 24, 2004
    #2
  3. Varsosnill Guest

    Error: Can't select the database

    Thank you! It's working!

    And what about the number of tables.. is 15 enough for version 1.6?
    Varsosnill, Mar 24, 2004
    #3
  4. Philipp Guest

    Error: Can't select the database

    Originally posted by Varsosnill:
    Thank you! It's working!
    You might need to comment out the flock lines at cadmin/mod_templates.php as well. This limitation is on Windows 9x/ME only.

    Originally posted by Varsosnill:
    And what about the number of tables.. is 15 enough for version 1.6?
    Yes, that's fine for the freeware version:

    1.6 freeware version = 15 tables
    1.6 licensed version = 48 tables
    Philipp, Mar 24, 2004
    #4
  5. Varsosnill Guest

    Error: Can't select the database

    Ok, thank you once more.
    I want to test your CMS locally with integration with vBulletin and after that run it on a Unix server.
    Varsosnill, Mar 24, 2004
    #5
Tweet
Facebook:
Forgot your password?
Contentteller Support Forums
Home Forums > Contentteller > Version 1.x >
  • Home
  • Forums

    Forums

    Quick Links
    • Search Forums
    • What's New?
  • Members

    Members

    Quick Links
    • Registered Members
    • Current Visitors
    • Recent Activity
  • Help

    Help

    Quick Links
    • Smilies
    • BB Codes
    • Trophies

Separate names with a comma.

Advanced search...
    Forum software by XenForo™ ©2011 XenForo Ltd.