Installation, Configuration, & Upgrades  :: 
Failed to load module pnrender (at function "Main"
 Top

  • I had started off trying to run this on Apache, then switched to IIS 5.0, but always came back to having the following error:

    “Failed to load module pnRender (at function: "main")”

    I would also get this error using the Zanthia Themes module or the Mailer Module.


    Installation Notes:

    System Specifications:

    Operating System: Windows XP Sp2
    Web Server: Apache 2.0.52
    DNS Provisioner: No-IP.com

    Hardware:
    CPU: Pent III 866Mhz
    Memory: 384Mb
    Network Connection: DSL (Dynamic)

    Software Packages Used for Windows Based installation:

    Apache_2.0.52-win32-x86-no_ssl.msi
    MySQL-4.1.8-win.zip
    MySQL-Administrator-1.0.18-win.msi - Not Required but helpful
    MySQL-Query-Browser-1.1.4-win.msi - Not Required but helpful
    PHP-5.0.3-installer.exe
    PHP-5.0.3-Win32.zip
    PHPDesigner_setup.exe - Not required but helpful
    PostNuke-0.750.zip

    All of the above mentioned software packages are available in the download section.

    Basically what it came down to for me was that I had to find the right combination of software versions in order to get this to work on my system. I had started off trying to run this on Apache, then switched to IIS 5.0, but always came back to having the following error:

    “Failed to load module pnRender (at function: "main")”

    I would also get this error using the Zanthia Themes module or the Mailer Module.

    Here are the steps I took, that allowed me to get PostNuke running on an XP machine. I would also think this combination would work for windows 2000 as well as 2003.

    1. Install Apache, and verify it works using localhost or 127.0.0.1.
    a. Install using Apache_2.0.52-win32-x86-no_ssl.msi
    2. Install MySQL, and verify it is working.
    a. Install using MySQL-4.1.8-win.zip
    b. Optional install of Administrator and Query browser listed above
    3. Install PHP
    a. Install using PHP-5.0.3-Installer.exe
    b. This is where installation will get detailed.

    Detailed Installation Notes to bring everything together:

    At this point, you should have all three packages installed (Apache, MySQL, and PHP), on your windows system. Now you have to tie PHP into Apache Web Server, as well as
    Your MySQL Server.

    First, I did the MySQL Changes needed in the PHP.INI file, located in the windows directory (C:\Windows, C:\WinNT, C:\WinXP).
    Open the PHP.ini file using a text editor, and find following line:

    ;extension=php_mysql.dll

    Remove the “;” from the beginning of this line.

    Save and overwrite this file.

    Next, we need to get the rest of the files that belong in the PHP directory from the PHP-5.0.3-Win32.zip file.

    Unzip 5.0.3-Win32.zip someplace you have easy access to it, such as C:\. It should create a folder called PHP-5.0.3-win32. Copy everything in this folder to the folder that you installed PHP into, using the installer package. This is a critical step as it provides needed dll files for apache to work with PHP.

    The last change you need is to change your system path to include you installation directory for PHP (c:\PHP).

    PHP is now ready to send query information to your MySQL server. PHP also now contains all the files you need to attach it to apache.

    All that is left to change is the httpd.conf file for apache server. There are two lines that need to be added to the config file for apache.

    LoadModule php5_module "d:/php/php5apache2.dll"
    Change the above line to point to your PHP install.

    AddType application/x-httpd-PHP .php
    This line should not differ on any installation.

    You may want to search for this line:

    DirectoryIndex index.html

    And add index.php to the end of it:


    DirectoryIndex index.html index.php

    So once you have installed and run the PostNuke 0.750 Install.php, you will be able to access your home page easier.

    I may edit this document in the future to make it more legible, but I wanted to get the changes and versions down on paper before I forgot them and had to look them up again.

    Good Luck to everyone!
  • Is this a tutorial? Then it has a bad topic name and it's posted in the wrong section ^^

    Take care while posting.
This list is based on the users active over the last 60 minutes.