1
tigege
Userinfo blank page after having made a clone of docmanager
  • 2007/9/17 8:38

  • tigege

  • Just popping in

  • Posts: 16

  • Since: 2004/11/10


Hello,

I have made a clone of docmanager I called it docmanager_mic. It works very fine but when each of the two modules are activated, I get a userinfo.php blank page.

I trashed the problem in userinfo.php and find out it occurs
at the call of the method $module->search.

[CODE]
foreach ($mids as $mid) {
if ( $gperm_handler->checkRight('module_read', $mid, $groups)) {
$module =& $module_handler->get($mid);
$results =& $module->search('', '', 5, 0, $thisUser->getVar('uid'));

[/CODE]

The method "search" is a method of the class "module".
This class is defined in kernel/module.php

Method "search" include docmanager/include/search.inc.php which include swish-e.class.php and functions.php.

Seemingly, the problems seems to be directly linked with swish-e.

Would you have an idea for a clue at this problem please ?

Best regards

Gerard

2
tom
Re: Userinfo blank page after having made a clone of docmanager
  • 2007/9/17 13:55

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


It would seem that you have not correctly cloned the module, as one or more of the variables are conflicting, when both modules are installed.

Your gonna have to painstakingly go through it and find the conflict with the modules. Perhaps your trying to pull the same data from two different tables?

I wouldn't know for sure what the exact issue is without looking, sorry.
Kind Regards.
Tom

http://bassmanthemes.com
http://www.xoopslance.com

3
tigege
Re: Userinfo blank page after having made a clone of docmanager
  • 2007/9/17 16:02

  • tigege

  • Just popping in

  • Posts: 16

  • Since: 2004/11/10


I thanks you for your answer.
The clone of this module seems to have been made correctly for the installation has been successfull and each of the two modules
works. Data are not the same and file index are not the same too. If you are interested I can describe the method I employed for making this clone.

Best regards

Gerard

4
tom
Re: Userinfo blank page after having made a clone of docmanager
  • 2007/9/20 19:45

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


Sure go for it.

I could be wrong, but it would still appear there is some kinda of conflict with the module and it's clone if it's playing up in the user profile.
Kind Regards.
Tom

http://bassmanthemes.com
http://www.xoopslance.com

5
tigege
Re: Userinfo blank page after having made a clone of docmanager
  • 2007/9/25 12:58

  • tigege

  • Just popping in

  • Posts: 16

  • Since: 2004/11/10


My clone of docmanager is docmanager_inf.
First of all I renamed docmanager with docmanager_inf.
I used Ultra edit as editor.

I replaced :

_MI_DOCMANAGER by _MI_INF_DOCMANAGER

_MD_ by _INF_MD_

docmanager_ by docmanager_inf_

Templates : each o all files docmanager_*.html by docmanager_inf_*.html

Images : docmanager_slogo.png by docmanager_inf_slogo.png



The installation has been sucessfull.

Gerard

6
jeffgr
Re: Userinfo blank page after having made a clone of docmanager
  • 2007/9/25 13:44

  • jeffgr

  • Quite a regular

  • Posts: 263

  • Since: 2004/2/22


I have had a similar problem many times when cloning modules. The problem may be entirely in your search.inc.php file. XOOPS is calling the same constant for both the original, and cloned module..that is why it freezes and gives a blank page. Turn on error checking, and see what file, and what line the error is on. Note that sometimes the code you have to change is actually on the line or two before the specified error message.

The cloned module can be working perfectly other then this issue. Try that out, and let us know if it worked!

jeffgr

Login

Who's Online

224 user(s) are online (125 user(s) are browsing Support Forums)


Members: 0


Guests: 224


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits