Setting up the database

Having trouble installing serendipity?
Post Reply
WeZona
Posts: 3
Joined: Mon Mar 27, 2006 11:41 pm

Setting up the database

Post by WeZona »

I uploaded the Serendipity files to my server, I'm at the setup page, and now I have to set up the database. I have no idea how to do that.

Can anyone direct me to some resources on setting this up? A tutorial would be great.
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

You're in luck, a tutorial does exist. It's here

It is currently available in English and Russian. Other translations will be very welcome.
WeZona
Posts: 3
Joined: Mon Mar 27, 2006 11:41 pm

Post by WeZona »

Thanks for the link. It helped.

However, now I get these errors when I try to open my newly created blog:
Warning: realpath() has been disabled for security reasons in /home/www/xxxx.com/serendipity/bundled-libs/Smarty/libs/internals/core.is_secure.php on line 25

Warning: realpath() has been disabled for security reasons in /home/www/xxxx.com/serendipity/bundled-libs/Smarty/libs/internals/core.is_secure.php on line 28

Warning: realpath() has been disabled for security reasons in /home/www/xxxx.com/serendipity/bundled-libs/Smarty/libs/internals/core.is_secure.php on line 28

Warning: realpath() has been disabled for security reasons in /home/www/xxxx.com/serendipity/bundled-libs/Smarty/libs/internals/core.is_secure.php on line 37

Warning: Smarty error: (secure mode) accessing "/home/www/xxxx.com/serendipity/templates/carl_contest/index.tpl" is not allowed in /home/www/xxxx.com/serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
Can anyone tell me what this means, and how to fix it?
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

It means that your server is configured not to allow access to the realpath() function, which Smarty requires. You might be able to find more information from the Smarty people (smarty.php.net); we just include their binaries.

I did a quick search there, but no luck. Posting on their forum might help you; let us know. I'd definitely talk to the sysadmins, too.
Judebert
---
Website | Wishlist | PayPal
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Disabling realpath() is a really stupid thing to do. There are many other means to figure out a true path from a PHP coder perspective; disabling it on the hoster basis is just plain not helpful. :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply