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,917
  • Total Topics: 21,308
  • Online today: 790
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 432
  • Total: 432

TinyPortal Error!

Started by Cory, November 16, 2007, 09:22:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Xarcell

Cory, please don't PM me for support. The file you linked me is the SSI.php file "before" the changes. I need to see the file "after" the changes, the SSI.php file. Not the SSI.php~

Cory

#11
Quote from: Xarcell on November 16, 2007, 11:59:44 PM
Cory, please don't PM me for support. The file you linked me is the SSI.php file "before" the changes. I need to see the file "after" the changes, the SSI.php file. Not the SSI.php~

1.) Sorry.

2.) Sorry.

3.) SSI.php Attached. (Delete it if it has my personal info and other)

(Sorry for rush but PLEASE hurry! I have to go soon!)

IchBin


Cory

Quote from: IchBinâ,,¢ on November 17, 2007, 12:21:56 AM
Try this one Cory.

Thanks, but new error:


Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /www/110mb.com/c/o/r/y/_/_/_/_/cory/htdocs/forum/SSI.php on line 1745


Diffrent line! Please hurry (Again.. sorry!)

Xarcell

Here is the code from lines 167 to 182:

// Call a function passed by GET.
if (isset($_GET['ssi_function']) && function_exists('ssi_' . $_GET['ssi_function']))
{
call_user_func('ssi_' . $_GET['ssi_function']);
exit;
}
if (isset($_GET['ssi_function']))
exit;
// You shouldn't just access SSI.php directly by URL!!
elseif (basename($_SERVER['PHP_SELF']) == 'SSI.php')
die(sprintf($txt['ssi_not_direct'], $user_info['is_admin'] ? ''' . addslashes(__FILE__) . ''' : ''SSI.php''));

error_reporting($ssi_error_reporting);
@set_magic_quotes_runtime($ssi_magic_quotes_runtime);

return true;


I don't see the problem. What SMF version are you using?

Cory


Xarcell


Cory


IchBin

Sorry Xarcell. Was trying to help the guy in hurry here. :P

Now try this one:

Xarcell

save a copy of your SSI.php somewhere safe.

Then try using the attached file instead.


This website is proudly hosted on Crocweb Cloud Website Hosting.