1
technigrafa
Upgrading to 2.0.14 Stopped <{php}> includes

I just upgraded a site from 2.0.13.2 to 2.0.14 and my <{php}> includes in my theme aren't showing up anymore.

This still works though:
<{php}> print "Test"; <{/php}>


Anyone have any idea how to remedy this?

The only other thing I changed recently that might be related, is I turned off "allow_url_fopen" in PHP.INI as the Protector module recommends.

Thanks,
/daniel

2
neill
Re: Upgrading to 2.0.14 Stopped includes
  • 2006/7/23 14:12

  • neill

  • Just popping in

  • Posts: 16

  • Since: 2006/7/23


i have a similar problem
im trying to implement xlanguage links into the theme
<{php}>
global 
$cnurl$enurl;
        
$cnurl xoops_getenv('PHP_SELF')."?".$query_string."lang=schinese";
        
$enurl xoops_getenv('PHP_SELF')."?".$query_string."lang=english";
<{/
php}>

when i call $cnurl or $enurl in template, i get my home address

3
neill
Re: Upgrading to 2.0.14 Stopped includes
  • 2006/7/23 15:36

  • neill

  • Just popping in

  • Posts: 16

  • Since: 2006/7/23


for my problem above, i have a workaround using javascript, if anyone interested, here is my code

insert this before you call the function
<{literal}>
    <
script type="text/javascript">
    
    
script>
<{/
literal}>

BUG? the [ code] tag removes my content like "& lang" without space


then insert something like this to where you need it
<{literal}>
<
script type="text/javascript">
    
script>
<{/
literal}>


ugly but works

4
davidl2
Re: Upgrading to 2.0.14 Stopped <{php}> includes
  • 2006/7/23 19:31

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Remember - if you have a suspected bug - please report it here

5
neill
Re: Upgrading to 2.0.14 Stopped includes
  • 2006/7/24 8:01

  • neill

  • Just popping in

  • Posts: 16

  • Since: 2006/7/23


im pretty sure its CBB or newBB's problem
the problem is when use [ code] tag, it supposed to keep codes for example "& amp;" without space as it is, not translate it into "&" symbol

Login

Who's Online

236 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 236


more...

Donat-O-Meter

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

Latest GitHub Commits