I upgraded my .7 version and all went quite well. But when I to the configure plugins section, the screen was messed up at the top:
Select the plugin which you wish to install
his->title); $propbag->add('name', PLUGIN_TEMPLATEDROPDOWN_NAME); $propbag->add('description', PLUGIN_TEMPLATEDROPDOWN_DESC); $propbag->add('stackable', false); $propbag->add('author', 'Evan Nemerson'); $propbag->add('version', '1.0'); $propbag->add('requirements', array( 'serendipity' => '0.8', 'smarty' => '2.6.7', 'php' => '4.1.0' )); $propbag->add('configuration', array('title', 'show_submit')); // Register (multiple) dependencies. KEY is the name of the depending plugin. VALUE is a mode of either 'remove' or 'keep'. // If the mode 'remove' is set, removing the plugin results in a removal of the depending plugin. 'Keep' meens to // not touch the depending plugin. $this->dependencies = array('serendipity_event_templatechooser' => 'remove'); } function introspect_config_item($name, &$propbag) { switch($name) { case 'title': $propbag->add('type', 'string'); $propbag->add('name', TITLE); $propbag->add('description', TITLE); $propbag->add('default', ''); break; case 'show_submit': $propbag->add('type', 'boolean'); $propbag->add('name', PLUGIN_TEMPLATEDROPDOWN_SUBMIT); $propbag->add('description', PLUGIN_TEMPLATEDROPDOWN_SUBMIT_DESC); $propbag->add('default', 'false'); break; default: return false; } return true; } function generate_content(&$title) { global $serendipity; $title = $this->get_config('title', $this->title); $url = serendipity_currentURL(); echo ''; echo ''; if ($this->get_config('show_submit', 'false') == 'true') { echo ''; } echo ''; } } /* vim: set sts=4 ts=4 expandtab : */ ?> Error: serendipity_plugin_templatedropdown
Any suggestions?
Error on plugin page after upgrade from .70 to .08 (beta 6)
-
Dr. Loveless
- Regular
- Posts: 7
- Joined: Tue Apr 12, 2005 7:49 pm
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Error on plugin page after upgrade from .70 to .08 (beta
This looks like you got a corrupted tarball or uncompress it wrongly, or your Server coredumped and did not properly interpret PHP code!
Regards,
Garvin
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/
-
Dr. Loveless
- Regular
- Posts: 7
- Joined: Tue Apr 12, 2005 7:49 pm
Any suggestions on how to fix it?
Can I just unpack the file from a fresh download and upload it to the site?
Which file would it be?
Thanks!
Which file would it be?
Thanks!
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Any suggestions on how to fix it?
You should best download the whole tarball and extract all files again.
I cannot make it which or if it just affects a single file, but in any case there's either corrupted files on your server or a malfunctioning server.
Regards,
Garvin
I cannot make it which or if it just affects a single file, but in any case there's either corrupted files on your server or a malfunctioning server.
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/