1
Flazz
liaise not working
  • 2005/1/11 19:38

  • Flazz

  • Just popping in

  • Posts: 36

  • Since: 2004/5/14


I have been using liaise for the best part of a year with no trouble.

But now, since host went php5 and i have installed XOOPS 2.0.9.2 lisaise has stopped working.

When i go to make a new contact form, I save and all it says is

ERROR
NONE

i used php debug and found the lines

Quote:
Notice [PHP]: Undefined variable: hidden_form_id in file modules/liaise/admin/index.php line 174
Notice [PHP]: Undefined variable: clone_form_id in file modules/liaise/admin/index.php line 177

I looked at the relevent lines in the index.php and cant see nothing wrong

if( is_object($hidden_form_id) ){              
$output->addElement($hidden_form_id);          
}          
if( 
is_object($clone_form_id) ){              
$output->addElement($clone_form_id);          
}

anyone any ideas?

2
jegelstaff
Re: liaise not working

PHP 5 works quite a bit differently from PHP 4. I doubt the lines highlighted above have much to do with the problem. It would take some serious debugging to isolate the problem, so I would suggest contacting the module author directly.

--Julian

3
LazyBadger
Re: liaise not working

New version ws ready some time ago - and it works with PHP5 and XOOPS 2.0.9.x - Liase 1.22

4
Mithrandir
Re: liaise not working

The notices are not the cause of this. Just a matter of un-initialized variables.

What about if you enable MySQL debug and try again? Any errors in the MySQL debug popup?

5
Flazz
Re: liaise not working
  • 2005/1/13 1:48

  • Flazz

  • Just popping in

  • Posts: 36

  • Since: 2004/5/14


looked at the MySQL debug, and nothing says error.

SELECT * FROM xoops_config WHERE (conf_modid = 0 AND conf_catid = 1) ORDER BY conf_order ASC

SELECT sess_data FROM xoops_session WHERE sess_id 
= '3fe04fac17d027f96c9b2ce353cae33c'

SELECT * FROM xoops_users WHERE uid=1

SELECT 
* FROM xoops_modules WHERE dirname = 'liaise'
SELECT * FROM xoops_config WHERE (conf_modid = 7) ORDER BY conf_order ASC
SELECT 
* FROM xoops_group_permission WHERE (gperm_name = 'module_admin' AND gperm_modid = 1 AND (gperm_groupid = 1 OR gperm_groupid = 2 OR gperm_groupid = 4 OR gperm_groupid = 5))

and I cant find where to download 1.22 so a link would be handy

cheers

6
Bizzware
Re: liaise not working
  • 2005/1/13 1:57

  • Bizzware

  • Friend of XOOPS

  • Posts: 36

  • Since: 2005/1/11


You can get it from the developer here @ Brandycoke.com


7
Flazz
Re: liaise not working
  • 2005/1/13 3:08

  • Flazz

  • Just popping in

  • Posts: 36

  • Since: 2004/5/14


Thanks for the link. That works great.

cheers