Installation Problem

Having trouble installing serendipity?
Post Reply
Doug

Installation Problem

Post by Doug »

Serendipity installation

Attemping to setup database...
Checking to see if the database is already in place. If you see a database query error here, ignore it... Done
Creating default database setup... Done
Done creating database
Attemping to write /home/httpd/vhosts/XXX.com/public_html/serendipity/.htaccess file...Done

Fatal error: Call to a member function on a non-object in /home/httpd/vhosts/XXX.com/public_html/serendipity/serendipity_plugin_api.php on line 79

--------------------------

I don't understand what this means.

Line #79 is $plugin->introspect($bag);

I diownloaded the latest version just this morning (0.7.1)

Any help would be greatly appreciated!! Thank you.

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

Re: Installation Problem

Post by garvinhicking »

Hm, this is strange. Did you re-install Serendipity over an older installation?

Can you please edit your serendipity_plugin_api.php file, go to line 79 and change the code to this:

Code: Select all

        /* Check for multiple dependencies */
echo 'LOADING Plugin ' . $key . '...<br />';
        $plugin =& serendipity_plugin_api::load_plugin($key);
echo 'Plugin: ' . print_r($plugin, true) . '<br />';
        $bag    = new serendipity_property_bag;
        $plugin->introspect($bag);
        $plugin->register_dependencies(false, $authorid);
(note the two echo's)

Then please try to install again and tell what happens?

It may also be that you can already access your installation, since the part where it fails is only the part where the plugins are installed...

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/
Doug

Post by Doug »

hi Garvin,

Thank you for the reply!

I modified the code as you said and I get a bunch of stuff. I will post below. Also, I cannot access the program as everytime I do it says that serendipity is not installed.


Serendipity installation
Serendipity installation

Attemping to setup database...
Checking to see if the database is already in place. If you see a database query error here, ignore it... Done
Creating default database setup... Done
Done creating database
Attemping to write /home/httpd/vhosts/desatnik.com/httpdocs/serendipity/.htaccess file...Done
LOADING Plugin @serendipity_calendar_plugin:c038fd0700148c7031df001b6e7526e6...

Warning: Wrong parameter count for print_r() in /home/httpd/vhosts/desatnik.com/httpdocs/serendipity/serendipity_plugin_api.php on line 79
Plugin:
LOADING Plugin @serendipity_quicksearch_plugin:37374c4077b8f629fe86888c32f5e597...

Warning: Wrong parameter count for print_r() in /home/httpd/vhosts/desatnik.com/httpdocs/serendipity/serendipity_plugin_api.php on line 79
Plugin:
LOADING Plugin @serendipity_archives_plugin:3b82c84889bc9105f60853154c2e4f5c...

Warning: Wrong parameter count for print_r() in /home/httpd/vhosts/desatnik.com/httpdocs/serendipity/serendipity_plugin_api.php on line 79
Plugin:
LOADING Plugin @serendipity_topreferrers_plugin:8db85b35a21c27d8a1ce1234f699283e...

Warning: Wrong parameter count for print_r() in /home/httpd/vhosts/desatnik.com/httpdocs/serendipity/serendipity_plugin_api.php on line 79
Plugin:
LOADING Plugin @serendipity_topexits_plugin:894f183ff20ee23f51955ea4e558fdcb...

Warning: Wrong parameter count for print_r() in /home/httpd/vhosts/desatnik.com/httpdocs/serendipity/serendipity_plugin_api.php on line 79
Plugin:
LOADING Plugin @serendipity_syndication_plugin:de17577ac4ff5d3a8e71960383a17638...

Warning: Wrong parameter count for print_r() in /home/httpd/vhosts/desatnik.com/httpdocs/serendipity/serendipity_plugin_api.php on line 79
Plugin:
LOADING Plugin @serendipity_superuser_plugin:203c592eda4442badd381da74de91124...

Warning: Wrong parameter count for print_r() in /home/httpd/vhosts/desatnik.com/httpdocs/serendipity/serendipity_plugin_api.php on line 79
Plugin:
LOADING Plugin @serendipity_plug_plugin:4047563820eb7f3cd5cfc2fe2509d8dd...

Warning: Wrong parameter count for print_r() in /home/httpd/vhosts/desatnik.com/httpdocs/serendipity/serendipity_plugin_api.php on line 79
Plugin:
LOADING Plugin @serendipity_html_nugget_plugin:7bf7ff2b834e8e0bf40be56f78a188f3...

Warning: Wrong parameter count for print_r() in /home/httpd/vhosts/desatnik.com/httpdocs/serendipity/serendipity_plugin_api.php on line 79
Plugin:
LOADING Plugin @serendipity_categories_plugin:9e25bfb254918cabdd8a8e27ce3a10e0...

Warning: Wrong parameter count for print_r() in /home/httpd/vhosts/desatnik.com/httpdocs/serendipity/serendipity_plugin_api.php on line 79
Plugin:
LOADING Plugin serendipity_event_s9ymarkup:bef65ec6006f99b619d6b411f0f27574...

Warning: Wrong parameter count for print_r() in /home/httpd/vhosts/desatnik.com/httpdocs/serendipity/serendipity_plugin_api.php on line 79
Plugin:

Fatal error: Call to a member function on a non-object in /home/httpd/vhosts/desatnik.com/httpdocs/serendipity/serendipity_plugin_api.php on line 81
Doug

Post by Doug »

I downloaded and installed 0.7.0 instead and everything seems to work fine. Somethign with 0.7.1 though.......

Thanks for the help!
Post Reply