XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 22, 2009, 1:46:25 AM (15 years ago)
Author:
toemon
Message:

ImpressCMSで投稿すると、イベント通知するためにXOOPSをロードしたところで
Fatal error: Call to a member function prefix() on a non-object in C:\xampp\htdocs\impress\kernel\configitem.php on line 331のエラーが、
しょうがないので wp-admin/post.phpの場合は事前にXOOPSをロードするようにしてみた。
予約投稿は問題ないみたいだけれど、もいっかいイベント通知の確認しないと駄目かも

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/plugins/xpressme/include/notify_functions.php

    r96 r132  
    4949        } 
    5050//      set_error_handler("xpress_error_handler"); 
    51         require $xoops_config->xoops_mainfile_path;     // load XOOPS System 
     51        require_once $xoops_config->xoops_mainfile_path;        // load XOOPS System 
    5252        $module_id = get_xpress_modid() ; 
    5353        $notification_handler =& xoops_gethandler( 'notification' ) ; 
Note: See TracChangeset for help on using the changeset viewer.