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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 291
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 207
  • Total: 207

TinyPortal v0.8.6

Started by Lesmond, February 05, 2006, 02:35:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

eyvind

#110
I just installed TP86 on RC2 with Amber, but it seems my board was completely annihilated by it. ^_^

When I try to access the board (http), any page, I get a parse error for Load.php:

QuoteParse error: parse error, unexpected $, expecting ')' in /home/eyvindsc/public_html/forum/Sources/Load.php on line 2089

That line happens to be the very last line of Load.php, the rest is completely cut off. As you can see from this excerpt (the last lines of Load.php):
Quotefunction get_memcached_server($level = 3)
{
   global $modSettings, $memcached, $db_persist;

   $servers = explode(',', $modSettings['cache_memcached']);
   $server = explode(':', trim($servers[array_rand($servers)]));

   // Don't try more times than we have servers!
   $level = min(count($servers), $level);

   // Don't wait too long: yes, we want the server, but we might be able to run the query faster!
   if (empty($db_persist))
      $memcached = @fsockopen($server[0], empty($server[1]) ? 11211 : $server[1], $err, $err, 0.15);
   else
      $memcached = @pfsockopen($server[0], empty($server[1]

How did this happen, and what's supposed to be below this?

EDIT: I did make a backup before I installed TP, but the backup did not seem to work for some reason. D:

bigsimon

Quote from: IchBinâââ,¬Å¾Ã,¢ on February 05, 2006, 06:00:29 PM
You cannot put in your ftp info for SMF to fix this? When you have the error on install, you should be able to put your ftp info in and let smf do the changes so the package will install.
The first time I tried installing, it allowed me to put my FTP info in.  I tried installing and got the permissions error.  Now all it gives me is the permissions error.

Xarcell

Did you install anything else other than TP?

IchBin


eyvind,
If you cannot access your site, I would suggest putting back in the original SMF files for your forum, EXCEPT the settings.php file which holds all your database info.

IchBin

bigsimon, if you'd like I can take a look at your forum. Just PM me the info if you want. Seems we are exhausted with ideas atm.

eyvind

Quote from: Xarcell on February 05, 2006, 06:04:39 PM
Did you install anything else other than TP?

Not at the same time as TP, I did install the Ultimate Shoutbox a while back, but that wouldn't mess Load.php up now.

Quote from: IchBinâââ,¬Å¾Ã,¢If you cannot access your site, I would suggest putting back in the original SMF files for your forum, EXCEPT the settings.php file which holds all your database info.

I'll try that.

And then try installing TP86 and the TP86 Amber theme? in that order?

bigsimon

To update... I cleared my browser's cache, and tried again.  It once again allowed me to enter my FTP data.  After pressing the Install Now button, it gave me the following error:

QuoteFatal error: packageinstall(): Failed opening required '/hsphere/local/home/bigsimon/simonproject.com/Packages/temp/./tp_install.php' (include_path='.:/usr/local/lib/php') in /hsphere/local/home/bigsimon/simonproject.com/Sources/Packages.php on line 534

Xarcell

bigsimon

Your folder and files need to be 777. Some disagree, but SMF is designed to give you protection. Just ask Unknown, he'll lay the smackdown on you.

However, some hosts won't allow 777, only 775 for secruity reasons. I had a similair issue and pleaded with my host to allow it. chmod it to 777. Refresh and try again, see if it automactically reverted back to 775.

This may, or may not be your issue. Only trying to help. If you have already installed SMF before, it shouldn't be an issue.

IchBin

Quote from: eyvind on February 05, 2006, 06:07:29 PM

I'll try that.

And then try installing TP86 and the TP86 Amber theme? in that order?

Yes that would be fine.

Xarcell

bigsimon

Good thinking.

Now try uninstalling previous versions of TP. Then delete. Then install version v.86 of TP.

This website is proudly hosted on Crocweb Cloud Website Hosting.