SMF Support > SMF 2.0.x Support
Problem with installing mods
Metal_13:
im also getting an error... is this a bug?
i took a screenshot of mine... i need help with this pls...
i cant see any install button... its just blank at the last part...
madfiddler:
Either this problem is solved elsewhere and we're not getting any replies - so we're doing something so stupid it doesn't warrent a reply. Think I'll take advantage of my charter membership and create a support ticket. I'll post the results when I get something.
SleePy:
I think this may be related to this bug: Bug #1899: Can't uninstall a package when FTP info is require
I will need to wait until I get home though to look up the revision edits and provide the changes that where done for you. Unless another team member is able to do this :)
SleePy:
Try this..
Open Packages.php
Find:
--- Code: --- if (!empty($chmod_files))
{
$ftp_status = create_chmod_control($chmod_files);
$context['ftp_needed'] = !empty($ftp_status['files']['notwritable']);
}
--- End code ---
Replace:
--- Code: --- if (!empty($chmod_files))
{
$ftp_status = create_chmod_control($chmod_files);
$context['ftp_needed'] = !empty($ftp_status['files']['notwritable']) && !empty($context['package_ftp']);
}
--- End code ---
This the code from the patch file as well
--- Code: ---Index: Sources/Packages.php
===================================================================
--- Sources/Packages.php (revision 7095)
+++ Sources/Packages.php (revision 7096)
@@ -640,7 +640,7 @@
if (!empty($chmod_files))
{
$ftp_status = create_chmod_control($chmod_files);
- $context['ftp_needed'] = !empty($ftp_status['files']['notwritable']);
+ $context['ftp_needed'] = !empty($ftp_status['files']['notwritable']) && !empty($context['package_ftp']);
}
}
--- End code ---
madfiddler:
Thanks :) Can you explain
--- Quote ---This the code from the patch file as well
--- End quote ---
?
Not sure what you mean.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version