Page 1 of 1

Problem with mod_phocadownload_statistics_v1.0.0

Posted: 03 Jul 2009, 18:04
by HosHi
Line 101 in the mod_phocadownload_statistics.php is bad, if the Admin folder via
htaccess file is locked.
original line:

Code: Select all

			$output .= '<div style="background:'.$colors[$color].' url(\''. 
JURI::base(true).'/administrator/components/com_phocadownload/assets/images/white-
space.png'.'\') '.$per.'px 0px no-repeat;width:'.$module_width_div.'px;padding:5px 
5px;margin:5px 0px;font-size:'.$font_size.'px">';
It is then always the htaccess consultation. (Username / password)

My solution:
The Asset Odner aud the Admin folder in the copy and the mod_phocadownload_statistics
Line to change.

Code: Select all

			$output .= '<div style="background:'.$colors[$color].' url(\''. 
JURI::base(true).'/modules/mod_phocadownload_statistics/assets/images/white-space.png'.'\') 
'.$per.'px 0px no-repeat;width:'.$module_width_div.'px;padding:5px 5px;margin:5px 0px;font-
size:'.$font_size.'px">';

Re: Problem with mod_phocadownload_statistics_v1.0.0

Posted: 06 Jul 2009, 20:24
by Jan
Ok, thank you for this info, I will change it, so it takes the image from frontend.

Jan