Thank you for your support.
Hello
In the list of plugins on my site it was still saying Downloader Pro support expired, when I clicked the upgrade link it took me to your site, where I copied the license key and then pasted it into the plugin on my site, then it said it was registered and active again. I think the license key was the same it seemed to need me to update it anyway before it activated again properly.
So it looks like as you said the order was active but for some reason my installation did not pick it up until I forced it to update by refreshing the license key.
Payment made 16th October 2022.
Receipt number: 2499-8621
Invoice number: A9572164-0003
Order# 5bc6389572209
I am trying to run a business here not play silly games, I think there was a similar issue last time I renewed as well. It does not inspire any confidence in the quality of your code if you cannot even manage to renew customer subscriptions without issues.
Hello
I have replaced my existing plugin with the new one and it seems to be working fine now, I am getting the affiliates page as expected now, thank you for the very quick response and fix.
Regards
Colin
Thank you for your quick response. I shall await the update.
Thank you for your reply. Thats ok I have found the issue and sorted it now.
Glad in a way that I am not the only person this happens to. The premium packages plugin and Stripe plugin update fine through WordPress the Download Manager never has and I alway end up doing it manually.
Hello
I fixed it myself, at the bottom of the file
wp-content/plugins/download-manager/assets/bootstrap/js/popper.min.js
there is a line
//# sourceMappingURL=popper.min.js.map
The “//#” syntax is called a pragma comment, which is a compiler directive. In this case it is giving browsers directions on how to find the js map file
As I don’t really care about having a map for the minified .js file, I simply deleted this line its probably useful for developers.
I did a file find from the top of the WordPress installation and the .map file is not present.
An alternative would probably be to actually get the popper.min.js.map file and put it in the .js directory.
It seems to come down to Browsers are now starting to support this browser directive and there is something not quite right in your config.js file used to build the Bootstrap for release so it is putting this pragma in the .js file but not including the .map file in the build.
I now dread it when I see another update for DownloadManager Pro is available, my first thought is what have they broken this time.
It is not about us your paying customers being patient, it is about you the producers of this software being professional and having a proper release process with testing for the new features and regression testing to see nothing else has been broken, by testing I mean an automated test suite that runs as part of the release process, maybe even as part of the code checkin process so broken code does not get into the code base. At the moment the it looks like code is simply hacked then thrown out the door.
Good to see you managed to sort your immediate issue for yourself for the moment Dean.
That’s useful I modifed the Cart Template in a similar way copying the file cart.php file over instead over and editing it, I wanted to removed the Basket Discount and Subtotal rows from the Cart display as they are not needed in my store and it simplifies the cart display hopefully increasing sales conversions.
I am already using a child theme so whether the download manager or theme get updated the changes are kept.
I looked through a database backup from before the Download Manager was updated and found what I was looking for.
The custom templates were not converted they have gone, I think this was due to file permissions in my WordPress installation, the update process was unable to create the XML files but carried on and removed the old templates anyway, that is why I am asking where they were stored in the older version of Download Manager so that I can retrieve them from a backup and recreate them in the updated version.
I know the XML files were not created because I saw error messages in the web server logs indicating it could not create an XML file in a particular folder when I tried to create a custom format in the updated Download Manager, when I looked that folder did not exist, I created the folder gave it appropriate permissions and the new custom format file was created successfully.
ALl I want to know is where the custom formats where stored in previous versions of the Download Manager so I can retrieve them from a backup and recreate them, I do not need anyone logging in and looking around, the custom formats I had are gone in the updated Download Manager, I have now fixed my installation so I can create custom formats.
Hello
Thank you for your reply
I made them from Downloads > Templates > Create New Template
Thanks
Thats not the question I asked. What I asked was where the custom formats used to be stored in previous versions of Download Manager so that I can retrieve the custom format I used to have from a backup and put it into the latest version of Download Manager I now have installed.
A different topic now that you have brought up the new features for custom formats/templates, are you saying that custom formats/templates are now stored in temporary storage which you can set to be auto cleaned every day, that seems counter intuitive if I have gone to the trouble of creating custom formats and templates I am hardly likely to want them to be cleaned out every day.
If you could tell me where the custom formats used to be stored I have daily backups of both my site and database and so could find a version in my backups where the data still exists and extract it.
I have investigated further and found that the custom formats are now being stored as xml files in a folder in the site, the location required did not exist on my installation, when I created the folder structure with the appropriate access rights then the custom formats could be created and saved and used.
Now all I have to do is work out what css I had before and put that into this new custom link format and set my packages to use that.
My guess is that the upgrade attempted to create this new folder location to put the existing custom formats into, failed, and carried on removing them from wherever they where stored before anyway. So they where not available for the upgraded download manager to use and all trace of them where they where before seems to have vanished to. In my case it is one custom format and a few packages, in some other customers installations this could be a lot of custom formats discarded and lot of packages reverted to using the default formats, that is a lot of work thrown away.
A little further investigation reveals that the custom format I had setup for the button to link from the sales page to the cart seems to have been removed by a recent Download Manager update , and it reverted to a default value.
How can I get the custom format back, I tried cloning an existing link template to generate a new custom format, that seemd to create and save but it does not appear in the list of link formats for the packages, they have all reverted to select a format and are using a default one.
I do not remember what the custom formatting was using is it still around in the WordPress database some where I can find it or has it been deleted by the update.
This is what I saying about your software not being stable, updates you release are breaking existing sites with no warning, people are trying to run businesses and don’t have time to be continually re-doing work they had done because you have ‘improved’ your software.
My apologies, the PayPal payment is working it just takes a while for PayPal to update the account and send out the payment received notifications.
Thank you for this fix to the PayPal notification email it is just what I wanted.
Regards
Colin Hart
I can see what it has done. In scenario 2 the email from the store has been sent to the PayPal payment email not to the email address entered into the payment form, which I guess is probably more secure than allowing it to be sent to any address entered in the payment form, I can accept that.
I have managed to sort this out now. This still leaves the question of why the original update failed leading to this mess. The earliest error I can see in the web server error log file is this
[Sat Dec 07 21:21:03.478410 2019] [php7:notice] [pid 20223] [client 185.157.233.52:59283] WordPress database error Duplicate column name ‘request_status’ for query ALTER TABLE wp_ahm_emails
ADD request_status
INT(1) NOT NULL made by activate_plugin, do_action(‘activate_download-manager.old/download-manager.php’), WP_Hook->do_action, WP_Hook->apply_filters, WPDM\\WordPressDownloadManager->install, referer: https://www.oldblogger.com/wp-admin/plugins.php
It looks to me like this time it has managed to mess up the database if it says the new plugin is clashing with a plugin that should not be there anymore after I deleted it. It looks like I will have to role the database and site files back to before this started and try again but do it totally manually next time. Does that seem like the best approach.
That is what I have done, finding the latest versions was the problem before but know I know where they are its fine thank you.
I have downloaded the zip file from the download location you gave thank you.
With the SSH SFTP Updater Support plugin there is no way the built in Download Manager update will work as the file permissions on the files are set to allow a particular user account on the server to write the wordpress site php files, the user account the webserver is running under cannot write the files. When an update from the WordPress update screen is done the SSH SFTP Updater Support prompts for the username and password of the server user account to use. The idea is to improve security on the web site. I don’t know if it is possible to hook into the SSH SFTP Updater Support plugin to use its facilites from another plugin.
You are a braver man than me updating to WordPress 5 already ๐
Looking at the GUI orders screen I can see an abandoned orders number is displayed, looking at the code behind that and the database and experimenting I can see there is a table wp_ahm_orders and when a person clicks the checkout button to go to the payment provider a row gets inserted in there with the payment status set to processing, orders with payment processing is what the GUI is displaying as an abandoned order.
So if I create a script run from cron to check that table every few minutes and check the date on orders in the state of payment processing I can find abandoned orders and send them a sequence of emails, does that seem a reasonable approach or is there already a plugin or feature to do that.