Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Upgrading to 4_4_3139
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Zbigniew Szalbot  
View profile  
 More options Feb 24 2012, 3:02 am
From: Zbigniew Szalbot <zszal...@gmail.com>
Date: Fri, 24 Feb 2012 09:02:13 +0100
Local: Fri, Feb 24 2012 3:02 am
Subject: Upgrading to 4_4_3139
Dear all,

I have been trying to upgrade to ver. 4_4_3139 from the previous one.
However, the site is down and there is an error message:
include/db.php line 916: unserialize() [function.unserialize]: Error
at offset 0 of 59 bytes

Is there anything else I need to do apart from copying the files? I
have not found any other instruction.

Thank you very much in advance!

Zbigniew Szalbot


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Axel Dörfler  
View profile  
 More options Feb 26 2012, 12:00 pm
From: Axel Dörfler <axel.doerf...@gmail.com>
Date: Sun, 26 Feb 2012 18:00:52 +0100
Local: Sun, Feb 26 2012 12:00 pm
Subject: Re: Upgrading to 4_4_3139
Hi Zbigniew,

> I have been trying to upgrade to ver. 4_4_3139 from the previous one.
> However, the site is down and there is an error message:
> include/db.php line 916: unserialize() [function.unserialize]: Error
> at offset 0 of 59 bytes

The plugin configuration was broken before this release; it looks like
you are using a plugin that uses an invalid 'config' string. Since
those had no functionality before this release IIRC, you can just
clear that string from the 'plugins' table in the MySQL database.

Bye,
   Axel.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Ehnebuske  
View profile  
 More options Feb 26 2012, 1:23 pm
From: David Ehnebuske <david.ehnebu...@gmail.com>
Date: Sun, 26 Feb 2012 10:23:32 -0800 (PST)
Local: Sun, Feb 26 2012 1:23 pm
Subject: Re: Upgrading to 4_4_3139
Does this mean that the plugin functions get_plugin_config,
set_plugin_config, purge_plugin_config and is_plugin_activated are
ready for general use by plugin developers? Should I take a crack at
documenting them in the "Writing Plugins" section of the wiki? How
about a discussion creating a setup.php page for a plugin and the use
of the config_text_field function and its friends?

Since plugins are the recommended way of extending and adapting RS, it
is probably a good idea to be as clear and complete as possible about
what the "official" programming interface for them is.

David Ehnebuske

On Feb 26, 12:00 pm, Axel Dörfler <axel.doerf...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zbigniew Szalbot  
View profile  
 More options Feb 27 2012, 2:21 am
From: Zbigniew Szalbot <zszal...@gmail.com>
Date: Mon, 27 Feb 2012 08:21:01 +0100
Local: Mon, Feb 27 2012 2:21 am
Subject: Re: Upgrading to 4_4_3139
Hi all,

On 26 February 2012 18:00, Axel Dörfler <axel.doerf...@gmail.com> wrote:

> The plugin configuration was broken before this release; it looks like
> you are using a plugin that uses an invalid 'config' string. Since
> those had no functionality before this release IIRC, you can just
> clear that string from the 'plugins' table in the MySQL database.

Thanks a lot, Axel. I did not know what to do, so I figured I would
copy db.php from my older installation. Then the same message appeared
but this time it referred to (I believe) plugin_functions.php. When I
copied its previous version, the site went back to normal...

Zbigniew Szalbot


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Axel Dörfler  
View profile  
 More options Feb 27 2012, 3:31 am
From: Axel Dörfler <axel.doerf...@gmail.com>
Date: Mon, 27 Feb 2012 09:31:03 +0100
Local: Mon, Feb 27 2012 3:31 am
Subject: Re: Upgrading to 4_4_3139

On Mon, Feb 27, 2012 at 8:21 AM, Zbigniew Szalbot <zszal...@gmail.com> wrote:
> Thanks a lot, Axel. I did not know what to do, so I figured I would
> copy db.php from my older installation. Then the same message appeared
> but this time it referred to (I believe) plugin_functions.php. When I
> copied its previous version, the site went back to normal...

Mixing different versions is usually not really a good idea, and can
lead to subtle or not so subtle bugs in the end result, so it would be
advisable to fix the database - do you need help with that? If so, do
you have a tool like phpmyadmin?
Anyway, we may want to let unserialize() fail silently, and maybe put
a message to the log?

To David: I don't know if those are ready to be used yet; I only fixed
the DB based config mechanism itself :-)

Bye,
   Axel.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zbigniew Szalbot  
View profile  
 More options Feb 27 2012, 4:04 am
From: Zbigniew Szalbot <zszal...@gmail.com>
Date: Mon, 27 Feb 2012 10:04:30 +0100
Local: Mon, Feb 27 2012 4:04 am
Subject: Re: Upgrading to 4_4_3139

