Warnings and info messages on my index page

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Stosh
Regular
Posts: 75
Joined: Mon Oct 12, 2009 11:47 pm

Warnings and info messages on my index page

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Warnings and info messages on my index page

Post 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
# 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/
Stosh
Regular
Posts: 75
Joined: Mon Oct 12, 2009 11:47 pm

Re: Warnings and info messages on my index page

Post by Stosh »

Thanks Garvin,

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

-s
Zugschlus
Regular
Posts: 139
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Re: Warnings and info messages on my index page

Post 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
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Warnings and info messages on my index page

Post 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.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Zugschlus
Regular
Posts: 139
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Re: Warnings and info messages on my index page

Post 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
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Warnings and info messages on my index page

Post 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
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Zugschlus
Regular
Posts: 139
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Re: Warnings and info messages on my index page

Post 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
Attachments
s9y1.png
s9y1.png (71.68 KiB) Viewed 7936 times
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: Warnings and info messages on my index page

Post by kleinerChemiker »

I see the update buttons in your posted picture: "check for new sidbar/event plugins"
onli
Regular
Posts: 2830
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Warnings and info messages on my index page

Post 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?
Zugschlus
Regular
Posts: 139
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Re: Warnings and info messages on my index page

Post 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
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
onli
Regular
Posts: 2830
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Warnings and info messages on my index page

Post 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.
Zugschlus
Regular
Posts: 139
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Re: Warnings and info messages on my index page

Post 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
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Warnings and info messages on my index page

Post 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?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Zugschlus
Regular
Posts: 139
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Re: Warnings and info messages on my index page

Post 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
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
Post Reply