Welcome to Geeklog, Anonymous Wednesday, May 15 2024 @ 04:13 pm EDT

Geeklog Forums

Odd fatal error


Status: offline

trampoline

Forum User
Full Member
Registered: 02/24/06
Posts: 392
I keep getting this odd fatal error, any idea's, it is intermitant.
I have disabled all plugins and it still happens...
Text Formatted Code
An error has occurred:
2 - Invalid argument supplied for foreach() @ /Library/WebServer/lightspace/Documents/lib-common.php line 4716

array(4) {
  ["listofitems"]=>
  NULL
  ["classname"]=>
  string(9) "list-feed"
  ["_CONF"]=>
  &array(170) {
    ["path"]=>
    string(38) "/Library/WebServer/lightspace/geeklog/"
    ["path_html"]=>
    string(40) "/Library/WebServer/lightspace/Documents/"
    ["site_url"]=>
    string(26) "http://www.tibetcustom.com"
    ["site_admin_url"]=>
    string(32) "http://www.tibetcustom.com/admin"
    ["site_mail"]=>
    string(22) "*******@tibetcustom.com"
    ["site_name"]=>
    string(44) "Tibet Custom - Tibetan Culture & News Online"
    ["path_system"]=>
    string(45) "/Library/WebServer/lightspace/geeklog/system/"
    ["path_log"]=>
    string(43) "/Library/WebServer/lightspace/geeklog/logs/"
    ["path_language"]=>
    string(47) "/Library/WebServer/lightspace/geeklog/language/"
    ["backup_path"]=>
    string(46) "/Library/WebServer/lightspace/geeklog/backups/"
    ["path_data"]=>
    string(43) "/Library/WebServer/lightspace/geeklog/data/"
    ["path_images"]=>
    string(47) "/Library/WebServer/lightspace/Documents/images/"
    ["have_pear"]=>
    bool(false)
    ["path_pear"]=>
    string(50) "/Library/WebServer/lightspace/geeklog/system/pear/"
    ["mail_settings"]=>
    array(8) {
      ["backend"]=>
      string(4) "smtp"
      ["sendmail_path"]=>
      string(17) "/usr/bin/sendmail"
      ["sendmail_args"]=>
      string(0) ""
      ["host"]=>
      string(13) "***IP Address****"
      ["port"]=>
      string(2) "25"
      ["auth"]=>
      bool(true)
      ["username"]=>
      string(6) "***user****"
      ["password"]=>
      string(9) "***password***"
    }
    ["allow_mysqldump"]=>
    int(1)
    ["mysqldump_options"]=>
    string(2) "-Q"
    ["theme"]=>
    string(12) "professional"
    ["menu_elements"]=>
    array(2) {
      [0]=>
      string(9) "directory"
      [1]=>
      string(7) "plugins"
    }
    ["layout_url"]=>
    string(46) "http://www.tibetcustom.com/layout/professional"
    ["path_themes"]=>
    string(47) "/Library/WebServer/lightspace/Documents/layout/"
    ["path_layout"]=>
    string(60) "/Library/WebServer/lightspace/Documents/layout/professional/"
    ["disable_new_user_registration"]=>
    bool(false)
    ["allow_user_themes"]=>
    int(1)
    ["allow_user_language"]=>
    int(1)
    ["allow_user_photo"]=>
    int(1)
    ["allow_username_change"]=>
    int(0)
    ["allow_account_delete"]=>
    int(0)
    ["hide_author_exclusion"]=>
    int(1)
    ["show_fullname"]=>
    int(0)
    ["show_servicename"]=>
    bool(true)
    ["custom_registration"]=>
    bool(false)
    ["remoteauthentication"]=>
    bool(false)
    ["spamx"]=>
    int(128)
    ["sort_admin"]=>
    bool(true)
    ["language"]=>
    string(13) "english_utf-8"
    ["default_charset"]=>
    string(5) "utf-8"
    ["locale"]=>
    string(5) "en_GB"
    ["date"]=>
    string(26) "%A, %B %d %Y @ %I:%M %p %Z"
    ["daytime"]=>
    string(13) "%m/%d %I:%M%p"
    ["shortdate"]=>
    string(2) "%x"
    ["dateonly"]=>
    string(5) "%d-%b"
    ["timeonly"]=>
    string(7) "%I:%M%p"
    ["week_start"]=>
    string(3) "Sun"
    ["hour_mode"]=>
    int(24)
    ["thousand_separator"]=>
    string(1) ","
    ["decimal_separator"]=>
    string(1) "."
    ["decimal_count"]=>
    string(1) "2"
    ["site_enabled"]=>
    bool(true)
    ["site_disabled_msg"]=>
    string(44) "Geeklog Site is down. Please come back soon."
    ["rootdebug"]=>
    bool(false)
    ["cookie_session"]=>
    string(10) "gl_session"
    ["cookie_name"]=>
    string(7) "geeklog"
    ["cookie_password"]=>
    string(8) "password"
    ["cookie_theme"]=>
    string(5) "theme"
    ["cookie_language"]=>
    string(8) "language"
    ["cookie_ip"]=>
    int(0)
    ["default_perm_cookie_timeout"]=>
    int(28800)
    ["session_cookie_timeout"]=>
    int(7200)
    ["cookie_path"]=>
    string(1) "/"
    ["cookiedomain"]=>
    string(16) ".tibetcustom.com"
    ["cookiesecure"]=>
    int(0)
    ["lastlogin"]=>
    bool(true)
    ["ostype"]=>
    string(6) "Darwin"
    ["pdf_enabled"]=>
    int(0)
    ["num_search_results"]=>
    int(10)
    ["loginrequired"]=>
    int(0)
    ["submitloginrequired"]=>
    int(1)
    ["commentsloginrequired"]=>
    int(1)
    ["statsloginrequired"]=>
    int(1)
    ["searchloginrequired"]=>
    int(0)
    ["profileloginrequired"]=>
    int(1)
    ["emailuserloginrequired"]=>
    int(0)
    ["emailstoryloginrequired"]=>
    int(1)
    ["directoryloginrequired"]=>
    int(1)
    ["storysubmission"]=>
    int(1)
    ["usersubmission"]=>
    int(0)
    ["listdraftstories"]=>
    int(0)
    ["notification"]=>
    array(3) {
      [0]=>
      string(5) "story"
      [1]=>
      string(7) "comment"
      [2]=>
      string(4) "user"
    }
    ["postmode"]=>
    string(4) "html"
    ["speedlimit"]=>
    int(45)
    ["skip_preview"]=>
    int(1)
    ["advanced_editor"]=>
    bool(true)
    ["cron_schedule_interval"]=>
    int(86400)
    ["sortmethod"]=>
    string(7) "sortnum"
    ["showstorycount"]=>
    int(0)
    ["showsubmissioncount"]=>
    int(0)
    ["hide_home_link"]=>
    int(1)
    ["whosonline_threshold"]=>
    int(300)
    ["whosonline_anonymous"]=>
    int(1)
    ["emailstories"]=>
    int(0)
    ["emailstorieslength"]=>
    int(1)
    ["emailstoriesperdefault"]=>
    int(0)
    ["allow_domains"]=>
    string(0) ""
    ["disallow_domains"]=>
    string(0) ""
    ["newstoriesinterval"]=>
    int(216000)
    ["newcommentsinterval"]=>
    int(172800)
    ["newtrackbackinterval"]=>
    int(172800)
    ["hidenewstories"]=>
    int(0)
    ["hidenewcomments"]=>
    int(0)
    ["hidenewtrackbacks"]=>
    int(1)
    ["hidenewplugins"]=>
    int(0)
    ["title_trim_length"]=>
    int(20)
    ["trackback_enabled"]=>
    bool(true)
    ["pingback_enabled"]=>
    bool(true)
    ["ping_enabled"]=>
    bool(true)
    ["trackback_code"]=>
    int(-1)
    ["multiple_trackbacks"]=>
    int(0)
    ["trackbackspeedlimit"]=>
    int(300)
    ["check_trackback_link"]=>
    int(2)
    ["pingback_self"]=>
    int(0)
    ["link_documentation"]=>
    int(1)
    ["maximagesperarticle"]=>
    int(5)
    ["limitnews"]=>
    int(7)
    ["minnews"]=>
    int(1)
    ["contributedbyline"]=>
    int(0)
    ["hideviewscount"]=>
    int(0)
    ["hideemailicon"]=>
    int(1)
    ["hideprintericon"]=>
    int(0)
    ["allow_page_breaks"]=>
    int(1)
    ["page_break_comments"]=>
    string(4) "last"
    ["article_image_align"]=>
    string(5) "right"
    ["show_topic_icon"]=>
    int(0)
    ["draft_flag"]=>
    int(0)
    ["frontpage"]=>
    int(1)
    ["hide_no_news_msg"]=>
    int(1)
    ["hide_main_page_navigation"]=>
    int(0)
    ["onlyrootfeatures"]=>
    int(0)
    ["show_right_blocks"]=>
    bool(false)
    ["showfirstasfeatured"]=>
    int(0)
    ["left_blocks_in_footer"]=>
    int(0)
    ["backend"]=>
    int(1)
    ["rdf_file"]=>
    string(63) "/Library/WebServer/lightspace/Documents/backend/tibetcustom.rss"
    ["rdf_limit"]=>
    int(10)
    ["rdf_storytext"]=>
    int(1)
    ["rdf_language"]=>
    string(5) "en-gb"
    ["syndication_max_headlines"]=>
    int(0)
    ["image_lib"]=>
    string(11) "imagemagick"
    ["path_to_mogrify"]=>
    string(22) "/usr/local/bin/mogrify"
    ["keep_unscaled_image"]=>
    int(1)
    ["allow_user_scaling"]=>
    int(1)
    ["max_image_width"]=>
    int(160)
    ["max_image_height"]=>
    int(120)
    ["max_image_size"]=>
    int(1048576)
    ["max_topicicon_width"]=>
    int(48)
    ["max_topicicon_height"]=>
    int(48)
    ["max_topicicon_size"]=>
    int(65536)
    ["max_photo_width"]=>
    int(128)
    ["max_photo_height"]=>
    int(128)
    ["max_photo_size"]=>
    int(65536)
    ["use_gravatar"]=>
    bool(true)
    ["commentspeedlimit"]=>
    int(45)
    ["comment_limit"]=>
    int(100)
    ["comment_mode"]=>
    string(8) "threaded"
    ["comment_code"]=>
    int(0)
    ["passwordspeedlimit"]=>
    int(300)
    ["login_attempts"]=>
    int(5)
    ["login_speedlimit"]=>
    int(300)
    ["user_html"]=>
    array(14) {
      ["p"]=>
      array(0) {
      }
      ["b"]=>
      array(0) {
      }
      ["strong"]=>
      array(0) {
      }
      ["i"]=>
      array(0) {
      }
      ["a"]=>
      array(3) {
        ["href"]=>
        int(1)
        ["title"]=>
        int(1)
        ["rel"]=>
        int(1)
      }
      ["em"]=>
      array(0) {
      }
      ["br"]=>
      array(0) {
      }
      ["tt"]=>
      array(0) {
      }
      ["hr"]=>
      array(0) {
      }
      ["li"]=>
      array(0) {
      }
      ["ol"]=>
      array(0) {
      }
      ["ul"]=>
      array(0) {
      }
      ["code"]=>
      array(0) {
      }
      ["pre"]=>
      array(0) {
      }
    }
    ["admin_html"]=>
    array(15) {
      ["p"]=>
      array(3) {
        ["class"]=>
        int(1)
        ["id"]=>
        int(1)
        ["align"]=>
        int(1)
      }
      ["div"]=>
      array(2) {
        ["class"]=>
        int(1)
        ["id"]=>
        int(1)
      }
      ["span"]=>
      array(2) {
        ["class"]=>
        int(1)
        ["id"]=>
        int(1)
      }
      ["table"]=>
      array(8) {
        ["class"]=>
        int(1)
        ["id"]=>
        int(1)
        ["style"]=>
        int(1)
        ["align"]=>
        int(1)
        ["width"]=>
        int(1)
        ["border"]=>
        int(1)
        ["cellspacing"]=>
        int(1)
        ["cellpadding"]=>
        int(1)
      }
      ["tr"]=>
      array(4) {
        ["class"]=>
        int(1)
        ["id"]=>
        int(1)
        ["align"]=>
        int(1)
        ["valign"]=>
        int(1)
      }
      ["th"]=>
      array(6) {
        ["class"]=>
        int(1)
        ["id"]=>
        int(1)
        ["align"]=>
        int(1)
        ["valign"]=>
        int(1)
        ["colspan"]=>
        int(1)
        ["rowspan"]=>
        int(1)
      }
      ["td"]=>
      array(6) {
        ["class"]=>
        int(1)
        ["id"]=>
        int(1)
        ["align"]=>
        int(1)
        ["valign"]=>
        int(1)
        ["colspan"]=>
        int(1)
        ["rowspan"]=>
        int(1)
      }
      ["a"]=>
      array(7) {
        ["href"]=>
        int(1)
        ["title"]=>
        int(1)
        ["id"]=>
        int(1)
        ["lang"]=>
        int(1)
        ["name"]=>
        int(1)
        ["type"]=>
        int(1)
        ["rel"]=>
        int(1)
      }
      ["hr"]=>
      array(1) {
        ["style"]=>
        int(1)
      }
      ["ol"]=>
      array(1) {
        ["style"]=>
        int(1)
      }
      ["ul"]=>
      array(1) {
        ["style"]=>
        int(1)
      }
      ["caption"]=>
      array(0) {
      }
      ["tbody"]=>
      array(0) {
      }
      ["img"]=>
      array(14) {
        ["src"]=>
        int(1)
        ["width"]=>
        int(1)
        ["height"]=>
        int(1)
        ["vspace"]=>
        int(1)
        ["hspace"]=>
        int(1)
        ["dir"]=>
        int(1)
        ["align"]=>
        int(1)
        ["valign"]=>
        int(1)
        ["border"]=>
        int(1)
        ["lang"]=>
        int(1)
        ["longdesc"]=>
        int(1)
        ["title"]=>
        int(1)
        ["id"]=>
        int(1)
        ["alt"]=>
        int(1)
      }
      ["font"]=>
      array(3) {
        ["face"]=>
        int(1)
        ["size"]=>
        int(1)
        ["style"]=>
        int(1)
      }
    }
    ["skip_html_filter_for_root"]=>
    int(0)
    ["allowed_protocols"]=>
    array(3) {
      [0]=>
      string(4) "http"
      [1]=>
      string(5) "https"
      [2]=>
      string(3) "ftp"
    }
    ["disable_autolinks"]=>
    int(0)
    ["censormode"]=>
    int(1)
    ["censorreplace"]=>
    string(10) "*censored*"
    ["censorlist"]=>
    array(14) {
      [0]=>
      string(4) "*censored*"
      [1]=>
      string(4) "*censored*"
      [2]=>
      string(6) "*censored*er"
      [3]=>
      string(7) "*censored*ing"
      [4]=>
      string(5) "*censored*"
      [5]=>
      string(4) "*censored*"
      [6]=>
      string(4) "*censored*"
      [7]=>
      string(5) "*censored*"
      [8]=>
      string(4) "*censored*"
      [9]=>
      string(4) "*censored*"
      [10]=>
      string(5) "*censored*"
      [11]=>
      string(3) "*censored*"
      [12]=>
      string(6) "*censored*ing"
      [13]=>
      string(12) "mother*censored*er"
    }
    ["url_rewrite"]=>
    string(2) "on"
    ["default_permissions_block"]=>
    array(4) {
      [0]=>
      int(3)
      [1]=>
      int(2)
      [2]=>
      int(2)
      [3]=>
      int(2)
    }
    ["default_permissions_story"]=>
    array(4) {
      [0]=>
      int(3)
      [1]=>
      int(2)
      [2]=>
      int(2)
      [3]=>
      int(2)
    }
    ["default_permissions_topic"]=>
    array(4) {
      [0]=>
      int(3)
      [1]=>
      int(2)
      [2]=>
      int(2)
      [3]=>
      int(2)
    }
  }
  ["list"]=>
  object(Template)#23 (9) {
    ["classname"]=>
    string(8) "Template"
    ["debug"]=>
    bool(false)
    ["root"]=>
    string(59) "/Library/WebServer/lightspace/Documents/layout/professional"
    ["file"]=>
    array(2) {
      ["list"]=>
      string(70) "/Library/WebServer/lightspace/Documents/layout/professional/list.thtml"
      ["listitem"]=>
      string(74) "/Library/WebServer/lightspace/Documents/layout/professional/listitem.thtml"
    }
    ["varkeys"]=>
    array(4) {
      ["site_url"]=>
      string(14) "/\{site_url\}/"
      ["layout_url"]=>
      string(16) "/\{layout_url\}/"
      ["list_class"]=>
      string(16) "/\{list_class\}/"
      ["list_class_name"]=>
      string(21) "/\{list_class_name\}/"
    }
    ["varvals"]=>
    array(4) {
      ["site_url"]=>
      string(26) "http://www.tibetcustom.com"
      ["layout_url"]=>
      string(46) "http://www.tibetcustom.com/layout/professional"
      ["list_class"]=>
      string(17) "class="list-feed""
      ["list_class_name"]=>
      string(9) "list-feed"
    }
    ["unknowns"]=>
    string(6) "remove"
    ["halt_on_error"]=>
    string(3) "yes"
    ["last_error"]=>
    string(0) ""
  }
}
 
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Which Geeklog version is that?

bye, Dirk
 Quote

Status: offline

trampoline

Forum User
Full Member
Registered: 02/24/06
Posts: 392
Latest
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Doesn't match, that's why I'm asking. Line 4716 in lib-common.php would be in the middle of function COM_getMinuteFormOptions() but there's no foreach anyway near ...

bye, Dirk
 Quote

Status: offline

Dazzy

Forum User
Full Member
Registered: 07/19/03
Posts: 200
Location:N. Ireland
You could try making a backup of your lib-common.php and re-upload a fresh one from 1.4.1 geeklog directory. This file should not change between Geeklog Updates unless you have applied various hacks.

By any chance has any of your plugins required code to be added to lib-custom.php and it's was added to lib-common.php instead?


Dazzy
 Quote

Status: offline

trampoline

Forum User
Full Member
Registered: 02/24/06
Posts: 392
I'll look
 Quote

All times are EDT. The time is now 04:13 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