A few days ago, I’ve upgraded the download monitor by Blue Anvil and it caused me a big headache thanks to the author’s initiative to rename the plugin’s folder from wp-downloadMonitor to wp-download_monitor.
I followed exactly the upgrade instructions and, to my disappointment, the download path continue to point to the old folder instead of the new folder. I thought it was the .htaccess, so I opened up the file and everything seems right. I contacted Dreamhost support and as usual, their quick support was quick and helpful. However, they can’t trace the errors as .htaccess has no problem at all.
So today, I finally took some time out to go through the code and debug it. Guess what, it’s in the DATABASE. The table prefix_DLM_DOWNLOADS stores the fix path to the filename, so the .htaccess has no effect and keep pointing to the old folder. Sigh, I have to manually edit every single row to point to the new folder.
What a waste of my time. For those who are still facing the problem, do check your database table and correct the path. Hope you did not waste your time like I did.










April 1st, 2008 at 6:44 pm
could you actually upload your edited one? so it would be easier for everyone.
April 1st, 2008 at 6:47 pm
It’s not in the file. You have to manually edit the database table.
April 8th, 2008 at 3:27 pm
Hello,
I’ve edit .htaccess and became like this:
[code]
.
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.){0,15}blog/download/(.*) /blog/wp-content/plugins/wp-download_monitor/download.php?id=$2 [L]
[/code]
It seems to be stupid!, But it works
Note: you can check it here:
http://www.omardo.com/blog/download/16
<< the website is Arabic try google trans if you want
April 22nd, 2008 at 12:41 pm
If you never fixed this, you can now deactivate/reactivate the plugin and it will automatically change the paths in the DB…
April 22nd, 2008 at 7:41 pm
Thanks for fixing this and informing us about it.