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?
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
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.
You have the same problem installing any other mods?
I will try another mod when there is time. I will let you know asap.
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?
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.
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>
It should have used /temp for the installation files and then removed them after installation. Did the mod install?
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???
Quote from: Skhilled on February 06, 2010, 05:59:49 PM
It should have used /temp for the installation files and then removed them after installation. Did the mod install?
SMF reports that the mod is installed, however is did not write the folder to the /smileys/ directory
Quote from: me123 on February 06, 2010, 06:01:46 PM
Thinking: I have installed the forum (which is working correctly) in the root of another website, which is already running.
That should have nothing to do with it. I have about 10 test sites running under my main one.
Quote from: me123 on February 06, 2010, 06:01:46 PM
Could by any chance the .htaccess file mix things up? I see a lot of rewrite rules in it. Can that be the cause???
That is a possibility but I don't know much about the rewrites. I do suggest that you contact your hosting and ask them to chown your files and folders for you if you do not have root permissions.
OK, I have looked at the directories. I am using DIrectAdmin and in files I see UID and GID. Almost all files have user*** (thats me) and the temp files have a APACHE as owner... Now what?
If any of your SMF files and directories do not have you as the owner then they will have to be changed or they cannot be written to, deleted, moved, etc. until they are. If you cannot change them yourself then you'll have to contact your host.
I haven't used DirectAdmin in ages so I can't comment on it's usage.
Not sure what is going on exactly but something isn't right.
I have to change them manually, which is possible (there is an option: reset owner). Is there a way to automate this, because in future this will cause problems all over again.
If you have SSH access or WHM you do this with one command.
EDIT: That is, if you are on a linux server. I'm not sure about Windows servers.
OK, I solved the problem. suPHP had to be installed at my server.