Spartacus/Add Event Plugins -- GONE!

Found a bug? Tell us!!
Post Reply
clafferty
Regular
Posts: 43
Joined: Tue Jul 18, 2006 8:47 pm

Spartacus/Add Event Plugins -- GONE!

Post by clafferty »

:shock:

i downloaded a plugin from these forums (the one that allows your sidebar items to collapse), and copied it into my plugin directory. when i went to the manage plugins screen, the new plugin was not listed.

i thought maybe i needed to add it, so i hit 'add new event plugin.' but when i clicked 'add' it gave a message about successfully accessing a xml file... and then nothing happened. i figured that was a spartacus thing, so i thought if i removed spartacus, i could at least play with the ones i already had installed. so i removed spartacus...

now i can't add it back. when i hit 'add new event plugin', it takes me to the next screen... but the content area is blank. no error message, no list of plugins, nothing.

sidebar plugins work fine.



i searched around the forums and found some mentions of things kind of like this, but not exactly. for reference...

serendipity 1.0
max memory for a script in the php.ini file is 16megs




here is the list of plugins from my serendipity_plugins table.

@serendipity_calendar_plugin:13c11ba3f2700e700344c507ea8efb39 left 3 0
@serendipity_quicksearch_plugin:95f1ad5604b9262adc25ae0123d99cd2 left 5 0

@serendipity_archives_plugin:109390e3e088e3c50e2935f0863ea762 left 4 0
@serendipity_syndication_plugin:5eb8e10540ebcf0916249c5d2cd7f20b left 9 0

@serendipity_superuser_plugin:cfcc404a47122275b17df0d8f3702424 left 10 0
serendipity_event_s9ymarkup:923b48e98660e1a4e8a105be48731fa8 event 0 0

serendipity_event_emoticate:1f9aa772d36aba4daff68ae63b52cbae event 1 0
@serendipity_html_nugget_plugin:f27fe33c16baebe905d9b5571b6afad7 left 8 0
serendipity_event_browsercompatibility:640260fd45a56be933dbe219911f675e event 2 0

serendipity_event_spamblock:1de04e31fd80019ace7a110cf9365630 event 3 0
@serendipity_html_nugget_plugin:655a6e92b6cbc87bd8800604c519f981 left 7 0

serendipity_event_mymood:dbf65e67da85a2ac0cafe00d1130327f event 5 0 serendipity_event_mymood

serendipity_event_statistics:1943028f50a683b7baa8c3f81165edbe event 6 0 serendipity_event_statistics

serendipity_plugin_statistics:8e3378e2346d5bb012b1527a2ad6673f left 2 0 serendipity_event_statistics

serendipity_plugin_comments:91767fe223d68aa7b95724a0332477ef left 6 0 serendipity_plugin_comments

serendipity_event_bbcode:8b6f27f3cd9d51c47e33699d40e290f5 event 16 0 serendipity_event_bbcode
serendipity_event_commentsearch:69581547e9a4cdbe24322f55a2f002c6 event 10 0 serendipity_event_commentsearch
serendipity_event_entryproperties:894328963bff6236b618014215523fd9 event 20 0 serendipity_event_entryproperties

serendipity_event_nl2br:02fc6efbcaac519a4dcdf787132f8967 event 19 0 serendipity_event_nl2br




thanks in advance. :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Spartacus/Add Event Plugins -- GONE!

Post by garvinhicking »

Hi!

An empty screen usually means that a PHP Parse Error has occured.

It might very well be that the plugin you downloaded contained a PHP parse error which is responsible for the script failure. Can you check your PHP Error logs, or temporarily remove your sidebarhider plugin again?

Also, how many plugin files do you have in your directory? If you have too many, it might exceed your limit of 16MB...

Best 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/
clafferty
Regular
Posts: 43
Joined: Tue Jul 18, 2006 8:47 pm

Re: Spartacus/Add Event Plugins -- GONE!

Post by clafferty »

the first thing i tried was removing the new plugin... to no effect.

