Installation, Configuration, & Upgrades  > 
Help? Getting a Fatal Error - I'm very very new at this
 Top

  • I've been running my site with PN for over a year, but this is my first upgrade and I've run into problems. I've managed to fix two of them, but this one is stumping me.

    I've installed following all instructions.

    I've initialized and activated all modules except for one, The Smarty implementation for PostNuke.

    When I hit "initialize", I get this message:

    Call to undefined function: pntemp_install() in home/intermed/intermediate-www/modules/pnRender/pninit.php on line 56


    I looked at line 56 of pninit.php and that line says:

    if (!pntemp_install('pnTemp')) {


    I have no idea if this is correct and if it isn't, I don't know how to fix it. Can anyone help me please?

    Thank you in advance

    Allie

    Edit: I should say I upgraded from 726 to 750. Sorry about that.
  • This is known issue with .750RC2 (bear in mind this is a release candidate and therefore not for production sites). Grab an updated pninit.php for the pnRender module from CVS.

    -Mark
  • Thanks, Mark. I commented out those lines and I got the Smarty implementation to work. But I'm now faced with a Fatal Error when I click on Xanthia. Something about pnRender_compiled does not exist. Is this also due to my not having the corrected pninit.php file?

    I'll go get one right now and try it again. And I had no idea what RC stood for. Oops.
  • Now you know.....

    I left out one step in the upgrade instructions. There are some new entries in config.php. Copy across these entires from config.php in the package to your own config.php. The most important one is $pnconfig['temp'] = 'pnTemp';

    Make sure the pnTemp folder is writable by the web server (if a unix server chmod of 777).

    -Mark
  • Everything is now working like a charm, Mark. Thanks very much.

    I do have one teensy little question, and then I'll leave everyone alone. I was using the Apallonia theme before the upgrade and I really liked it (especially since I had customized it), but it will not show up in the dropdown box in Settings. Does that mean I will no longer be able to use it? Can I fix it? I promise I won't ask any more dumb questions.

    Edit: I've searched these forums for several hours for an answer and came up empty handed. :(
  • Never heard of that theme so I can't comment one way or the other. What type of theme is it? Do you have a download if it I can refer too.....

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