Author Topic: [FIX] - includes/template.php file.  (Read 7291 times)

0 Members and 1 Guest are viewing this topic.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
[FIX] - includes/template.php file.
« on: August 11, 2007, 11:35:21 PM »
In includes/template.php file,

find:

Quote
// Replace <?xml by printing them via php to avoid error messages when short_open_tags is on
    $template = preg_replace('/<\?xml/i', "<?php echo '<?xml'; ?>", $template);

replace:

Quote
/* Replace <?xml by printing them via php to avoid error messages when short_open_tags is on*/
    $template = preg_replace('/<\?xml/i', "<?php echo '<?xml'; ?>", $template);
« Last Edit: August 23, 2007, 12:09:41 AM by thunderstrike »
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: [FIX] - includes/template.php file.
« Reply #1 on: August 13, 2007, 08:24:59 PM »
Hei,

was bewirkt das Fix  :?: :?:

Nobby

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [FIX] - includes/template.php file.
« Reply #2 on: August 13, 2007, 08:25:22 PM »
No get german ... sorry ...
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [FIX] - includes/template.php file.
« Reply #3 on: August 23, 2007, 12:08:01 AM »

hi ask, what this fix do?
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [FIX] - includes/template.php file.
« Reply #4 on: August 23, 2007, 12:11:44 AM »
Ok, so here - original and fix. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?