TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,913
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 590
  • Total: 591
  • @rjen

Error trying to start forum after TP 1.0 beta 3 load

Started by dodant, February 20, 2009, 11:33:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dodant

fresh smf 1.1.8
TP v1.0 beta 3

Did the install manually - package manager doesn't seem to work.
1.  uploaded tp files
2.  ran tp_install.php
3. uploaded modified files

Get error!
Parse error: syntax error, unexpected $end in /home/virtual/site160/fst/var/www/html/goaltalk_test/testsmf/Sources/QueryString.php on line 466.

Went back and looked at my mod in QueryString.php.  Can't see anything wrong.

//  TP Portal  ddt  2/20/09
// Let's do something special for session ids!
      if (defined('SID') && SID != '')
         $buffer = preg_replace('/"' . preg_quote($scripturl, '/') . '\?(?:' . SID . ';)((?:board|topic|page|cat|action)=[^#"]+?)(#[^"]*?)?"/e', "'\"' . \$scripturl . '/' . strtr('\$1', '&;=', '//,') . '.html?' . SID . '\$2\"'", $buffer);
      else
         $buffer = preg_replace('/"' . preg_quote($scripturl, '/') . '\?((?:board|topic|page|cat|action)=[^#"]+?)(#[^"]*?)?"/e', "'\"' . \$scripturl . '/' . strtr('\$1', '&;=', '//,') . '.html\$2\"'", $buffer);
//  end TP Portal  ddt  2/20/09

suggestions?

Xarcell

Make sure your { and } are in the proper places/extras.

dodant

Thanks,
I was missing a '}'

Also, think I found an error in the mod instructions.

for the Load.php mod, the last line is listed as

)),

I got it to work with just

))


G6Cad

No error there, YOU forgot the last , when it asks you to add after ;)

This website is proudly hosted on Crocweb Cloud Website Hosting.