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: 0
  • Guests: 513
  • Total: 513

Afraid

Started by Cloud Walker, May 10, 2009, 07:26:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Petee

One of the mods changed the section of code in the Admin.php file that TP is looking for. If it were me, I would make backups, install TP and edit the file that failed manually.

If you look at the file that failed... ( Sources/Admin.php ), TinyPortal is trying to locate this section of code below:


// You have to be able to do at least one of the below to see this page.
isAllowedTo(array('admin_forum', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_boards', 'manage_smileys', 'manage_attachments'));


One of your mods has probably changed that array, so yours will not look EXACTLY like that, thus causing the error.  TP is trying to change it to:


// You have to be able to do at least one of the below to see this page.
$admPerms = TP_addPerms();
isAllowedTo($admPerms);

This website is proudly hosted on Crocweb Cloud Website Hosting.