Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Call to undefined method DB::isactive()


Go to End


3 Posts   2418 Views

Avatar
d_armin

Community Member, 8 Posts

29 March 2007 at 6:52am

Hi.
Please help me. The server is running:
PHP 5
mysql 4.1.21
Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1.

I added AddHandler application/x-httpd-php5 .php
in my .htaccess.

When i run the installation script the following error occurs:

# Creating 'assets' folder...
# Creating 'mysite/_config.php'...
# Creating '.htaccess' file...
# Building database schema...

Fatal error: Call to undefined method DB::isactive() in /home/biscani/public_html/sapphire/core/ManifestBuilder.php on line 91

Did i something wrong?

Thanks for any help

Avatar
d_armin

Community Member, 8 Posts

29 March 2007 at 7:46am

Me again :) The problem dissapears when i copied the installation files and folders to a public_html/subfolder. Is there any way to install into the public_html folder?

Thanks

Avatar
Sigurd

Forum Moderator, 628 Posts

29 March 2007 at 8:12pm

Edited: 29/03/2007 8:15pm

does it work, if you install silverstripe, then manually move the files up a folder?

possibly file permissions of public_html are to blame, but i'm out on a limb here :P

are you sure you don't have relics of other silverstripe websites or php files that are possibly confusing it "nearby" in the filesystem?