TinyPortal

Development => Support => Installation => Topic started by: dunargo on March 24, 2008, 05:03:21 PM

Title: basic noob error
Post by: dunargo on March 24, 2008, 05:03:21 PM
I am attempting to install TP (0.983)on my smf forum( SMF 1.1.4) When attempting to install via the package manager i am getting 550 /Forum: No such file or directory. I have ran a smf/TP forum a while back and I cant for the life of me think what the heck the proper path should be.
Title: Re: basic noob error
Post by: G6Cad on March 24, 2008, 05:27:58 PM
It's nothing wrong ti the paths, rather permission error to the files and folders on the server.
You have to install tp manually with the help of our doc section and the modinstructions there.
Title: Re: basic noob error
Post by: dunargo on March 24, 2008, 06:39:26 PM
Any clues or whatnot to what files/folders need the permissions changed? I am not having much luck with the manual install.
Title: Re: basic noob error
Post by: G6Cad on March 24, 2008, 06:58:00 PM
What are not working with the manuall install ?

The files that must have the correct permissions set is pakages folder, and create a folder inside that and name it to temp and set it to 755 or 777 depending on your servers settings.
But i dont think that will work for you, there are several files that needs to be edited by the installer so  eather way you will have to go with a manuall install.
Title: Re: basic noob error
Post by: dunargo on March 24, 2008, 07:23:59 PM
I am not getting it basically. I have unpacked everything to the /Forum folder, ran the manual install, got the page saying TinyPortal´s table structure is now installed/updated.. Now I do not know which index.php I should be opening. The one in the default folder? Tried that and cannot find any of the code it is asking to change. Is there a link of the .php somewhere to download for stupid idiots like myself

Guess I am confused why it is not working as it did the first time i used it It worked just fine, using all the same things I am now.
Title: Re: basic noob error
Post by: JPDeni on March 24, 2008, 07:32:05 PM
Look for the directory where you installed SMF. It should be something like

http://www.domain.com/Forum/

Actually, you should just be able to enter that into your browser. Or you can use

http://www.domain.com/Forum/index.php
Title: Re: basic noob error
Post by: G6Cad on March 24, 2008, 07:50:39 PM
It seems like you have done 2 out of 3 steps , you have missed the copy and paste part.
You have to add in the tp code manually into the SMF files according to the modinstruction in out docsection.
Title: Re: basic noob error
Post by: dunargo on March 24, 2008, 08:01:40 PM
Ok so to make sure I have this correct.

my smf is installed at domain.com/Forum
So i will extract and put everything from the manual install .rar in that same area correct?

from there browse to domain.com/Forum/manual_tp_install.php, get the table structure is now installed/updated page. from there do everything posted here?: http://www.tinyportal.net/index.php?topic=14195

and that is that?
Title: Re: basic noob error
Post by: G6Cad on March 24, 2008, 08:45:08 PM
Yes on both accounts :)
Title: Re: basic noob error
Post by: dunargo on March 24, 2008, 09:29:02 PM
Well i broke something....
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 77824 bytes) in/home/orderoft/domains/orderoftheevenstar.net/public_html/Forum/Sources/Load.php(1733) : eval()'d code on line 136

I have triple checked everything I've done. Im not seeing any errors or anything I missed


*left out part of the error
Title: Re: basic noob error
Post by: G6Cad on March 24, 2008, 10:14:33 PM
That error is nothing we can help you sort out as it's a server setting, you need to contact your host and ask them to set a higher memory value.
16mb is common.
Title: Re: basic noob error
Post by: dunargo on March 25, 2008, 04:07:49 AM
Ok any know what I should be putting in the .htaccess file? I spoke with my host, they wont up the limit but htaccess files are aloud which i can set it myself in there. Only problem is they dont support them and i have no clue what i need in it. And cant find much online regarding memory size settings... Help!
Title: Re: basic noob error
Post by: siath on March 25, 2008, 04:44:32 AM
I would suggest doing a search on Yahoo or Google, use this as the search params:

htaccess memory limit

I just searched and came up with a ton of information about setting memory in the htaccess file and even work arounds when that doesn't work.

