- Moderated by:
- Support
-
- rank:
-
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 -
- rank:
-
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 -
- rank:
-
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 -
- rank:
-
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!
-
- rank:
-
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!
-
- rank:
-
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 -
- rank:
-
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! -
- rank:
-
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 -
- rank:
-
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 -
- rank:
-
Legend
- registered:
- December 1969
- Status:
- online
- 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. -
- rank:
-
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!
-
- rank:
-
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. -
- rank:
-
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]::..
