FTP not disabling

admin2102

New Member
YetiShare User
Jan 15, 2013
85
0
0
Can not disable FTP upload plugin. When I go to disable the plugin it stays enabled. Also when I do enable it the home page changes I loose all my images and links to the script. pic related
 

Attachments

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
I think it might be a bug, you can disable any plugin in your database control panel - plugins table - then change the plugin_enabled column from "1" to "0" to disable it

You can check for the missing line in /plugins/ftpupload/admin/settings.php

Search for
Code:
$plugin_enabled      = (int) $_REQUEST['plugin_enabled'];
If its not in the file

Find:
Code:
if (isset($_REQUEST['submitted']))
{
    // get variables
Add below
Code:
$plugin_enabled      = (int) $_REQUEST['plugin_enabled'];
So it looks like this
Code:
if (isset($_REQUEST['submitted']))
{
    // get variables
	$plugin_enabled      = (int) $_REQUEST['plugin_enabled'];