Fork me on GitHub

Failed to load module XYZ (at function: "main")  Bottom

  • Okay I have read through many threads in this forum dealing with the Failed to load module XYZ (at function: "main") problem, tried and checked a lot of stuff and still did not find any clue on how to solve this problem as somehow quite a few modules produce this error.

    - I have checked for modules/modules vs modules/Modules
    - I have checked the table for wrong settings
    - I have checked for linking errors for example [xyz] vs {xyz}

    but nada and even AlarContact which is ought to run does not run!

    Modules that I have confirmed to not run on my site are:

    zPersonals
    ToChat
    Flash_Chat
    xConvert
    AutoConvert
    AlarContact
    FriendFinder

    My Site is running .750 on linux with MySQL 4.0.15, running an AT theme at the moment.

    Looking into nuke_modules with in my mySQL:

    1 AvantGo 1 AvantGo News for your PDA 2 AvantGo 1.3 0 1 3
    5 Messages 1 Messages Private messages to users of this site 6 Messages 1.0 0 1 3
    11 Blocks 2 Blocks 13 Blocks 0 0 0 3
    23 News 1 News News items 7 News 1.3 0 1 3
    24 Recommend_Us 1 Recommend Us Recommend us to a friend 30 Recommend_Us 1.0 0 1 3
    26 Search 1 Search Search this site 32 Search 1.0 0 1 3
    28 Stats 1 Stats Site statistics 34 Stats 1.13 0 1 3
    33 Web_Links 1 Web Links Web Links Module 39 Web_Links 1.0 0 1 3
    35 Wiki 2 Wiki Wiki encoding 28 Wiki 1.0 0 0 3
    36 xmlrpc 2 xmlrpc XML-RPC utility module 42 xmlrpc 1.1 0 0 3
    37 legal 1 Legal Documents Generic Privacy Statement and Terms of Use 43 legal 1.0 0 1 3
    39 Credits 2 Credits Display Module credits, license, help and contact ... 0 Credits 1.1 0 1 3
    40 LostPassword 1 LostPassword Retrieve lost password of a user. 18 NS-LostPassword 0,5 0 0 3
    41 Multisites 1 Multisites 20 NS-Multisites 0 0 0 3
    42 NewUser 1 NewUser New User for postnuke. 21 NS-NewUser 0,5 0 0 3
    44 Your_Account 1 Your Account User options 0 NS-Your_Account 0.8 0 0 3
    60 RatedArticles 2 RatedArticles Display rated articles 0 RatedArticles 01 0 1 3
    207 NukeWrapper 2 NukeWrapper Wraps local and external pages in PostNuke site 0 NukeWrapper 2.7.2 beta 0 1 3
    226 pn_highlight 1 PN highlight highlight text portions 0 pn_highlight 1.01 0 0 1
    200 gallery 1 gallery 0 gallery 0 0 1 5
    249 coppermine 1 coppermine 0 coppermine 0 0 1 1
    253 ToChat 1 ToChat ToChat IRC Chat module www.dwebmaster.com 0 ToChat 1.3 0 1 1
    133 Join_Our_Staff 1 Join Our Staff Contact Module 0 Join_Our_Staff 1.1 0 1 3
    251 Flash_Chat 1 Flash Chat 0 Flash_Chat 0 0 1 1
    194 iLibrary 1 iLibrary 0 NS-iLibrary 0 0 0 3
    197 Members_List 2 Members List Members Listing Module 0 Members_List 1.1 0 1 3
    252 xConvert 1 xConvert 0 xConvert 0 0 0 1
    250 chat2 1 chat2 0 chat2 0 0 0 1
    248 mdGallery 1 mdGallery Photo and Movie gallery 0 mdGallery 1.5-md2 0 1 1
    106 Downloads 2 Downloads Downloads Module 3 Downloads 1.31 1 1 3
    3 FAQ 1 FAQ Frequently Asked Questions 4 FAQ 1.11 1 1 3
    6 AddStory 1 AddStory Add a story 8 NS-AddStory 1.0 1 0 3
    7 Admin 1 Admin Administration 9 NS-Admin 0.1 1 0 3
    8 Admin_Messages 1 Admin Messages Banner messages 10 NS-Admin_Messages 1.2 1 0 3
    9 Autolinks 2 Autolinks Automatically link keywords 11 Autolinks 1.01 1 0 3
    154 Banners 1 Banners Administer Banners on your site 12 NS-Banners 1.0 1 0 3
    12 Comments 1 Comments Comment on articles 14 NS-Comments 1.1 1 1 3
    13 Ephemerids 1 Ephemerids Daily events 15 NS-Ephemerids 1.2 1 0 3
    14 Groups 1 Groups Set up administrative groups 16 NS-Groups 0.1 1 0 3
    15 Languages 1 Languages Multi-language functions 17 NS-Languages 1.2 1 0 3
    16 MailUsers 1 MailUsers Mail all/Multiple/individual users on your site. C... 19 NS-MailUsers 1.5 1 0 3
    17 Modules 2 Modules Module configuration 1 Modules 2.0 1 0 3
    18 Permissions 2 Permissions Configure permissions 22 Permissions 0.4 1 0 3
    19 Polls 1 Polls Polls and surveys 23 NS-Polls 1.1 1 1 3
    20 Quotes 2 Quotes Quotes and sayings 24 Quotes 1.3 1 0 3
    21 Referers 1 Referers Referers 25 NS-Referers 1.2 1 0 3
    22 Settings 1 Settings Settings 26 NS-Settings 1.2 1 0 3
    25 Reviews 1 Reviews Reviews 31 Reviews 1.0 1 1 3
    27 Sections 1 Sections Sections 33 Sections 1.0 1 1 3
    29 Submit_News 1 Submit News Contribute a story 35 Submit_News 1.13 1 1 3
    30 Top_List 1 Top List Top 10 listings 38 Top_List 1.0 1 1 3
    31 Topics 1 Topics Article topics 37 Topics 1.0 1 1 3
    32 User 1 Users User Administration 27 NS-User 0.2 1 1 3
    34 Ratings 2 Ratings Ratings utility 41 Ratings 1.1 1 1 3
    38 Censor 2 Censor Site Censorship Control 0 Censor 1.0 1 0 3
    43 Past_Nuke 1 Past_Nuke Old Post-Nuke admin compatibility 0 NS-Past_Nuke 1.0 1 0 3
    45 Template 2 Template Template for new modules 0 Template 1.0 1 1 3
    108 Static_Docs 2 Static Docs Manage Static Content 0 Static_Docs 0.9.2 Beta 1 1 3
    47 Trouble_Tickets 2 Trouble Tickets Trouble Ticket Support System 0 Trouble_Tickets 0.4 1 1 3
    52 Picture_Upload 2 Bilder hochladen 0 Picture_Upload 1.8 1 1 3
    175 Vistra_Shoutbox 2 Vistra Shoutbox The best shoutbox for PostNuke! 0 Vistra_Shoutbox 1.35 1 1 3
    158 advanced_polls 2 advanced polls Advanced Polls Module 0 advanced_polls 1.51 1 1 3
    174 ProfilePlus 2 ProfilePlus Enhanced User Profile Module 0 ProfilePlus 1.01 1 1 3
    55 IPBan 2 IPBan Allows to ban users by username or ip 0 IPBan 0.4 1 1 3
    216 pnCPG 2 pnCPG Postnuke Coppermine Hack 0 pnCPG 2.7 1 1 3
    59 projects 2 projects Display your project progress to your users. 0 projects 0.5 1 1 3
    227 dq_helpdesk 2 dq helpdesk Full Featured Help Desk 0 dq_helpdesk 0.5.5 1 1 3
    221 pn_bbcode 2 PN bbcode bbcode Hook 0 pn_bbcode 1.16 1 1 3
    63 GuestBook 2 GuestBook Site and User Guestbook 0 GuestBook 0.1 1 1 3
    64 ContentExpress 2 ContentExpress Menus/Pages Management Module 0 ContentExpress 1.2.6.0 1 1 3
    219 mailbygroup 1 mailbygroup Mail users based upon their group membership. 0 mailbygroup 0.9 1 1 1
    214 hotornot 2 hotornot Hot or Not Modul 0 hotornot 1.3.0 1 1 3
    161 bkbCompare 2 bkbCompare Compare products/services 0 bkbCompare 1.0 1 1 3
    222 pn_bbsmile 2 PN bbsmile Smilie Hook 0 pn_bbsmile 1.12 1 1 3
    208 EventReg 2 EventReg Event Registration Module 0 EventReg 0.57 1 1 3
    72 Maintenance 2 Maintenance Put your site into maintenance mode and redirect u... 0 Maintenance 0.1 1 1 3
    74 FormExpress 2 FormExpress Admin configurable Input Forms 0 FormExpress 0.3.0 1 1 3
    210 htmlpages 2 htmlpages Add HTML pages to your site 0 htmlpages 2.01 1 1 3
    112 pnFlashGames 2 pnFlashGames Flash games that with high score tracking for Post... 0 pnFlashGames 0.9.91 1 1 3
    225 pn_bbclick 2 PN bbclick Make Clickable Hook 0 pn_bbclick 1.05 1 1 1
    79 anniversaire 1 Geburtstage Birthday member - Anniversaire des membres 0 anniversaire 0.42 1 1 3
    213 AutoTheme 1 AutoTheme HTML Theme System 0 AutoTheme .8 1 1 3
    193 PNphpBB2 1 PNphpBB2 The PostNuke Forum based on phpBB2 0 PNphpBB2 1.2h-RC2 1 1 3
    142 GameReview 2 GameReview Review Games 0 GameReview 0.8 1 1 3
    203 PagEd 1 PagEd Content module for Postnuke/eNvo/MDPro 0 PagEd 0.93 1 1 3
    89 AutoConvert 1 AutoConvert Convert legacy themes to AutoTheme 0 AutoConvert .1 1 1 3
    90 pzLib 2 pzLib required API and includes for pz modules/sideblock... 0 pzLib 1.1 1 1 3
    218 AlarContact 1 AlarContact Form2Email Contact Module 0 AlarContact 1.0 1 1 3
    134 FEBSUsers 2 FEBSUsers User Information Access 0 FEBSUsers 0.7.3 1 1 3
    117 Xanthia 2 Xanthia Xanthia Theme Engine 0 Xanthia 2.0 1 1 3
    160 pnRender 2 pnRender The Smarty implementation for PostNuke 0 pnRender 1.0 1 0 3
    120 typetool 2 typetool TypeTool Visual Editor Implementation 0 typetool 8.0 1 0 3
    172 BuddyList 2 BuddyList BuddyList module - block support, user configurabl... 0 BuddyList 1.2 1 1 3
    151 PostContact 1 PostContact PostNuke Contact Module 0 PostContact 0.2.3 1 1 3
    129 statistics 2 statistics Next Generation Statistics 0 statistics 5 1 1 3
    177 PostCalendar 2 PostCalendar PostNuke Calendar Module 0 PostCalendar 4.0.2 1 1 3
    204 pnTresMailer 1 pnTresMailer pnTresMailer NewsLetter Module 0 pnTresMailer 6.03a 1 1 3
    183 v4bJournal 2 v4bJournal v4bJournal Module 0 v4bJournal 0.98 1 1 3
    173 Messenger 2 Messenger Private Message & Instant Messenger 0 Messenger 1.2 1 1 3
    165 Mailer 2 Mailer Postnuke Mailer 0 Mailer 1.0 1 0 3
    224 pnForum 2 pnForum phpBB-style Bulletin Board 0 pnForum 2.0.1 1 1 3
    231 PostWrap 2 PostWrap Incorporate external sites and applications 0 PostWrap 2.5 1 1 3
    247 zPersonals 1 zPersonals Personal Ad Module for PostNuke 0 zPersonals 4.0.6 1 1 1
    246 My_eGallery 2 My eGallery Media Gallery Module 0 My_eGallery 3.1.2 1 1 1
    237 pncPayPal 2 pncPayPal PayPal IPN Mod 0 pncPayPal 1.2 1 1 3
    238 pncBotList 2 pncBotList List Search Engine robots that saw your site. 0 pncBotList 1.2 1 1 3
    245 photoshare 2 photoshare Online photo album 0 photoshare 4.1.0 1 1 1
    240 SPChat 2 SPChat JavaScript based chat module 0 SPChat 0.8.2.9 1 1 3
    244 pnGallery2 2 pnGallery2 Menalto Gallery2 for PostNuke 0 pnGallery2 0.5 1 1 1
    243 FriendFinder 1 FriendFinder 0 FriendFinder 0 1 1 3
  • I just found the solution to this problem in another post... InvalidResponse was the one who posted the original solution... I had the problem with my phpWiki module giving this error when I upgraded to 0.7.6.0. Here's the soution:

    Code

    the "failed to load Module Modname (at function: "main")" messages are usually due to an odd phenomenon where the type mystically changes or doesn't inherit the proper value on initialize.

    the cure: go to your databse, locate the table nuke_modules, select that table, find the affected module in the pn_name column and change pn_type to 2 for API type modules (which Xanthia is) and type 1 for old style modules.

    some users have also reported the old style modules no longer work correctly giving a "module not available" error.. in this case you would check to make sure the value of pn_type is set to 1.

    ..I'
    d say before doing any of this, ensure that the module is "active" in Admin->Modules

This list is based on users active over the last 60 minutes.