From: Toby W. <to...@th...> - 2003-08-26 10:59:41
|
Hi, I'm trying to install my first external module, newsletter, on a brand new install of phpWebSite. I expand the newsletter zip to the mod subdirectory. Now there seem to be three possible routes by which I might install this module. 1. http://mydomain.com/mod.php?mod=newsletter&op=setup This is the advice in the INSTALL doc that comes with the module. This just seems to redirect me to the index for the site. Looking at the PHP I have no idea that it should do anything else. 2. Goto to the Administration page -> Modules Setup? Uh there isn't a bit like this. There is boost which only seems to install modules it knows about, and mod maker which seems to require lots of manual information. I've tried it with some guessed defaults - newsletter, index.php and so on. I don't put anything in the class, session vars and so on. When I go to active the new module I get the errors below. Anyone have any ideas of the right way to do this? cheers, Toby Warning: Failed opening 'config.php' for inclusion (include_path='.;c:/phpdev/www/public/phpwebsite/lib\pear\') in c:\phpdev\www\public\phpwebsite\mod\newsletter\index.php on line 20 Warning: Failed opening 'mainfile.php' for inclusion (include_path='.;c:/phpdev/www/public/phpwebsite/lib\pear\') in c:\phpdev\www\public\phpwebsite\mod\newsletter\index.php on line 21 Warning: Failed opening 'open_session.php' for inclusion (include_path='.;c:/phpdev/www/public/phpwebsite/lib\pear\') in c:\phpdev\www\public\phpwebsite\mod\newsletter\index.php on line 22 Warning: Failed opening 'header.php' for inclusion (include_path='.;c:/phpdev/www/public/phpwebsite/lib\pear\') in c:\phpdev\www\public\phpwebsite\mod\newsletter\index.php on line 23 Fatal error: Call to undefined function: thememainbox() in c:\phpdev\www\public\phpwebsite\mod\cb_common\class.CB_Block_Admin.php on line 271 |