phpmyadmin + mysql

Having trouble installing serendipity?
Post Reply
pgup
Regular
Posts: 8
Joined: Mon Nov 07, 2005 10:57 am

phpmyadmin + mysql

Post by pgup »

Hello!

I have a serendipity blog + phpMyAdmin. How can I get to know how many field need serendipity?
And after what can I put in: Field/Type(VARCHAR,TEXT,DATE, etc)/VALUE/Null/etc.?

Thanks:
pgup
hkit
Regular
Posts: 25
Joined: Mon Oct 10, 2005 11:20 am

Post by hkit »

Hi pgup,

is that, because you want to install serendipity? Actually you shouldn't need to change anything. You only need to create a new database, which is very easy using phpMyAdmin. Just go to phpMyAdmins start-page and under "create a new database" you type in the name you wish to have for the serendipity-database. That's it. You don't need to create tables by yourself. That will be done in the install process by the program.

cu
Stefan
pgup
Regular
Posts: 8
Joined: Mon Nov 07, 2005 10:57 am

Post by pgup »

Hello!

Thanks the answer, it's very simple. But if you can see that LINK I don't have privileges. What's the problem?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

That means you only can create one database, and you need to tell serendipity to use the database "alv" to be installed in.

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/
Guest

Post by Guest »

Oh, good. But how can I add a password for database 'alv'?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You already have a password, if you can log in with phpMyAdmin! You must use that exact same password to enter for serendipity.

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/
pgup
Regular
Posts: 8
Joined: Mon Nov 07, 2005 10:57 am

Post by pgup »

I tried it; when I put the username and pass on the form, serendipity:

Code: Select all

Could not connect to database; check your settings.
The mySQL error was: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I don't understand..
pgup
Regular
Posts: 8
Joined: Mon Nov 07, 2005 10:57 am

Post by pgup »

No. It's good! :)
When I put 127.0.0.1 it's good. Thanks :)
pgup
Regular
Posts: 8
Joined: Mon Nov 07, 2005 10:57 am

Post by pgup »

Well... I have successfully installed the blog. But it's funny.
http://alv.atw.hu/blog/serendipity/ --this is the blog now.. What's the problem now?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You've configured s9y to use URL Rewriting, but your hosts doesn't support it. Go to the s9y config and switch URL rewriting to "None", then it'll work.

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/
pgup
Regular
Posts: 8
Joined: Mon Nov 07, 2005 10:57 am

Post by pgup »

Where can I find the config file?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Open http://yourblog/serendipity_admin.php - there you can access the configuration.

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/
pgup
Regular
Posts: 8
Joined: Mon Nov 07, 2005 10:57 am

Post by pgup »

I changed hosting to uw.hu. It's seems better, no problem during the installition. :)
Now, the problem is: Click here
But now I have access the configuration :!:

Code: Select all

Warning: realpath() has been disabled for security reasons in /mnt/ultraweb/a/al/alv/bundled-libs/Smarty/libs/internals/core.is_secure.php on line 25

Warning: realpath() has been disabled for security reasons in /mnt/ultraweb/a/al/alv/bundled-libs/Smarty/libs/internals/core.is_secure.php on line 28

Warning: realpath() has been disabled for security reasons in /mnt/ultraweb/a/al/alv/bundled-libs/Smarty/libs/internals/core.is_secure.php on line 28

Warning: realpath() has been disabled for security reasons in /mnt/ultraweb/a/al/alv/bundled-libs/Smarty/libs/internals/core.is_secure.php on line 37

Warning: Smarty error: (secure mode) accessing "/mnt/ultraweb/a/al/alv/templates/kubrick/index.tpl" is not allowed in /mnt/ultraweb/a/al/alv/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Serendipity requires the Smarty temlating engine. Smarty relies on the realpath() function - when it's deactivated you sadly won't be able to use Smarty nor Serendipity...

Most free providers are blocking certain functions because of security - that's why paying for a good provider is often suggested. :-)

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/
pgup
Regular
Posts: 8
Joined: Mon Nov 07, 2005 10:57 am

Post by pgup »

OK, good. Thanks the support! :) I will subscribe to webhosting; than I will try again 8)
I think this is the best blog!

Thank you:
- pgup -
Post Reply