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,910
  • Total Topics: 21,307
  • Online today: 705
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 712
  • Total: 713
  • lurkalot

TP installs in root directory.

Started by me123, February 05, 2010, 02:10:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

me123

Version Information:
Forum version: SMF 1.1.11 (more detailed)
Current SMF version: SMF 1.1.11
PHP version: 5.2.10
MySQL version: 5.0.81-community
Server version: Apache/2
GD version: bundled (2.0.34 compatible)

I am trying to install TP 1.0b4

When I do this via package manager, it installs in the wrong folders. My forum is in:

/home/userxxx/domains/MYDOMAIN.nl/public_html/forum

However, the package installer installs all the way into:
/

So in a way higher directory/folder than /public_html

What should I do?

ZarPrime

me123,

Have you ever moved your SMF install from the root folder to the subdirectory?

You can check the settings.php in your Forum root Folder, especially the paths listed under "########## Directories/Files ##########".

also, you might want to take a look at this topic on SMF ...
http://docs.simplemachines.org/index.php?topic=663

ZarPrime

me123

Did it both, no result. In settings.php is the path as I indicated in my first post.
I am running on a VPS server, does that have anything to do with it?

repair_settings.php advises the same path.

IchBin

You have the same problem installing any other mods?

me123

I will try another mod when there is time. I will let you know asap.

me123

I tried to install "fantasticsmileys". It should add the folder to ./Smileys/fantasticsmileys but I do not see it there. Also not in the ultimate root directory.
SMF reports it is installed properly and it also successfully uninstalls... Where are the mods going?

Skhilled

Well, they have to be going somewhere. LOL

Personally, I think you are having chown and/or chmod issues. Also, you might want to create a /temp folder in /Packages to help with the installs. Packages may not be creating it on the fly when it installs your mods.

/Packages/temp and try to install it again. You'll want to uninstall the mod(s) first.

me123

 http://mydomain.nl/forum/index.php?action=packages;sa=install2;package=FantasticSmileys.zip

2: opendir(/home/user***/domains/mydomain.nl/public_html/forum/Packages/temp/fantasticsmileys) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory
File: /home/user***/domains/mydomain.nl/public_html/forum/Sources/Subs-Package.php
Line: 1253

I made a /packages/temp directory
It saves a file there: packageinfo.xml

<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
  <id>Sirkonrads:fantasticsmileys</id>
  <name>FantasticSmileys</name>
  <version>1.0</version>
  <type>modification</type>
  <install>
    <require-dir name="fantasticsmileys" destination="$smileysdir" />
  </install>
  <uninstall>
    <remove-dir name="$smileysdir/fantasticsmileys" />
  </uninstall>
</package-info>


Skhilled

It should have used /temp for the installation files and then removed them after installation. Did the mod install?

me123

Thinking: I have installed the forum (which is working correctly) in the root of another website, which is already running. Could by any chance the .htaccess file mix things up? I see a lot of rewrite rules in it. Can that be the cause???

This website is proudly hosted on Crocweb Cloud Website Hosting.