The download plugin uses a system to prevent direct linking from external sites. For some reason the validation fails.Try this: refresh the page and click again. Still the same error? Do this 2-3 times.If this doesn't work you need to debug the plugin.Here is how you will do it.Open file components/com_content/plugins/download/includes/dl.phpFind all occurrences of "invalid request" string and append a unique integer next to it.Example:dlend('Invalid request! 1');....dlend('Invalid request! 2');...etcNow click again the download link and see the message. It will display something like Invalid request! X, where X the integer you wrote. Copy-paste me the source code around this message, or write me the source line number, to see what the download script does there in order to understand why the validation fails.Note: the download plugin links expire after 30 minutes ! So always refresh the page before testing. If the page is cached it is normal to get invalid request response due to expired links...
$c = isset($_GET['c']) ? trim(urlencode($_GET['c'])) : '';if ($c == '') { dlend('Invalid request!3'); }$c2 = preg_replace("/[^a-zA-Z0-9\s\+\=\-\!\/]/", '', $c);if ($c2 != $c) { dlend('Invalid request!4'); }
c=UmEHLV5mB34EPgcuU2JadltpUjFQPwA0UGwKYAMzAWwJOg==
It can't be that... the characters preg_replace removes are not in $_GET['c'] variable.Quotec=UmEHLV5mB34EPgcuU2JadltpUjFQPwA0UGwKYAMzAWwJOg==Do this, replace:$c = isset($_GET['c']) ? trim(urlencode($_GET['c'])) : '';with this:$c = isset($_GET['c']) ? trim($_GET['c']) : '';and retry
if ($m > 0) { $confpath = ELXIS_PATH.'/configuration.php';} else { $confpath = ELXIS_PATH.'/config'.$m.'.php';}if (!file_exists($confpath)) { dlend('Invalid request!5'); }include($confpath);if (!class_exists('elxisConfig', false)) { dlend('Invalid request!6'); }