TinyPortal

Development => Support => Topic started by: Martine M on February 02, 2015, 11:17:35 AM

Title: Code visible on top of the forum.
Post by: Martine M on February 02, 2015, 11:17:35 AM
Link to my forum: http://www.dierenvrienden-tegen-vuurwerk.be/forum/
SMF version: SMF ver. 2.09
TP version: TP ver. 1;0
Default Forum Language: Your Default Forum Language Dutch
Theme name and version: Theme name SMF Default Theme - Curve
Browser Name and Version: Browser Firefox 35.0.1 and Opera 12;17
Mods installed: Simple Audio and Video Embedder
Related Error messages:[/b] // Let's do something special for session ids! if (defined('SID') && SID != '') $buffer = preg_replace('/"' . preg_quote($scripturl, '/') . '\?(?:' . SID . '(?:;|&|&))((?:board|topic)=[^#"]+?)(#[^"]*?)?"/e', "'\"' . \$scripturl . '/' . strtr('\$1', '&;=', '//,') . '.html?' . SID . '\$2\"'", $buffer); else $buffer = preg_replace('/"' . preg_quote($scripturl, '/') . '\?((?:board|topic)=[^#"]+?)(#[^"]*?)?"/e', "'\"' . \$scripturl . '/' . strtr('\$1', '&;=', '//,') . '.html\$2\"'", $buffer); smflogo.gif


Hello there long time ago but here I am again.

I am helping someone out to set up a forum and I also installed TP yesterday and the forum was installed yesterday to.

This morning I saw this code
// Let's do something special for session ids! if (defined('SID') && SID != '') $buffer = preg_replace('/"' . preg_quote($scripturl, '/') . '\?(?:' . SID . '(?:;|&|&))((?:board|topic)=[^#"]+?)(#[^"]*?)?"/e', "'\"' . \$scripturl . '/' . strtr('\$1', '&;=', '//,') . '.html?' . SID . '\$2\"'", $buffer); else $buffer = preg_replace('/"' . preg_quote($scripturl, '/') . '\?((?:board|topic)=[^#"]+?)(#[^"]*?)?"/e', "'\"' . \$scripturl . '/' . strtr('\$1', '&;=', '//,') . '.html\$2\"'", $buffer); smflogo.gif

at the top of the forum it is in the dark blue so it could be from before I installed TP I am not sure.

Does anyone know if it has something to do with TP install?
I edit /Sources/QueryString.php myself after install.

Regards Martine

Title: Re: Code visible on top of the forum.
Post by: Martine M on February 02, 2015, 11:28:07 AM
I just saw that if I check "Enable compressed output" in the server settings of smf I only have

smflogo.gif

on top
Title: Re: Code visible on top of the forum.
Post by: Martine M on February 02, 2015, 12:09:57 PM
sorry I think now it is a SMF problem and not a TP problem so I will pot it at SMF
Title: Re: Code visible on top of the forum.
Post by: Martine M on February 02, 2015, 06:57:33 PM
This problem is solved. :)
Title: Re: Code visible on top of the forum.
Post by: Ken. on February 02, 2015, 07:03:54 PM
Glad you got it worked out  Martine.  O0
Title: Re: Code visible on top of the forum.
Post by: Martine M on February 02, 2015, 07:08:11 PM
Thanks Ken.
Title: Re: Code visible on top of the forum.
Post by: Ken. on February 02, 2015, 07:30:01 PM
You are welcome.
Drop back by anytime... even if you don't need help, you just might have the answer to someone else's issue.   8)
Title: Re: Code visible on top of the forum.
Post by: Martine M on February 02, 2015, 07:44:23 PM
I will hop in more from now on. Was out for a while.