Drake CMS Official Forums - read-only archive

You are reading the Drake CMS Official Forums archive, available for historical purposes only.

Drake CMS has been rebranded into Lanius CMS, visit the new Lanius CMS Official Forums if you need support about Lanius CMS or Drake CMS -> Lanius CMS migration.



Home page > Installation > db create error drake 0.2.8 Permanent link to this page
 
 
Author Message:
lictnet
db create error drake 0.2.8
29 January 2007 03:16
Anonymous Hi, doing a new install on a hosted domain name the install was ok until error

Drake v0.2.8 ALPHA rev.1148
Drake is Free Software released under the GNU/GPL License
Database folder
Creates a folder with the proper database name
Creating folder for database drake Successfull
Database folder permissions
You are using a flatfile database, its folder /home/.sites/85/site23/web/private/drake needs write permissions
Testing write permissions Successfull
Database connection
Connecting to database... Successfull
config.php
The main configuration file where global Drake settings are stored in.
Writing configuration file Successfull
Database setup
Writing database
Fatal error: Call to undefined function: file_get_contents() in /home/.sites/85/site23/web/install/install5.php on line 8

any ideas!

I did a fresh install on the local computer then uploaded the db files but still no connection.
 
lictnet
Re:db create error drake 0.2.8
31 January 2007 00:46
Anonymous Hi, tried to install Drake 0.2.9 on same server but no luck, same error. All directories had write permission

Database setup
Writing database
Fatal error: Call to undefined function: file_get_contents() in /home/.sites/85/site23/web/install/install5.php on line 8

Any ideas?
 
legolas558
Re:db create error drake 0.2.8
31 January 2007 14:48
Anonymous shocked Sorry I did not notice you had posted this...

Looks like you have an old PHP installation: is it PHP3 or PHP4 < PHP 4.3.0?

The file_get_contents bug has been fixed in the latest revision, please use SVN to get it
 
legolas558
Re:db create error drake 0.2.8
31 January 2007 17:49
Anonymous Did you test it?

Now it should work
 
lictnet
Re:db create error drake 0.2.8
01 February 2007 11:33
Anonymous Wow thanks legolas558 for all your hard work on Drake. Just tried installing 0.2.10 and had the following error:

Database setup
Writing database
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "C" in command C at offset 0 /CREATE TAB/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Unrecognized SQL statement "I" in command I at offset 0 /INSERT INT/
Errors found
Final results
Errors found

also PHP info from the server:

PHP Version 4.2.3

System Linux dev.lesoleil.com 2.4.16C12_V #1 Thu Apr 4 22:06:23 PST 2002 i686 unknown
Build Date Oct 29 2002 16:18:51
Configure Command './configure' '--prefix=/usr' '--with-apxs=/usr/sbin/apxs' '--enable-safe-mode' '--with-config-file-path=/etc/httpd/4.2.3/' '--with-exec-dir=/usr/bin' '--with-zlib' '--enable-magic-quotes' '--with-regex=system' '--enable-track-vars' '--with-iconv' '--enable-xml' '--disable-debug' '--with-gd' '--enable-mbstring' '--with-interbase=shared' '--with-mysql=shared' '--with-pgsql=shared' '--with-ldap' '--with-imap' '--with-openssl=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-mcrypt=shared' '--with-gettext=shared' '--with-imap-ssl' '--disable-mbstr-enc-trans' '--enable-sockets' '--enable-ftp'
Server API Apache

Trust the above info will help.
 
legolas558
Re:db create error drake 0.2.8
01 February 2007 11:53
Anonymous lictnet wrote:
Quote:
Wow thanks legolas558 for all your hard work on Drake. Just tried installing 0.2.10 and had the following error:

Database setup
Writing database
...


The problem is that you need at least PHP 4.3.0.

The next Drake CMS version will tell you that.

Quote:

also PHP info from the server:

PHP Version 4.2.3

System Linux dev.lesoleil.com 2.4.16C12_V #1 Thu Apr 4 22:06:23 PST 2002 i686 unknown
Build Date Oct 29 2002 16:18:51
Configure Command './configure' '--prefix=/usr' '--with-apxs=/usr/sbin/apxs' '--enable-safe-mode' '--with-config-file-path=/etc/httpd/4.2.3/' '--with-exec-dir=/usr/bin' '--with-zlib' '--enable-magic-quotes' '--with-regex=system' '--enable-track-vars' '--with-iconv' '--enable-xml' '--disable-debug' '--with-gd' '--enable-mbstring' '--with-interbase=shared' '--with-mysql=shared' '--with-pgsql=shared' '--with-ldap' '--with-imap' '--with-openssl=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-mcrypt=shared' '--with-gettext=shared' '--with-imap-ssl' '--disable-mbstr-enc-trans' '--enable-sockets' '--enable-ftp'
Server API Apache

Trust the above info will help.


Actually it has been! smile
 
Top