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: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 355
  • Total: 355

Fatal error: Call to undefined function: tp_addperms()

Started by rcowan, July 18, 2008, 08:51:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rcowan

I tried the search but I came up with nothing. I hope I'm not blind and missed the answer. I'm very new to this website stuff, so please go easy on me.
Anyway, here it goes. I have 1.1.5 SMF. I installed 1.0.5 Tiny Portal. Everything seemed to install correctly and I was happy. This isn't an active forum yet so I didn't do anything more with it. I came back to it this week and every was messed up. I've gotten SMF back most of the way but it seems like I've lost Tiny Portal. Bummer. Now I'm getting this message:
Fatal error: Call to undefined function: tp_addperms() in /homepages/17/d244670455/htdocs/Forums/Sources/Admin.php on line 131
when I try to access my admin button within SMF. Since the function has a TP in front of it, I thought this would be the correct place to ask this question. I hope it is. Thanks in advance for any help you can give me!

The website is www.straightstack.com

G6Cad

Hej and welcome to tinyportal.

From the looks of your site, you have a broken install of tp after all.

What you have to do is follow this guide and i think you will be good to go after that.

How do I manually install TinyPortal

rcowan

Thanks for the reply. I gave the manual install a try but still no dice. I am a bit confused though. In the manual install instructions it says: "In the folder "TPmanual-install" open the "tp-version.mod" that corresponds with the TP version you are trying to install......." I'm trying to install v1.0.5 however, there are files with the names, tinyportal1010-1049.mod, tinyportal1020-1049.mod, tinyportal1048-1049.mod, and tinyportal1049.mod. No tinyportal105.mod to be found. When I opened each of those files all of them (except tinyportal 1049.mod) said v1.0.5 inside so I edited my files as they said but that is a bit confusing to me. Hopefully that was correct. The weird part was those mod files didn't ask me to modify many of the files that the manual install asked me to copy locally (security.php, load.php, subs.php, managePermissions.php, etc) AND it did ask me to modify Admin.php and QueryString.php which I wasn't told to copy locally. I just got the feeling I'm doing something wrong even though the directions were writen pretty clearly. They just didn't match my experience very well....

G6Cad

I can see where it gets confusing.

Try and follow this directions instead, they are for TPV1.0.5 and are the same thats asked to open the file for in the manuall instructions page.

http://docs.tinyportal.co.uk/index.php?topic=140.0

Then simply upload the files from the TP package manaully, and then point your browser to the file manuall_tp_install.php and it will update your database.

rcowan

That one felt better. I made a lot more changes and at least had a reason to open the files I copied locally. Unfortunately I have the same problem. Same exact error.... Any other suggestions or should I just started over from the beginning with SMF and TP? Please say no.... ;-)

rcowan

I got it. I tried modifying the index.php again and this time it works. I must have had something wrong in there still. Thanks SO much for the help!

G6Cad

Your welcome, glad you sorted it. And for your info now, You DONT need to start over  ;)  :up:

I will mark this one to solved.

This website is proudly hosted on Crocweb Cloud Website Hosting.