i just now deleted ALL of my plugins (except for the few that won't let me due to priviledges). this also had no effect.

:(

i could probably re-insert spartacus directly into the table if i knew what that long string of seemingly random characters was that follows the plugin name -- that'd be a step in the right direction, altho i know that spartacus still won't work -- it will at least give me an error i can tell you.

here are some screenshots that probably won't help... but maybe. :)

http://www.cyberschnauzer.com/help/events.jpg
http://www.cyberschnauzer.com/help/eventslist.jpg
http://www.cyberschnauzer.com/help/plugins.jpg
http://www.cyberschnauzer.com/help/sidebarlist.jpg
garvinhicking wrote:Hi!

An empty screen usually means that a PHP Parse Error has occured.

It might very well be that the plugin you downloaded contained a PHP parse error which is responsible for the script failure. Can you check your PHP Error logs, or temporarily remove your sidebarhider plugin again?

Also, how many plugin files do you have in your directory? If you have too many, it might exceed your limit of 16MB...

Best regards,
Garvin
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Spartacus/Add Event Plugins -- GONE!

Post by garvinhicking »

Hi!

On this page:

http://www.cyberschnauzer.com/help/events.jpg

can you try to view the HTML source of that page? And see where it stops? Maybe there's an error message?

I am really sure that one of your PHP files in the plugins/ directory contains a PHP parse error. Do you have SSH access to your machine? There you could easily try to see which PHP files generate a parse error.

The harder, manual way is to call each .php file in your browser via http://yourdomain/plugin/serendipity_ev ... mblock.php (and other file names) and see if you got a fatal error.

Another try would be to edit your .htaccess file and set

Code: Select all

php_value display_errors on
php_value error_reporting E_ALL
to make the PHP errors appear?

Best 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/
clafferty
Regular
Posts: 43
Joined: Tue Jul 18, 2006 8:47 pm

Re: Spartacus/Add Event Plugins -- GONE!

Post by clafferty »

i tried viewing the HTML on that page... it stops after...

<td class="serendipityAdminContent">
<h2>Event Plugins</h2>
<br />


not even a close html tag.

seems odd... looking into your other suggestions now. thanks!
clafferty
Regular
Posts: 43
Joined: Tue Jul 18, 2006 8:47 pm

Re: Spartacus/Add Event Plugins -- GONE!

Post by clafferty »

1. i added those two lines to my .htaccess file. no effect.

2. i went through every plugin, accessing the php file directly... every one gave me a blank page, no error messages.

3. i do have SSH access -- but have no idea what to do once i'm inside. :) i'm a bit clueless on the server side of things... but my sysadmin is a close friend and can probably do anything i ask.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Spartacus/Add Event Plugins -- GONE!

Post by garvinhicking »

Hi!

As it seems, you can't get your PHP to display error messages; thus the suggestion to call up PHP files might have no effect. :(

Code: Select all

3.  i do have SSH access -- but have no idea what to do once i'm inside.  :)  i'm a bit clueless on the server side of things...  but my sysadmin is a close friend and can probably do anything i ask.
That would be perfect! Just do this:

Code: Select all

cd /path/to/your/serendipity
cd plugins
find -name \*.php -exec php -l {} \; | less
This will first go to your s9y directory; the last line will find all files that end with ".php" and execute a PHP check ("-l" means "syntax only") on each file. Then you should get an error report on one of those files!

Best 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/
clafferty
Regular
Posts: 43
Joined: Tue Jul 18, 2006 8:47 pm

Re: Spartacus/Add Event Plugins -- GONE!

Post by clafferty »

garvinhicking wrote:Hi!

Code: Select all

cd /path/to/your/serendipity
cd plugins
find -name \*.php -exec php -l {} \; | less
This will first go to your s9y directory; the last line will find all files that end with ".php" and execute a PHP check ("-l" means "syntax only") on each file. Then you should get an error report on one of those files!
i ran that list line from my plugins directory as you said...

and i just get a whole screen filled with "Error in arugment 1, chaa 2: option not found 1"

if i hit enter, it stops and says

"-n No php.ini file will be used"
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Spartacus/Add Event Plugins -- GONE!

Post by garvinhicking »

Hi!

Uhm, that sounds strange. Maybe now is the time to contact that sysadmin friend of yours :)

Best 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/
clafferty
Regular
Posts: 43
Joined: Tue Jul 18, 2006 8:47 pm

Re: Spartacus/Add Event Plugins -- GONE!

Post by clafferty »

actually, i thought your L was a 1... so i redid it.

it went through them all -- no syntax errors found.


garvinhicking wrote:Hi!

Uhm, that sounds strange. Maybe now is the time to contact that sysadmin friend of yours :)

Best regards,
Garvin
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Spartacus/Add Event Plugins -- GONE!

Post by garvinhicking »

Hi!

Oh, that's really bad. Then it must be running out of memory somehow. Please try to move all plugins outside of your directory apart from the ones you have installed.

You can regain permissions on all plugin directories by using:

Code: Select all

chown -R 777 plugins/*
via SSH in your serendipity directory; this will set all subdirs to 777, and then you can move them around. Later you might want to change permissions again using FTP or whatever you're familiar with?

Also it would help if your provider could enable to show PHP errors on your page; there must be some kind of "Fatal Error: Memory size exceeded" entry in your errorlog...

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/
clafferty
Regular
Posts: 43
Joined: Tue Jul 18, 2006 8:47 pm

Re: Spartacus/Add Event Plugins -- GONE!

Post by clafferty »

eureka!

i have made some progress.

i deleted and re-added all my plugins one by one... and finally found the culprit.

serendipity_event_entryproperties

so, if i leave that one out of the directory... all works fine. however, i kind of like that one. i thought perhaps it got corrupt or something, so i went to re-add it... but i can't find it anywhere. it's not in my active list... and i don't see it on spartacus anywhere.

thoughts?
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

As I recall, entryproperties is one of the "core" plugins. It's not retrievable via Spartacus, since it only comes with the main distribution.

You could download the latest release of your version and extract just that file; or you could just upgrade everything at once.
Judebert
---
Website | Wishlist | PayPal
clafferty
Regular
Posts: 43
Joined: Tue Jul 18, 2006 8:47 pm

Post by clafferty »

judebert wrote:As I recall, entryproperties is one of the "core" plugins. It's not retrievable via Spartacus, since it only comes with the main distribution.

You could download the latest release of your version and extract just that file; or you could just upgrade everything at once.
downloading and reinstalling it did the trick... no more errors.

no clue why that would have happened... it always worked before, and i haven't modified it.

regardless... it's working. i am pleased. thanks for your help and quick replies. :D
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Glad you figured it out, it must have taken some time. :) Sadly I also don'T know what might have corrupted that file! But I'm glad you found it out, and hope you'll have fun with Serendipity :)

Best 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/
Post Reply