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

SMF 1.1.8 + TP 0.983 + Default Theme = No TP Admin...

Started by lextalionis, March 13, 2009, 03:05:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lextalionis

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

Ken.

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.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

IchBin

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. :)

Ken.

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.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

IchBin

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:

lextalionis

#15
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

Skhilled

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...

lextalionis

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

Ken.

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.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

lextalionis

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

This website is proudly hosted on Crocweb Cloud Website Hosting.