Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: say170 - heinäkuu 01, 2011, 06:28:06 AP

Otsikko: cannot install mod on Windows
Kirjoitti: say170 - heinäkuu 01, 2011, 06:28:06 AP
I have a standalone board running on Windows.  I want to install the Custom Board Sort mod, but when I apply it, it wants to ftp to the machine to change permissions of files.  Since all the files are fully editable, I'm confused with what it's trying to do.

Package Manager Options thinks 'Only the standard files are writable', but of course, on windows, they all are.  Do I need to change this - and if so, how?
Otsikko: Re: cannot install mod on Windows
Kirjoitti: Illori - heinäkuu 01, 2011, 06:30:14 AP
you would need to ask your host to change the permissions to allow the server to write to all files on the server.
Otsikko: Re: cannot install mod on Windows
Kirjoitti: say170 - heinäkuu 01, 2011, 06:34:22 AP
it's not on a windows server.  I have it installed on a standalone box


it looks like \forum\packages\temp has been created by some strange means

C:\forum\Packages>cd temp
Access is denied.

and I'm the system admin... 
Otsikko: Re: cannot install mod on Windows
Kirjoitti: Illori - heinäkuu 01, 2011, 06:48:23 AP
then you need to give the server access to write the files, which you have not done. check the permissions again.
Otsikko: Re: cannot install mod on Windows
Kirjoitti: say170 - heinäkuu 01, 2011, 07:05:50 AP
ok, I've got further, I enabled the administrator account (even though I'm in the same group), switched to it, and the temp folder had disappeared.  So I re-created it, and can now access ok.  Now when I hit the "apply mod" button, I get a blank screen.

http://192.168.1.2/index.php?action=packages;sa=install;package=CustomBoardSort_1.0.2.tar.gz;sesc="removed a long string here"

I've tried from firefox, IE, and the same from the administrator account.
Otsikko: Re: cannot install mod on Windows
Kirjoitti: Illori - heinäkuu 01, 2011, 07:08:00 AP
sounds like the permissions on the package to be installed is not correct. this would be much easier on a linux server by the way.
Otsikko: Re: cannot install mod on Windows
Kirjoitti: say170 - heinäkuu 01, 2011, 08:26:49 AP
Other packages install fine.. just this one won't. 
Otsikko: Re: cannot install mod on Windows
Kirjoitti: Illori - heinäkuu 01, 2011, 08:28:34 AP
check the permissions on the package file on the server, this can even happen on some linux servers. the permissions are not correct for your server so it will not install.
Otsikko: Re: cannot install mod on Windows
Kirjoitti: say170 - heinäkuu 01, 2011, 11:27:22 AP
as I keep saying, this is windows.. there's a only a limited number of permissions you can set.  I even have UAC turned off and have granted all users full control over the files.
Otsikko: Re: cannot install mod on Windows
Kirjoitti: Illori - heinäkuu 01, 2011, 11:30:38 AP
have you verified the permission on that specific file? either that is the problem or there is an issue with the package you are trying to install.
Otsikko: Re: cannot install mod on Windows
Kirjoitti: say170 - heinäkuu 01, 2011, 12:03:32 IP
I've checked the permissions of all the files in the temp folder.  This is a popular mod.  I'm sure if it were broken for everyone, I'd find a hit.
Otsikko: Re: cannot install mod on Windows
Kirjoitti: Illori - heinäkuu 01, 2011, 12:06:29 IP
if you check the properties of the file is it marked read-only? you have verified that the user group your webserver is running as, has permission to read & execute, read, write this file?
Otsikko: Re: cannot install mod on Windows
Kirjoitti: say170 - heinäkuu 04, 2011, 05:49:36 AP
This is not a server. It's me as the user running the forum standalone.  It's Windows 7 32-bit, with UAC disabled, logged in as and Administrator account with access to everything. 

C:\forum\Packages\temp>attrib * /s
A            C:\forum\Packages\temp\languages\english.xml
A            C:\forum\Packages\temp\themes\core-11.xml
A            C:\forum\Packages\temp\themes\curve.xml
A            C:\forum\Packages\temp\CHANGELOG
A            C:\forum\Packages\temp\database.php
A            C:\forum\Packages\temp\install-11.xml
A            C:\forum\Packages\temp\install-20.xml
A            C:\forum\Packages\temp\package-info.xml
A            C:\forum\Packages\temp\README
A            C:\forum\Packages\temp\smf_customboardsort.kpf
Otsikko: Re: cannot install mod on Windows
Kirjoitti: Illori - heinäkuu 04, 2011, 06:24:55 AP
for testing i run wamp server under windows 7 with no such problems. there is something up with how you are configuring your server.
Otsikko: Re: cannot install mod on Windows
Kirjoitti: say170 - heinäkuu 07, 2011, 08:21:25 AP
have you installed this particular mod?  All of these have installed perfectly apart from the first one:

1.    Custom Board Sort    1.0.2    [ Apply Mod ] [ List Files ] [ Delete ]
2.    DisplayPostedTopicsMod    1.0    [ Uninstall ] [ List Files ] [ Delete ]
3.    Notify Modification Last Post    1.3    [ Uninstall ] [ List Files ] [ Delete ]
4.    ShowTopics    1.1    [ Uninstall ] [ List Files ] [ Delete ]
5.    SMF 1.0.20 / 1.1.12 Update    1.0    [ List Files ] [ Delete ]
6.    SMF 1.0.21 / 1.1.13 Update    1.0    [ List Files ] [ Delete ]
7.    SMF 1.1.14 Update    1.0    [ Uninstall ] [ List Files ] [ Delete ]
8.    TextareaResizer    1.1
Otsikko: Re: cannot install mod on Windows
Kirjoitti: Illori - heinäkuu 07, 2011, 08:25:22 AP
if it is just an issue with one mod post in their support thread for help.