TinyPortal

Development => Support => Installation => Topic started by: rcowan on July 18, 2008, 08:51:56 AM

Title: Fatal error: Call to undefined function: tp_addperms()
Post by: rcowan on July 18, 2008, 08:51:56 AM
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
Title: Re: Fatal error: Call to undefined function: tp_addperms()
Post by: G6Cad on July 18, 2008, 08:54:49 AM
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 (http://docs.tinyportal.co.uk/index.php?topic=29)
Title: Re: Fatal error: Call to undefined function: tp_addperms()
Post by: rcowan on July 18, 2008, 06:30:36 PM
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....
Title: Re: Fatal error: Call to undefined function: tp_addperms()
Post by: G6Cad on July 18, 2008, 06:42:43 PM
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.
Title: Re: Fatal error: Call to undefined function: tp_addperms()
Post by: rcowan on July 18, 2008, 07:30:24 PM
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.... ;-)
Title: Re: Fatal error: Call to undefined function: tp_addperms()
Post by: rcowan on July 18, 2008, 07:38:39 PM
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!
Title: Re: Fatal error: Call to undefined function: tp_addperms()
Post by: G6Cad on July 18, 2008, 07:43:35 PM
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.