This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Error: Can't select the database


avatar
Varsosnill 0
From: -
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?

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Error: Can't select the database
avatar
OP 0
From: -
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.
1 Re: Error: Can't select the database
avatar
Administrator
1340
From: Vienna, Austria
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
1 Re: Error: Can't select the database
avatar
OP 0
From: -
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?
1 Re: Error: Can't select the database
avatar
Administrator
1340
From: Vienna, Austria
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:

    if (flock($file, 2)) {

fputs ($file, "<?php $estc = "$estc"; ?>");
}

to:
        //if (flock($file, 2)) {

fputs ($file, "<?php $estc = "$estc"; ?>");
//}

Then follow the instructions in  post #35

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.