Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 07:27 pm EDT

Geeklog Forums

lib-plugins.php problem


Epic

Anonymous
http://www.epicreviews.com/site

This just happened completely out of nowhere. I got home from work and there it was.

Help!
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
that doesn't seem very logical does it?
first try disabling any plugins that may want to display as a centerblock. You will have to do this from your mySQL interface.
your other pages are accessible tho.. users.php, forum, etc. just not any page of your index.php&topic= pages where a plugin centerblock is being displayed. so it seems to me..
 Quote

mach

Anonymous
seems, upon further investigation, that it isn't just a plugin problem..
the PHP function array() isn't being evaluated on other pages as well..

just returning the text "array" where an array of values should be returned.
so, i'm stumped--sorry. maybe your server/host changed some value.

for example, check out your article pages.. in the what's related and more from blocks, all that shows is "array"
 Quote

mach

Anonymous
looks like you have a bit of a comment spam problem as well... Shocked
 Quote

Epic

Anonymous
Is it possible I was hacked?

I'm still not sure what to do. Shocked
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
just so everybody who is reading this thread is clear on what's going on.. the error message being returned is:
Fatal error: Call to undefined function: array() in /home/epicrevi/public_html/site/system/lib-plugins.php on line 634

Try this (no guarantees and backup your file first)--change lines 633-39 from
Text Formatted Code

    foreach ($PLG_bufferCenterAPI as $function) {
        $retval .= $function ($where, $page, $topic);

        if (($where == 0) && !empty ($retval)) {
            break;
        }
    }


 
to this
Text Formatted Code
    if(is_array($PLG_bufferCenterAPI){
        foreach ($PLG_bufferCenterAPI as $function) {
            $retval .= $function ($where, $page, $topic);

            if (($where == 0) && !empty ($retval)) {
                break;
            }
        }
    }

 
just a hunch based on another post, but you never know...
if that doesn't work, or worse, if it breaks everything Wink then you should put it back the way it was and try disabling your plugins one at a time hoping that it is just one of them that is the culprit.

hope that helps
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Someone just submitted their Geeklog site as a new link on geeklog.info, but when I try to call up that site, I get the same error message as cited above.

My current theory is that hosting services are busy upgrading PHP (because of the new vulnerabilities published today) and some of them are switching to PHP 5 in the process and that may cause some old (pre-1.3.9sr2) installs to break ...

bye, Dirk
 Quote

Epic

Anonymous
It seems to have fixed itself.... Confused
 Quote

All times are EDT. The time is now 07:27 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content