Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Goto page: 1 - 2 [+1]

Bottom
Clean install of 750 OK, but Smarty and Xanthia broken
  • Posted: 12.05.2004, 11:41
     
    joerecruiter
    rank:
    Softmore Softmore
    registered:
     December 2003
    Status:
    offline
    last visit:
    02.11.06
    Posts:
    77
    I get this in admin for both Smarty and Xanthia:

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

    All green on install, so I'm clueless.

    Win 2K
    IIS 5
    mySQL 4.0.17-nt
    PHP 4.3.4
    726 runs great on the same box, different DB (including xanthia and pnRender)

    Any clues?

    Thanks,
    Joe
  • Posted: 12.05.2004, 16:17
     
    InvalidResponse
    rank:
    Professional Professional
    registered:
     September 2003
    Status:
    offline
    last visit:
    21.10.07
    Posts:
    2423
    Mark will be able to shed more light on this.. I've got to install .750 right now so I'll know what I'm talking about...haha

    -IR

    --
    http://www.invalidresponse.com
  • Posted: 12.05.2004, 16:50
     
    InvalidResponse
    rank:
    Professional Professional
    registered:
     September 2003
    Status:
    offline
    last visit:
    21.10.07
    Posts:
    2423
    okay.. looks like there's a file missing..or pnRender didn't auto-install with upgrade.

    remove pnRender from your module's list (deactivate/remove)

    ..NOTE: this is only a temporary fix.. I'm not sure I should even be posting this.

    add this to your config.php:
    $pnconfig['temp'] = 'pnTemp';

    ..that's the directory for your cached and compiled templates..

    open the pnRender module.. then the pninit.php file

    line 55-58:

    include_once 'install/pntemp.php';
    if (!pntemp_install('pnTemp')) {
    return false;
    }

    ..comment them out.
    //include_once 'install/pntemp.php';
    // if (!pntemp_install('pnTemp')) {
    // return false;
    // }

    regenerate your modules and initialize and activate pnRender.

    -IR

    [edit: typo]

    --
    http://www.invalidresponse.com
  • Posted: 12.05.2004, 18:10
     
    joerecruiter
    rank:
    Softmore Softmore
    registered:
     December 2003
    Status:
    offline
    last visit:
    02.11.06
    Posts:
    77
    Thanks IR. Was hoping for confirmation this was the right way to go since you say:

    Quote

    ..NOTE: this is only a temporary fix.. I'm not sure I should even be posting core changes.


    Can I get confirmation this is the thing to do? This is not a live site, so waiting won't kill me.

    Thanks,
    Joe

    --
    Interested in Nano Technology? Visit http://www.nanotechclearinghouse.com! icon_smile
  • Posted: 12.05.2004, 22:24
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    6534
    the other option is to upload the install folder, do the initialization of pnRender and the remove the install folder.
  • Posted: 12.05.2004, 23:00
     
    joerecruiter
    rank:
    Softmore Softmore
    registered:
     December 2003
    Status:
    offline
    last visit:
    02.11.06
    Posts:
    77
    Without re-uploading the modules, I deactivated and removed them from modules admin. Attempted to re-initialize pnRender and got:

    Fatal error: Call to undefined function: pntemp_install() in W:\Active_Web_Sites\750\modules\pnRender\pninit.php on line 56

    Is that just due to the fact that the Install directory is missing?

    Thanks,
    Joe

    --
    Interested in Nano Technology? Visit http://www.nanotechclearinghouse.com! icon_smile
  • Posted: 12.05.2004, 23:20
     
    InvalidResponse
    rank:
    Professional Professional
    registered:
     September 2003
    Status:
    offline
    last visit:
    21.10.07
    Posts:
    2423
    Hi Joe.. that was the issue I had encountered.. follow the steps above and it works fine..

    a file that function is calling is missing from the install directory.. the steps above will allow you to initialize pnRender..

    -IR

    --
    http://www.invalidresponse.com
  • Posted: 13.05.2004, 02:00
     
    muppet
    rank:
    Freshman Freshman
    registered:
     December 1969
    Status:
    offline
    last visit:
    07.12.04
    Posts:
    15
    Well copying the install folder didn't work, the file pntemp.php doesn't exist in there still.

    So I took the route of commenting out the file lines as advised and I can report that it now works fine.

    Note: It was only pnRender I had problems with, Xanthia inistalised and activated without problems.

    --
    Beer is Tasty!
  • Posted: 13.05.2004, 04:14
     
    InvalidResponse
    rank:
    Professional Professional
    registered:
     September 2003
    Status:
    offline
    last visit:
    21.10.07
    Posts:
    2423
    ..I had no probs with Xanthia either.. just the function error caused by the missing file..

    thanks muppet.
    -IR

    --
    http://www.invalidresponse.com
  • Posted: 13.05.2004, 04:19
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    6534
    The XTERC4 package has the file in it.
  • Posted: 13.05.2004, 08:39
     
    kooly
    rank:
    Freshman Freshman
    registered:
     April 2004
    Status:
    offline
    last visit:
    13.05.04
    Posts:
    4
    I am having the same exact problem, I did a fresh install of .750RC2, and I can't get admin page on Xanthia, pnrender,mailer. All blank pages with

    Failed to load module Mailer (at function: "main")
    Failed to load module Xanthia (at function: "main")
    Failed to load module pnRender (at function: "main")

    I have tried the above fix, and it didn't do anything for me. What can be causing this, I would think that with a release like this, major errors like this would have been caught. .726 ran flawlessly for me, everything worked right off the bat. Many weird issues with .750 so far. I can't wait to dig into .750, but with these issues I'm having i'm stuck. Thanks for any help
  • Posted: 13.05.2004, 11:29
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    6534
    That's why this is an RC, something probably got lost in the packaging. A clean install works fine, the only thing I can find missing from the 750RC2 is the file that should go in to the install folder. As Mark has indicated, this oversight is being dealt with.
  • Posted: 13.05.2004, 15:49
     
    joerecruiter
    rank:
    Softmore Softmore
    registered:
     December 2003
    Status:
    offline
    last visit:
    02.11.06
    Posts:
    77
    FWIW, I re-downloaded 750 and reinstalled fresh and all is well. Maybe just an initial bad dl. I had originally clicked on .zip version and got the .gz version as mentioned in other threads. Got the .zip this am, reinstalled and everything is perfect. Thanks for the help.

    NICE WORK!
    Joe

    --
    Interested in Nano Technology? Visit http://www.nanotechclearinghouse.com! icon_smile
  • Posted: 30.06.2004, 14:23
     
    grendelshitsuren
    rank:
    Softmore Softmore
    registered:
     June 2002
    Status:
    offline
    last visit:
    13.09.04
    Posts:
    81
    Hi,
    I uploaded the install folder (the byte size of all file were identical BTW), removed the Mailer module and restarted it. Still "Failed to load module Mailer (at function: "main")"
    ciao

    Grendel S.
  • Posted: 30.06.2004, 14:37
     
    larsneo
    rank:
    Software Foundation Software Foundation
    registered:
     December 1969
    Status:
    offline
    last visit:
    15.11.08
    Posts:
    4481
    check the latest modules/Mailer/pnadmin.php but keep in mind that the mailer module has no userinterface, it's only configurable within the administration...

    --
    regards from germany
    ..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::..

Goto page: 1 - 2 [+1]

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula