wolf8769
Forum Replies Created
-
Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] How to restore to new server?Thanks for taking the time to reply, @yaniiliev! I did exactly those steps and it worked. I guess my concern was that if the backed up WP was on an older version of PHP or MySQL or WP that it would not import correctly into a latest version configuration.
That probably is a real concern, but in my case, the 2 WordPress instances I needed to migrate were relatively current.
To help those who come later, are there any guidelines for migrating an older system to a new system? What are the caveats and recommended solutions?
Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] Download BackupNot sure this is same issue, but my new client has 2 WP sites with expired SSL certs and no access to the server. I was able to generate the backup wpress file, but the download failed due to the invalid SSL cert. I simply right-clicked the download button to copy the URL then pasted it in a new tab and changed “https” to “http”. The backup file downloaded fine.
Forum: Plugins
In reply to: [Participants Database] pdb-before_submit_updateGot any wisdom for me? Recommend an attack plan? Thanks!
Forum: Plugins
In reply to: [Participants Database] pdb-before_submit_updateHmmmm…so trying to take a step back to solve this problem in a smart, efficient way.
Let me describe the “problem”. We want members to be able to enter starting and ending miles for up to 5 motorcycles. We want to calculate the total miles per motorcycle as well as the total overall miles per member. We’d like to get at least the overall total per member included in the CSV export and/or reporting, but I guess we can calculate these numbers after export just as easily. We are using the PDb List to show a “leader board”, so the total_miles field comes into play there as well.
We tried solving this with read-only fields and a bit of custom logic in pdb-before_submit_update. As this thread describes, it almost works.
I tried the $wpdb->update() method, but it seemed not to make a difference. (No errors, either.) My guess is that it makes the update, but then my pdb-before_submit_update logic returns $values, and the original read-only values get stomped over my freshly-updated values? If this is the case, I don’t know how to make that manual db update “out of band” of my pdb-before_submit_update logic.
I guess another angle would be to create custom templates for the form and the list. In my custom template, I can calculate these mileage numbers and poke them into the right place in the display. This would eliminate these read-only, calculated fields.
As I am a very lazy man, I was and am looking for the easiest way to solve this problem. Do you think I should change gears? Or am I almost there with my current path?
Forum: Plugins
In reply to: [Participants Database] pdb-before_submit_updateThanks for the fast reply! I did, and should have mentioned that. My mileage_totals() does run when a member submits the form in the front end. I printed out $values at the top of the function before my logic and after to confirm that my tweaks are correctly applied in the variable. My code seems to do exactly what I want–the values are what I expect. However, the fields I tweaked don’t get saved in the database.
Important to note that the other fields (the fields that are not read-only) do get saved. For example, I can change bike_1_current_end_miles as a member in the front-end and the value is updated in the database.
Again, this logic does work if making the same change in the admin.
It is not always wrong, so caching may be the culprit. Caching in general makes sense of course, but only when all the cached data is in sync. It is “odd” to have a number show from cache then show events that are newer and contract the number.
No worries, @eskapism. It is an excellent plugin–very helpful as we troubleshoot things and generally try to understand what people are doing in the system.
Thanks!
Forum: Plugins
In reply to: [WP Better Emails] not working with gmail smtp pluginFrom what you describe, I’m having the exact issue but with the WP Mail SMTP plugin.
Hopefully we can use WP Better Emails with popular SMTP plugins. I do note that SP Mail SMTP has an option to send all mail through PHP mail() function, but I’m not doing that.
I assume the official answer is “maybe, but try at your own risk”. I just installed this plugin on my 4.6 WordPress. It installed and activated without error and my initial test email worked. So far so good.
Forum: Fixing WordPress
In reply to: easy way of uploading imagesIf you don’t have shell access via telnet or SSH, you may not be able to directly execute the chmod command. If not, then you may be able to chmod the directory using your ftp client software. I use the open source FileZilla, and it allows you to set Read/Write/Execute privileges on directories and files.