Hi,
We’re using WPDM for the software download area on our website, I created several downloads and added the shortcodes to a page in wordpress. Worked great!
Now I had to move the full installation to a new server. I copied the full database and the full wordpress folder to the new server, I changed some settings and the site is working.
Problem: I can’t download my files. I see ‘0 File(s)’ and the download link does not work.
I found the entry for the file in the wp_postmeta table, I changed the value for meta_key=__wpdm_files to the correct value
Example:
'a:1:{i:0;s:39:\"wp-content/uploads/files/version_7_0/doc/jd_qs_d.pdf\";}'
Still doesn't work.
I assigned the file again in the backend - download is working now, but the postmeta path has the same value as before:
‘a:1:{i:0;s:52:\”wp-content/uploads/files/version_7_0/doc/jd_qs_d.pdf\”;}’
Question now: Why does the download not work before I reassigned the file? Path is correct, the must be another value, but I don’t see it.
I don’t like to reassign all files, I’m looking for an sql query to solve this.