PEAK XOOPS - Wraps 1.1 and Xoops 2.0.16 problem in englishin japanese

Wraps 1.1 and Xoops 2.0.16 problem

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2006/12/3 6:06
TxAggie  二等兵 From: Dallas, Texas  Posts: 1
Howdy GiJoe,

Thanks for all your work. It is most useful. I'll soon be writing some of my own modules and I'm looking at yours to assist in my learning.

Now, the problem. I've been using wraps 1.1 with xoops 2.0.13. I currently have two such "modules" running. I'm trying to upgrade xoops to 2.0.16 (on a dev site first of course). The upgrade is completely successful with the exception of the wraps modules.

After the upgrade, if I try to access the wraps modules I get the message "Selected module does not exist!". The XOOPS_TRUST_PATH is correct and the url shown in browser also seems correct:
http://(mysite)/modules/flag/index.php/flag.htm

In this case, the flag.htm is the correct top file. Also, I have deleted and regenerated the templates for each of the modules.

Do you have any suggestions that might help me?
Votes:1 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2006/12/7 4:32
GIJOE  先任軍曹   Posts: 4110
I've checked 2.0.16, it works fine but the template problem.

You'd better check around here (especially PHP_SELF)
include/common.php
    if (file_exists('./xoops_version.php')) {
        $url_arr = explode( '/', strstr( $_SERVER['PHP_SELF'],'/modules/') );
        $module_handler =& xoops_gethandler('module');
        $xoopsModule =& $module_handler->getByDirname($url_arr[2]);
        unset($url_arr);
        if (!$xoopsModule || !$xoopsModule->getVar('isactive')) {
            include_once XOOPS_ROOT_PATH."/header.php";
            echo "<h4>"._MODULENOEXIST."</h4>";
            include_once XOOPS_ROOT_PATH."/footer.php";
            exit();
        }
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!