Dear all,

On 27 February 2012 09:31, Axel Dörfler <axel.doerf...@gmail.com> wrote:

> Mixing different versions is usually not really a good idea, and can
> lead to subtle or not so subtle bugs in the end result, so it would be

I fully realize that and would be happy to change it.

> advisable to fix the database - do you need help with that? If so, do
> you have a tool like phpmyadmin?
> Anyway, we may want to let unserialize() fail silently, and maybe put
> a message to the log?

I looked at the plugins table and not sure what to remove from there.
No unserialize() instance in there. Please find the plugins table dump
attached.0

Thank you for your help!

Zbigniew Szalbot

  plugins.txt
2K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Axel Dörfler  
View profile  
 More options Feb 27 2012, 4:11 am
From: Axel Dörfler <axel.doerf...@gmail.com>
Date: Mon, 27 Feb 2012 10:11:26 +0100
Local: Mon, Feb 27 2012 4:11 am
Subject: Re: Upgrading to 4_4_3139

On Mon, Feb 27, 2012 at 10:04 AM, Zbigniew Szalbot <zszal...@gmail.com> wrote:
>> advisable to fix the database - do you need help with that? If so, do
>> you have a tool like phpmyadmin?
>> Anyway, we may want to let unserialize() fail silently, and maybe put
>> a message to the log?

> I looked at the plugins table and not sure what to remove from there.
> No unserialize() instance in there. Please find the plugins table dump
> attached.0

The unserialize() comment wasn't directed to you, but rather the other
RS developers.

The 'slideshow' plugin seems to have a 'config' string set. Just clear
that one, and the current version of RS will work as expected.
If you don't have phpmyadmin, you would do this like this, just to get
you the basic idea:
UPDATE plugins SET config=null;

Bye,
   Axel.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zbigniew Szalbot  
View profile  
 More options Feb 27 2012, 4:35 am
From: Zbigniew Szalbot <zszal...@gmail.com>
Date: Mon, 27 Feb 2012 10:35:44 +0100
Local: Mon, Feb 27 2012 4:35 am
Subject: Re: Upgrading to 4_4_3139
Hello,

On 27 February 2012 10:11, Axel Dörfler <axel.doerf...@gmail.com> wrote:

> The 'slideshow' plugin seems to have a 'config' string set. Just clear
> that one, and the current version of RS will work as expected.

A great many thanks for this one! I never really managed to get the
slideshow plugin to work so I deactivated it and purged its config.
Both files from the /include directory have been updated and the
system works as expected. Thank you very much! :)

Zbigniew Szalbot


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Ehnebuske  
View profile  
 More options Feb 27 2012, 2:50 pm
From: David Ehnebuske <david.ehnebu...@gmail.com>
Date: Mon, 27 Feb 2012 11:50:36 -0800 (PST)
Local: Mon, Feb 27 2012 2:50 pm
Subject: Re: Upgrading to 4_4_3139
Thanks, Axel. I'll check with Dan.

On Feb 27, 3:31 am, Axel Dörfler <axel.doerf...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Gleason  
View profile  
 More options Feb 28 2012, 11:41 am
From: Tom Gleason <t...@buildadam.com>
Date: Tue, 28 Feb 2012 11:41:39 -0500
Local: Tues, Feb 28 2012 11:41 am
Subject: Re: Upgrading to 4_4_3139
Hi David,

Yes, I think this method works well to eliminate the need to manually
modify plugin config files on the server, and I've set up several
examples (in current included plugins) of how to create the setup.php
pages using form-creation functions in plugin_functions.php.
Personally I think these functions make it very easy to create these
setup pages, and storing configs in the db makes it easier to manage
plugins via svn. This was really just me fixing up some work that
Brian Adams did years ago but wasn't fully working. There was no
documentation on that feature, so I did my best to make it work as I
thought he intended. I'm sure there are improvements that can be made
still, but I've been using this method more and more with no major
issues other than sometimes not having a premade function for a
certain type of config field I'd like to build.

This is all related to the longer-term goal of keeping cleaner base
code, and cleaner plugin code (in terms of svn checkouts). With
totally clean checkouts, we could eventually work out the ability to
do manual or automatic svn checkouts or updates via the web interface,
which would be especially useful for plugins which rely on specific
version of RS, or have their own 'release schedule'.

It would be great if you could update the wiki documentation on
Writing Plugins.
Thanks,
Tom

On Sun, Feb 26, 2012 at 1:23 PM, David Ehnebuske

--
Tom Gleason
Vice President, Engineering
Colorhythm LLC
http://www.colorhythm.com

Main Office:  +1 415-399-9921
Fax: +1 253-399-9928
Mobile:  +1 347-537-8465

tglea...@colorhythm.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »