What does this mean? I am getting this when I click on an entry on my site.
Warning: sprintf(): Too few arguments in /home/content/j/b/u/jbush45/html/plugins/serendipity_event_linktoolbar/serendipity_event_linktoolbar.php on line 103
Warning: sprintf(): Too few arguments in /home/content/j/b/u/jbush45/html/plugins/serendipity_event_linktoolbar/serendipity_event_linktoolbar.php on line 104
My site is www.prowlser.com.
Thanks.
What does this mean?
It means you have the HTML Link Metatags plugin installed, and it has been modified from the latest version. Line 103 should read
And the $querystring, defined on the line above, should have exactly two % signs. Yours apparently has more than two % signs, messing up the plugin.
The only effect should be to make some of the metadata in your <HEAD> incorrect. You can remove the plugin if the metadata isn't important to you.
Where are you seeing it? I clicked an entry, but can't find the warning.
Code: Select all
$prevID = serendipity_db_query(sprintf($querystring, '<', 'DESC'));The only effect should be to make some of the metadata in your <HEAD> incorrect. You can remove the plugin if the metadata isn't important to you.
Where are you seeing it? I clicked an entry, but can't find the warning.
-
fourd5dswb
- Regular
- Posts: 24
- Joined: Mon Aug 25, 2008 5:41 pm
Location
When you click on an entry, at the top of the page under my ad banner you will see it. It is in black and it may be hard to spot because of the background.
Just tell me what you think I should do and I will let you know if I can do it.
Thanks.
Just tell me what you think I should do and I will let you know if I can do it.
Thanks.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Location
Hi!
I've patched the plugin.
you can download this file and replace your current /plugins/serendipity_event_linktoolbar/serendipity_event_linktoolbar.php file with it:
http://php-blog.cvs.sourceforge.net/vie ... vision=1.7
(Judebert:) However, now that I looked at the plugin, I believe it should best be merged with the entrypaging plugin. this one does a much better job on deducing the next entry (by date, not by ID)...
Regards,
Garvin
I've patched the plugin.
you can download this file and replace your current /plugins/serendipity_event_linktoolbar/serendipity_event_linktoolbar.php file with it:
http://php-blog.cvs.sourceforge.net/vie ... vision=1.7
(Judebert:) However, now that I looked at the plugin, I believe it should best be merged with the entrypaging plugin. this one does a much better job on deducing the next entry (by date, not by ID)...
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/
# 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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Regards,
Garvin
Internally, they boil down to the same thing. But using "%" as the sprintf modifiere imposes too many problem, so I've resorted on customt okens.Do you see any performance differences between str_replace and sprintf?
If you have that time, of course it would be much appreciated. It's not that big of a thing,so don't let your family down because if it *g*I hope to be able to contribute again in a week or two. (I'm swamped with family, job, and volunteer work right now.) I'll add this to my issues in SourceForge.
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/
# 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/