drencor
Forum Replies Created
-
The code you need to look for is in the file called
map_download.phpThe block of code you need to search in that file is this:
$file_url = str_replace ($protocol. $web_address .'/', '', $file_url); $file_url = $web_root ."/". $file_url; $file_url = str_replace('//', '/', $file_url);The replacement code should look like this:
$file_url = str_replace ($protocol. $web_address .'/', '', $file_url); //$file_url = $web_root ."/". $file_url; //$file_url = str_replace('//', '/', $file_url);Currently 1.45 also has the same bug and it wasn’t fixed as I had hoped. I had to edit this file again. So the problem itself hasn’t been fixed till the author fixes this file to comment out or remove these two lines of code.
As far as your color problem. I am not that adept with php myself or CSS. Just get enough done to keep stuff working. You might want to create a new thread with that request if it is a problem to see if someone can help fix that as this thread is mainly for the problem for the media file downloads.
I found the problem.
In the php file called map_download.php I found two lines of code I needed to comment out to work. Here are the lines:$file_url = $web_root ."/". $file_url; $file_url = str_replace('//', '/', $file_url);