Page 1 of 2

Warnings and info messages on my index page

Posted: Wed Apr 20, 2011 8:42 pm
by Stosh
Hi, I'm getting some info and warning messages on the front page. They seem to have started all by themselves, and am wondering if I did something to cause this (so that I can undo it :) ).

Here are the info:

Code: Select all

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/StandOutPublishing.com/httpdocs/Blog/include/plugin_api.inc.php  on line 560

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/StandOutPublishing.com/httpdocs/Blog/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line 469

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/StandOutPublishing.com/httpdocs/Blog/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 400

And here are the warnings:

Code: Select all

Warning: Unknown: open(/var/lib/php/session/sess_d8kj5elol9khj3gsikjjkdbgf5, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0

The login gets me to the home screen but kicks me back to the login screen if I try to do anything. The home screen says this:

Powered by Serendipity 1.4.1 and PHP 5.3.6


Thanks for any help you can provide for this. I'm guessing it's the current host (enom/bulk-register), who really seem to pride themselves in "downing" as much content for as many hours as possible as often as possible. It's also very possible that is is something I did, because the last time it was down due to hosting service, I was in there frantically changing permissions and such in an attempt to get it working again.

-S

Re: Warnings and info messages on my index page

Posted: Wed Apr 20, 2011 9:45 pm
by garvinhicking
Hi!

Most probably you either set $serendipity['production'] = false somewhere, or used error_reporting either through ini_set or through htaccess, or through your provider's php.ini.

The messages themselves are fixed in s9y 1.5 though, and you should really upgrade (due to security issues).

Other warnings refer to you or your provider chanigng the php.ini session.save_path to a location that is no longer writable.

Regards,
Garvin

Re: Warnings and info messages on my index page

Posted: Thu Apr 21, 2011 2:50 am
by Stosh
Thanks Garvin,

I'll upgrade it as soon as they get the write path access fixed.

-s

Re: Warnings and info messages on my index page

Posted: Sat Sep 17, 2011 8:24 pm
by Zugschlus
Hi,
garvinhicking wrote:Most probably you either set $serendipity['production'] = false somewhere, or used error_reporting either through ini_set or through htaccess, or through your provider's php.ini.

The messages themselves are fixed in s9y 1.5 though, and you should really upgrade (due to security issues).
After updating my web server to Debian stable (squeeze), I see these messages as well, but only on the Administration Suite. The blog itself runs fine.

I am running a svn checkout from svn://svn.berlios.de/serendipity/branches/1.5 - is that still the current branch that gets updated? I see a release from December 2010 on the web page, but the SVN still has much older files.

What did I do wrong?

Greetings
Marc

Re: Warnings and info messages on my index page

Posted: Sun Sep 18, 2011 8:36 am
by Timbalu
It seems you are using Serendipity 1.5.5 and PHP 5.3.3, which should work fine. But it seems you are also using an outdated version of the spamblock plugin not the one included in the release file of serendipity 1.5.5. Maybe there is more...
Just grab the 1.5.5 full release zip file and copy its data onto your installation.
If your session save path does exist, is writable and is cleaned up by default, this should do the trick.

Re: Warnings and info messages on my index page

Posted: Sun Sep 18, 2011 12:13 pm
by Zugschlus
Timbalu wrote:It seems you are using Serendipity 1.5.5 and PHP 5.3.3, which should work fine. But it seems you are also using an outdated version of the spamblock plugin not the one included in the release file of serendipity 1.5.5. Maybe there is more...
Just grab the 1.5.5 full release zip file and copy its data onto your installation.
If your session save path does exist, is writable and is cleaned up by default, this should do the trick.
So running a svn checkout will not give me current plugins, and leave me with outdated software that is more current in the release tarball?

Can I update plugins online? Does Spartacus have a function like that?

Greetings
Marc

Re: Warnings and info messages on my index page

Posted: Sun Sep 18, 2011 12:50 pm
by Timbalu
Zugschlus wrote:So running a svn checkout will not give me current plugins, and leave me with outdated software that is more current in the release tarball?
No, I expect it should give you all there is..., but somehow it must have failed, while you had these deprecated notices, which are not in there with current versions (of spamblock plugin).
Zugschlus wrote:Can I update plugins online? Does Spartacus have a function like that?
Yes. Look into admin panel plugin section

Re: Warnings and info messages on my index page

Posted: Sun Sep 18, 2011 1:03 pm
by Zugschlus
Timbalu wrote:
Zugschlus wrote:So running a svn checkout will not give me current plugins, and leave me with outdated software that is more current in the release tarball?
No, I expect it should give you all there is..., but somehow it must have failed, while you had these deprecated notices, which are not in there with current versions (of spamblock plugin).
[/quote]

svn update still says "everything is current", and the admin panel says that my installation integrity is ok.
Timbalu wrote:
Zugschlus wrote:Can I update plugins online? Does Spartacus have a function like that?
Yes. Look into admin panel plugin section
I don't have that. See the attachment for what I have in my admin panel. The only plugin relevant option is "configure plugins", and there is no "update" button, only the possibility to install new and remove plugins.

Am I missing something?

Greetings
Marc

Re: Warnings and info messages on my index page

Posted: Sun Sep 18, 2011 1:30 pm
by kleinerChemiker
I see the update buttons in your posted picture: "check for new sidbar/event plugins"

Re: Warnings and info messages on my index page

Posted: Sun Sep 18, 2011 1:35 pm
by onli
Zugschlus wrote:
Timbalu wrote:
Zugschlus wrote:Can I update plugins online? Does Spartacus have a function like that?
Yes. Look into admin panel plugin section
I don't have that. See the attachment for what I have in my admin panel. The only plugin relevant option is "configure plugins", and there is no "update" button, only the possibility to install new and remove plugins.

Am I missing something?
Yes and no. "Check for new event-plugins" is a mistranslation of "Neue Versionen von Ereignis-Plugins", which means "new versions of event-plugins" - the aquivalent of an update-button.

Garvin: It should be "Update sidebar-plugins" and "Update event-plugins". Those are probably strings in core, can you fix them?

Re: Warnings and info messages on my index page

Posted: Sun Sep 18, 2011 1:49 pm
by Zugschlus
kleinerChemiker wrote:I see the update buttons in your posted picture: "check for new sidbar/event plugins"
Negative, Sir. That one looks for _new_ plugins that serendipity does not yet know about and asks me whether I want to install them. It does quite obviously not look for new versions of already-installed plugins.

Greeting
Marc

Re: Warnings and info messages on my index page

Posted: Sun Sep 18, 2011 1:53 pm
by onli
Zugschlus wrote:
kleinerChemiker wrote:I see the update buttons in your posted picture: "check for new sidbar/event plugins"
Negative, Sir. That one looks for _new_ plugins that serendipity does not yet know about and asks me whether I want to install them. It does quite obviously not look for new versions of already-installed plugins.
You are mislead. It will list only new version of installed plugins. The caption of the buttons is wrong. See my post above. I double-checked how it works in my blog.

PS: Of course, it is possible that you have a strange plugin installed which uses the same icon like the update-buttons and the same position and almost the same caption. That is unlikely.

Re: Warnings and info messages on my index page

Posted: Sun Sep 18, 2011 2:00 pm
by Zugschlus
onli wrote:
Zugschlus wrote:
kleinerChemiker wrote:I see the update buttons in your posted picture: "check for new sidbar/event plugins"
Negative, Sir. That one looks for _new_ plugins that serendipity does not yet know about and asks me whether I want to install them. It does quite obviously not look for new versions of already-installed plugins.
You are mislead. It will list only new version of installed plugins. The caption of the buttons is wrong. See my post above. I double-checked how it works in my blog.

PS: Of course, it is possible that you have a strange plugin installed which uses the same icon like the update-buttons and the same position and almost the same caption. That is unlikely.
You are right. In tiny print, it says, for example, for the Twitter plugin, "version: 1.35; Local Documentation; Upgrade to version 1.37"

It doesn't offer to update the spamblock plugin, thogh.

Greetings
Marc

Re: Warnings and info messages on my index page

Posted: Sun Sep 18, 2011 2:18 pm
by Timbalu
Zugschlus wrote:It doesn't offer to update the spamblock plugin, thogh.
No it does not, while spamblock is a core plugin shipped within releases and its last version is 1.77.
Whats your version number?

Re: Warnings and info messages on my index page

Posted: Sun Sep 18, 2011 10:45 pm
by Zugschlus
Timbalu wrote:
Zugschlus wrote:It doesn't offer to update the spamblock plugin, thogh.
No it does not, while spamblock is a core plugin shipped within releases and its last version is 1.77.
Whats your version number?
I have 1.71, and that does not even update when I remove and re-install the plugin from the admin frontend.

Greetings
Marc