0.9b1 fails to work after successful installation

Having trouble installing serendipity?
Post Reply
Seed

0.9b1 fails to work after successful installation

Post by Seed »

I have been testing Serendipity but I've been unable to successfully install 0.9b1 and the latest nightly version.
For hosting I use a shared account on FreeBSD 4.11, H-Sphere as control panel, MySQL version is 4.0.26, PHP version is 4.4.0.
I've installed both 0.9 beta1 and the latest nightly version. In both, according to the installation, all went fine.
Checking to see if the database and tables already exists... they do not
Creating default database setup... Done
Creating primary author 'MyName'... Done
Setting default template... Done
Installing default plugins... Done
Attempting to write .htaccess file...... Done
I installed it on a subdomain's root. I have nothing in that root that could interfere. I changed the root to be writable temporarily for the installation, and changed templates_c to be writable as well, 777.

Then when I visit the blog, i get 3 parts, the title/header which has white text and a blue background, a left sidebar that's divided from the main area by a striped line, and contains two lines
NO_ENTRIES_TO_PRINT
(PAGE_BROWSE_ENTRIES)
And a main page with a "Back" arrow followed by the following error:
Fatal error: Call to undefined function: serendipity_mb() in /hsphere/local/home/myname/blog.mydomain.com/include/functions.inc.php on line 82
0.85 installed properly but when picking a plugin to be active the V sign does not show when coming back to the Configure Plugins screen and the plugin is not activated.
Are there any file permissions I should set that could affect the installation of 0.9 versions, and the status of the saved plugin in 0.85? I did have to chmod 777 the plugin folder to be able to download any plugin using Spartacus.
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy »

I had the same problem with beta 1
I just used the package from the CVS and it worked fine
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

This error can happen if not all DB tables are properly created.

Check if your serendipity_config table exists and has a valid result for this SQL query:

Code: Select all

SELECT * FROM serendipity_config WHERE name = 'lang'
You should get 1 or 2 rows of results, where the "value" of the language should be something like "en" or "de"?

Best 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/
heddesheimer
Regular
Posts: 37
Joined: Mon Sep 12, 2005 3:44 pm

Post by heddesheimer »

For me it was the entry "Array" that was in "charset". When I changed it to "UTF-8/" the start page could be loaded

It seems that the "Easy install" will not write the correct value into the DB-table.

Marian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Thanks a lot for finding this out! I just committed a fix for that, and will put a beta2 release online because of that.

Best 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/
heddesheimer
Regular
Posts: 37
Joined: Mon Sep 12, 2005 3:44 pm

Post by heddesheimer »

I also found that I suddenly got a second entry for "lang" in my config table with authorid=0 and authorid=1

I could not change the language from english to german because of that, it always stuck to english. I changed the language in the table directly.

Had not enough time to dig deeper into this. I think, it may happened because I changed my full name after I did the installation but I'm not sure if this is the reason for this.

Also the "wysiwyg" field was duplicated, all other fields still have one entry with either authorid=0 or 1

Marian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Actually that is proper behaviour.

Your personal preferences apply to the language/wysiwyg settings when you are logged in. The override the global configuration.

Best 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