Hey gang,
This is only after trying a fresh install 4 times back-to-back. I've done a fresh install of SMF 1.1.8 and used both the package manager method (successful, i.e. got the TP DB table section to show all was successful) and when I go into admin, I don't see any TP Admin section. I also did the full manual install method (successful) and again, no TP Admin.
http://www.motleypixel.com/pack562/index.php
This is on the default theme, fresh SMF 1.1.8 install.
Any ideas?
Thanks,
Roy
ps. One odd thing I noticed is that in the manual install version it says to copy contents: /tp-files dir to forum root, but when I extract the 0.983 that dir doesn't exist. Hummmm?
Check the manual install instruction to see if all of the files and edits took when you did the install.
How do I manually install TinyPortal (http://docs.tinyportal.co.uk/index.php?topic=29)
EDIT: NM... just saw your edit.
What is the link to the instruction that you used?
Ken,
I used this install instruction: http://docs.tinyportal.co.uk/index.php/topic,29.0.html However, I was using .983 TP binaries...doh!
Okay, so I wiped everything out and and re-installed smf 1.1.8 and now I'm trying TP 1 beta3. I did a full manual install per the above link...and wouldn't you know, it looks good at the home page, BUT, still no Admin=>TP controls what so ever under the Admin tab on both default theme and the current supported Adagio.
I've used TP with a theme called Dibble or something about 3.5 years ago and it worked fine on this same host, not sure what's wrong.
*Update, I can get to blocks and panels edit in admin but only by clicking the "edit block" from the blocks by default on the home page...is this the only way...there's still and Admin TP section right?
-Roy
Is the admin missing or just blank?
If blank: Blank Admin Panel or Text missing? (http://docs.tinyportal.co.uk/index.php?topic=34)
Admin is 100% fully functional for default SMF 1.1.8 install...everything is working great, even TP, but I can't see the TP Admin link w/in the Admin section. Language is set to "English" doesn't seem to be a UTF issue.
There's something I must have missed in the manual install.
This is what I see when I click the "E" for edit block on the Search block...notice the admin menu column at the left and the TP Block/Panel tabs (is this all the tabs I should see and should I see an Admin TP block etc. menu at the left?):
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.motleypixel.com%2Fpublic%2Fposts%2Fadmin.GIF&hash=c318cf524a2f57ebce0e26c4fb011c5c3fedafcf)
Thanks,
Roy
Just a little more background. See, I'm having to manually install because when I upload the TP zip package from the forum is uploads fine to the Packages dir but it has owner "Apache" and that's bad, so then I tried deleting if via ftp and then ftp'ing it back with the correct user (my account) and then making it 777. Issue then was after "applying" the mode I would get a php error saying that /packages/temp/tp_install.php could't do something...I looked and there wasn't any damn /packages/temp dir to begin with...crap...so I followed the FULL manual install and it's still not working right.
Well, looks like I'm going to be scratching this forum again. So I started messing with the blocks and I think more is wrong:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.motleypixel.com%2Fpublic%2Fposts%2Fadmin1.GIF&hash=06f6dbbfdfe512f39083dc48077da6489c093c2a)
I would get with your host. It appears you are having permission troubles.
Alright, I've asked the host as to why when SMF facilities upload files the file ownership becomes "apache" instead of my user account.
Although, I've had no issues running SMF 1.1.8 with several mods (ads management, anti spam) but no TP here: http://www.motleypixel.com running on the same host and user paths.
-Roy
Quote from: lextalionis on March 13, 2009, 07:28:39 PM
Alright, I've asked the host as to why when SMF facilities upload files the file ownership becomes "apache" instead of my user account.
Although, I've had no issues running SMF 1.1.8 with several mods (ads management, anti spam) but no TP here: http://www.motleypixel.com running on the same host and user paths.
-Roy
This 'ownership' thing can be an issue with some servers.
My host has to run a routine once or twice a month that reassigns ownership to me for the files in my site. Not a big problem once you know what needs to be done.
I had to ask mine to check my files. I had files/directories that were owned by "nobody". That has been corrected and I will have them check periodically. This anomaly as I'll call it usually occurs during upload processes.
Is there any chance you could word or tell me what tool/script they use on their end to fix these ownership issues?
Thanks,
Roy
chown yourusername.yourpassword -R /home/yourusername/public_html/*
The above command was what my host used, with my info of course.
I don't know if that is the command your host would need to use... it may be somewhat different on your server.
It's actually this:
chown -R yourusername.yourusergroup /home/yourhomedirectory/public_html/
You don't want to use "yourpassword" on your file, that would be really bad. :)
Quote from: IchBinâ„¢ on March 16, 2009, 06:42:22 PM
It's actually this:
chown -R yourusername.yourusergroup /home/yourhomedirectory/public_html/
You don't want to use "yourpassword" on your file, that would be really bad. :)
You may be right Ich. ;)
... me was only quoting what my host posted as the command and replacing my data with generic terms.
Its all good Ken. I do that stuff at work here all the time. Putting the password on your files/folders would make the password viewable by anyone that could view your directory. So yeah, that wouldn't be good. :D All the command does is -R (recursively) changes the owner and group of all files/folders in the folder you specify. FYI. :up:
Okay,
I backed out of everything again and re-installed smf 1.1.8 and that went as usual (good), when I uploaded tp1_beta3 via admin upload packages it uploaded fine to \packages but I noticed that the zip was owner apache. So my host ran this permission change to my entire account so all files now are owned again by me. I did a list and apply mod and all tested good. Last step via admin was to perform install and this is the same error I was also getting before:
Fatal error: require() [function.require]: Failed opening required '/home/lexurldo/domains/motleypixel.com/public_html/pack562/Packages/temp/./tp_install.php' (include_path='/usr/local/lib/php') in /home/lexurldo/domains/motleypixel.com/public_html/pack562/Sources/Packages.php on line 556
What does Failed opening required '/home/lexurldo/domains/motleypixel.com/public_html/pack562/Packages/temp/./tp_install.php mean?
I don't see a /Packages/temp dir all I see in the /Packages dir is TP1_beta3.zip
I'm thinking maybe to create the /temp dir under packages and uzip tp1_beta3.zip and copy its contents there, but then again, I'm not sure what exactly should be in /temp and what should be elsewhere. Wonder why the temp dir wasn't created?
I think this would be an easy fix any help?
Thanks,
Roy
Create the /temp folder under /Packages and give it the proper permissions for your server. Since you seem to have "chown" (ownership) issues you might want to make sure that "nobody" (apache) does not own it first. If so, ask you host to "chown" it BEFORE installing TP.
If the ownership issue happens often I'd consider changing hosting...
Thanks Skhilled,
So if I create the /temp folder what exactly do I copy there? just the install.php or all the contents of tp1_beta3.zip? Maybe copy just install.php and then all the rest of the files to the root?
Thanks,
Roy
Quote from: lextalionis on March 25, 2009, 02:28:18 PM
Thanks Skhilled,
So if I create the /temp folder what exactly do I copy there? just the install.php or all the contents of tp1_beta3.zip? Maybe copy just install.php and then all the rest of the files to the root?
Thanks,
Roy
You don't actually copy anything to the temp folder Roy.
When you install a Mod through the package manager the process is supposed to make a temp folder, use it during the install of the Mod and then delete the temp folder... sometimes the process will not make the temp folder for some reason so you must do so manually. After doing so you would try your install through the package manager like normal.
Okay, so I left that error on my IE while I contacted my host just to have him re-apply permissions...about 10 minutes later he reapplied all files to my account name. Then I went in and created the /temp folder only. Then I refreshed my page and got the expired page notice and then the smf forum came to the admin prompt to login so I logged in and now TP1 beta 3 shows installed with a green dot; however, I don't have any TP functionality whatsoever, no menus, nothing. Additionally, I find it strange that I now have about 20 files in the temp directory tp_install.php, bunch of .mod files, readme.txt, one xml file, pretty much everything that's in the root of the tp1_beta3.zip (I didn't ftp these manually so the package installer must have don't that as designed).
Of course now those files are owned by apache, so once again the host changed ownership to me. So, my rational thinking was to point to: http://www.motleypixel.com/pack562/Packages/temp/tp-install.php but I receive a 403 forbidden...huh? I went ahead and chmod that file to 777 and still I get a 403. Just fyi I don't have any .htaccess that would inhibit this.
Now, I'm in a weird spot, I tried uninstalling but I get test failed on core files that are mentioned in the manual install, so I decided to chmod all those files to 777, and I tried the uninstall again and still test has failed.
What's the best course of action now?
Thanks,
Roy
Best course of action is to restore the SMF files by uploading all the files from the SMF "large upgrade" package. This will restore your forum as if no mods have been installed.
From there, I would chmod everything to 777 except the Settings.php file which can stay at 666. Then try to do the tinyportal install. If it doesn't work through the package manager at this point, you will have to do a manual install of this mod because of the way your host permissions work.
Everything is okay now, but I get the following error currently in two places only:
Trying to upload a document in the Downloads Manager and for blocks of type html/bbc:
Fatal error: Cannot redeclare template_main() (previously declared in /home/lexurldo/domains/motleypixel.com/public_html/pack562/Sources/Load.php(1726) : eval()'d code:8) in /home/lexurldo/domains/motleypixel.com/public_html/pack562/Sources/Load.php(1726) : eval()'d code on line 733
I really don't know what error is trying to say...any ideas?
Thanks,
Roy
A "redeclare" error means that you have duplicate code somewhere...possibly in Load.php. However, it could be in another file and is being called by the Load.php file.
You usually get duplicate code by uninstalled and reinstalling the same mod. The mod did not remove all of the code and a reinstall added it again.
I blame all of this on the permissions thing...weird things are happening. It seems anytime smf from a server-side invokes a script to make changes it halts. Arrrrrrgggg. Wife's pissed now since I've wasted so much time on this...so when she's pissed...it's all down-hill from here.
So, lets say I'm the host owner, how would I change the server-side behavior to allow user xyz files to always maintain ownership?
Thanks for the help!
-Roy
Most likely would have to recompile apache and php if its not already working that way. PHPsuexec is the module I think you have to compile in it. Google it, I'm sure you'll find lots of info on it.