I won't tell you how or what to do as I don't want to be responsible if your computer melts down or your provider growls and attacks. But, this information should get you looking in the right direction.

Siath
Title: Re: basic noob error
Post by: dunargo on March 25, 2008, 04:53:29 AM
Yea problem is I did that :P and I added some code:

php_value memory_limit 32M
php_value post_max_size 32M
php_value upload_max_filesize 32M


did nothing. Same error
Title: Re: basic noob error
Post by: siath on March 25, 2008, 05:08:19 AM
No idea, I have never had to do that. I would say trying to set it to 16M instead of 32 as I think someone said 16 was default for most providers. Other than that I would say keep searching or call your provider back.

Sorry, I can't help
Siath
Title: Re: basic noob error
Post by: dunargo on March 25, 2008, 05:29:27 AM
Well my code is working, I know this as it is changing: Fatal error: Allowed memory size of 68157440 bytes exhausted (tried to allocate 77824 bytes) in /home/orderoft/domains/orderoftheevenstar.net/public_html/Forum/Sources/Load.php(1733) : eval()'d code on line 136



What I have bolded and enlarged is changing, change the parameter to 32M then it goes to around 33000000 bytes. but still always regardless of that it says:exhausted (tried to allocate 77824 bytes) in /home/orderoft/domains/orderoftheevenstar.net/public_html/Forum/Sources/Load.php(1733) : eval()'d code on line 136

Always the same error
Title: Re: basic noob error
Post by: G6Cad on March 25, 2008, 05:43:11 AM
It wont matter how you set thee htaccess file, if the server only allowe you to use 8mb of memory you will never get it to work.
I suggest you change host  :P
Title: Re: basic noob error
Post by: dunargo on March 25, 2008, 05:47:18 AM
Well what is going on then... Hehe.. I used the same host no more than 6 months ago for the exact same things I am trying to run now. And had no problems at all, even was able to install the TP automatically hehe. hmmmm might see if i can get them to put me on that server cluster i was on b4
Title: Re: basic noob error
Post by: dunargo on March 25, 2008, 06:04:25 AM
Yea ok... That brings me to this, is it possible to get ahold of whatever version of SMF and TP were being used in Dec of 07, so I can see if they work?
Title: Re: basic noob error
Post by: G6Cad on March 25, 2008, 06:07:41 AM
The same versions as now, SMF 1.1.4 and TP V098  nothing have changed since then.
Title: Re: basic noob error
Post by: JPDeni on March 25, 2008, 12:42:36 PM
You obviously have some problem in what you're installing. I'm going to ask questions that you have already answered, just to get them all answered in the same place so we both know where we stand.

Did SMF work before you installed TP?

What steps did you take in installing TP?

You may need to uninstall TP and try it again, especially if you did a manual install.
Title: Re: basic noob error
Post by: dunargo on March 25, 2008, 06:25:31 PM
1. Yes it worked fine.

2. Downloaded the manual install, unpacked it all to my DT. FTP the files from each folder into the already existing ones, moved the stuff that did not exist to the default /forum folder.  Browsed to domain.com/Forum/manual_tp_install.php got the
table structure is now installed/updated page. Then went here and did all this, http://www.tinyportal.net/index.php?topic=14195. I Have since went back 8 times and rechecked every line of code. Not saying it isnt possible i missed something but highly doubt it.

It may not be that just because i ran all the same stuff before i am doing something wrong, they have many many many different server clusters and i may have been on one b4 with different settings.


Title: Re: basic noob error
Post by: JPDeni on March 25, 2008, 06:59:04 PM
The only thing that I can suggest is that you delete all the TP stuff and do it all over again. Bummer, I know. If you still have the same problem, then you can be more certain that it's not something that you did and is more likely to be your server.
Title: Re: basic noob error
Post by: dunargo on March 25, 2008, 07:11:22 PM
Any ideas why it wont let the install run from inside SMF packages?
Title: Re: basic noob error
Post by: JPDeni on March 25, 2008, 07:17:21 PM
None. I've never had the problem, myself and I've not been able to find any pattern with those who have had it. It has to be some difference in the server, because the files are all the same, but I don't know what it is on the server that makes the difference.

