11
Bassman
Re: Module PHP assistance please :)
  • 2004/8/5 2:32

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


HAHAHA if he's anything like ours, he'll beat you every time :P

12
Raurfang
Re: Module PHP assistance please :)
  • 2004/8/5 7:23

  • Raurfang

  • Just popping in

  • Posts: 7

  • Since: 2003/10/15


You can get the Xoops2 version of this module here:
XOOPS2_mod_T-TechTools_1.0_t-tech.zip

13
Anonymous
Re: Module PHP assistance please :)
  • 2008/4/30 13:03

  • Anonymous

  • Posts: 0

  • Since:


Why xoopstools and t-tech tools modules are working on some servers and not working on others ?

14
Alex_Grey
Re: Module PHP assistance please :)
  • 2008/4/30 13:42

  • Alex_Grey

  • Just popping in

  • Posts: 43

  • Since: 2007/6/16


i noticed that it has the short tags in there. http://us.php.net/ini.core

Quote:
short_open_tag:
Tells whether the short form (<? ?> ) of PHP's open tag should be allowed. If you want to use PHP in combination with XML, you can disable this option in order to use <?xml ?> inline. Otherwise, you can print it with PHP, for example: <?php echo '<?xml version="1.0"'; ?> . Also if disabled, you must use the long form of the PHP open tag (<?php ?> ).


could be other reasons too.
“There is nothing impossible to him who will try.” ~Alex The Great~
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

15
tom
Re: Module PHP assistance please :)
  • 2008/4/30 13:55

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


Quote:
i noticed that it has the short tags in there. http://us.php.net/ini.core


Are you refering to XOOPSTools here, I opened the files up, and only saw use of the <?php tag

Quote:
Why xoopstools and t-tech tools modules are working on some servers and not working on others ?


Are there any errors displaying?

16
Alex_Grey
Re: Module PHP assistance please :)
  • 2008/4/30 14:15

  • Alex_Grey

  • Just popping in

  • Posts: 43

  • Since: 2007/6/16


Quote:
tom wrote:
Are you refering to XOOPSTools here, I opened the files up, and only saw use of the <?php tag


i see a <? in index.php

Edit: it was in techtools not xoopstools, doh.
“There is nothing impossible to him who will try.” ~Alex The Great~
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

17
Catzwolf
Re: Module PHP assistance please :)
  • 2008/4/30 16:39

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


The correct method for opening and closing php is:

<?php
<!-- content here --->
?>


Using The following on some server will cause the script to fail.
<?
<!-- 
content here --->
?>


Catz

18
Anonymous
Re: Module PHP assistance please :)
  • 2008/4/30 16:48

  • Anonymous

  • Posts: 0

  • Since:


xoopstools and t-techtools have <?php ..... ?>

and both not working.

19
Catzwolf
Re: Module PHP assistance please :)
  • 2008/4/30 16:52

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Any php debugging errors?

What version of php, MySQL and apache/iis?

What happens when you try to run these modules?

Catz

20
Anonymous
Re: Module PHP assistance please :)
  • 2008/4/30 17:05

  • Anonymous

  • Posts: 0

  • Since:


There are no debug error, just notice in some lines:

Notice: Undefined variable: opi in file /modules/T-TechTools/index.php

Notice: Undefined variable: func in file /modules/xoopstools/index.php

PHP version 4.4.4
MySQL version 4.1.22-standard
Apache version 1.3.39 (Unix)
XOOPS 2.0.18.1

modules installed without problem but links not working and return to main page of module.

I found many sites have same problem, example:
http://imake.co.in/modules/xoopstools/index.php

I think this problem happened after upgrade to 2.0.18.1

Login

Username:
Password:

Lost Password? Register now!

Who's Online

52 user(s) are online (30 user(s) are browsing Support Forums)


Members: 0


Guests: 52


more...

Donat-O-Meter

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

Latest GitHub Commits