Another thing I would do is set up a test site and install both SMF and TP from scratch and see what happens. That's another way to know if it's a server problem or a "user" problem. :)
Title: Re: basic noob error
Post by: dunargo on March 25, 2008, 07:24:37 PM
Dont know how I would though heh. Dont have anywhere to test it to find out if it as I think there is at least some issue on my hosting lol
Title: Re: basic noob error
Post by: IchBin on March 25, 2008, 08:17:38 PM
About a million ideas. Unfortunately, it almost always comes down to a server configuration issue. And those issues are really hard to track down. So we recommend the manual install unless you are willing to change hosts. :)
Title: Re: basic noob error
Post by: dunargo on March 25, 2008, 09:48:55 PM
Well does anyone know of a host that offers or matches basically:

5000 megabytes of space
- 100000 megabytes of transfer
- NO setup fees
- 500 pop3 & ftp accounts
- 50 mysql databases
- 30 day no-hassle guarantee
- Unlimited domains

FOr 8.95 a month that you know will do what i need (SMF + TP ) and a tool similar to Direct Admin ( i love it)

I feel a little annoyed and dumb as I told my guild in a game I could get this up and running no problems for them and that those guys were a great host >< :knuppel2:
Title: Re: basic noob error
Post by: dunargo on March 25, 2008, 09:55:30 PM
Uggg...

I started fresh wiped and rebuilt the SQL database and deleted everything.... Now I get this:


Warning: require_once(/home/orderoft/domains/orderoftheevenstar.net/public_html/Forums/Sources/TPortal.php) [function.require-once]: failed to open stream: No such file or directory in /home/orderoft/domains/orderoftheevenstar.net/public_html/Forums/index.php on line 55

Fatal error: require_once() [function.require]: Failed opening required '/home/orderoft/domains/orderoftheevenstar.net/public_html/Forums/Sources/TPortal.php' (include_path='.:/usr/local/lib/php') in /home/orderoft/domains/orderoftheevenstar.net/public_html/Forums/index.php on line 55


What did i do this time ><
Title: Re: basic noob error
Post by: JPDeni on March 25, 2008, 10:15:17 PM
Reinstall the original SMF files so that there is no reference to TP in any of them.
Title: Re: basic noob error
Post by: IchBin on March 25, 2008, 10:35:06 PM
Quote from: dunargo on March 25, 2008, 09:55:30 PM
Uggg...

I started fresh wiped and rebuilt the SQL database and deleted everything.... Now I get this:


Warning: require_once(/home/orderoft/domains/orderoftheevenstar.net/public_html/Forums/Sources/TPortal.php) [function.require-once]: failed to open stream: No such file or directory in /home/orderoft/domains/orderoftheevenstar.net/public_html/Forums/index.php on line 55

Fatal error: require_once() [function.require]: Failed opening required '/home/orderoft/domains/orderoftheevenstar.net/public_html/Forums/Sources/TPortal.php' (include_path='.:/usr/local/lib/php') in /home/orderoft/domains/orderoftheevenstar.net/public_html/Forums/index.php on line 55


What did i do this time ><
Can you please provide details on what you are doing? Did you try the manual install or the package install? How did you do it? It looks like you tried to use the install.php file instead of the manual_tp_install.php file in your browser, but I can't be certain because you've provided no additional information.
Title: Re: basic noob error
Post by: dunargo on March 25, 2008, 10:39:14 PM
Manual install

Changed the permissions on all the files ( sited in the SMF install)
uploaded the manual install.php to this directory /public_html/Forums.
Uploaded all the files from the manual install download( put stuff that is in folders that are already created inside of them, and others that werent in the default folder)
ran the manual install php file, got the tables built page. Manually edited and triple checked the code for each of the files listed here, http://www.tinyportal.net/index.php?topic=14195.

As far as the error i got this time yea im not sure what i did. I will do it all again heh. As i stated above see what happens this time :D

Title: Re: basic noob error
Post by: IchBin on March 25, 2008, 11:04:18 PM
MAKE SURE the php file you are uploading is named "manual_tp_install.php" AND NOT "install.php". That will cause errors.