Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ giri
Sorry, but I am unable to assist with your special plugin request.
Steven Zahm
Keymaster@ Matthew
Please try the attached file. Does that work?
If not, please see the suggestions I just recently gave another user in this post.
Also try this:
Lastly, if you can create a temp admin account using this plugin, I’ll take a look.
https://wordpress.org/plugins/temporary-login-without-password/
Attachments:
You must be logged in to view attached files.Steven Zahm
Keymaster@ Adam
Good to hear you found a workable solution… That timeout error was could have been the cause if the value for PHP max execution was too low. The import does try increase this during import but host restrictions can prevent this from happening.
In regards to the duplicates… I suspect the first batch of every attempt was importing correctly while still running out of time. Both the current release version and the RC work in a similar manner. The first batch is trigger right away, then the browser, using javascript, waits for the server to send the complete message when receives tells the server to do the next batch.
Steven Zahm
Keymaster@ Tony
Great to hear you were able to resolve the issue!
Connections does not require PHP version 7.1, but like WordPress itself, it does run faster using less resources.
Here’s an example…
I was assisting another user the last week which had the memory limit set to 256MB, but the web host was “hard” limiting usage to about 170MB. Meaning as a user you could set any high value and PHP would report that value but the web host would only allow 170MB of actual usage.
This user had Divi, JetPack and WooCommerce and a few other small plugins activated. Even without Connections installed and activated most of the available memory was in use. Activating Connections put the user over the limit in some cases like the directory page, where more memory would be required, and intermittently on the Manage admin page. Everything else seemed to work fine.
I have been modernizing the code base in the last many updates which does use slightly more memory on older version of PHP. So, perhaps, your available resources were already borderline and the latest changes just push it over the edge.
Also keep in mind, other plugin you install also take resources and if there are updates which add features, this also increase resource requirements.
Hope this helps, explain it the issue better!
Steven Zahm
Keymaster@ Gail
Please try the solutions provided in these tutorials:
Also, login into your web host control panel. Many hosts allow you to chose the PHP version to run. WordPress recommended PHP version 7.1 as it runs WP much faster while being far more resource efficient. If this option is not available in the web host control panel contact their support team. This is something they usually can easily change.
I hope this helps!
Steven Zahm
Keymaster@ Adam
Sounds as if there is either a fatal javascript error occuring OR the server is responding with an invalid response.
Try this, use Chrome for the import. Load the first step of the import in Chrome (where you choose the file) and hit the F12 key. Choose you file and map as you’ve done previously. On the last step, the please wait, click the Console in the section shown when you hit the F12 key.
Are there any errors shown? If so, what are they.
Now, click the Network tab. Scroll towards the bottom. One of the last rows should be a reference to admin-ajax.php. Click that row. There could be several for you to review, but only one should be related to the import. Find that one and review the details by clicking on it. When you click on a row, the details will be shown. You’ll see the sub-tabs will be Response and Preview. These are where you will find errors.
Can you find any errors? If so, what are they.
You should also enable PHP error logging (not displaying errors). After you do an import, review the log to see if PHP is reporting any errors.
Lastly, try installing the 2.0-RC version of the of CSV Import instead. It provide more feedback and there is no need to not map the entry id.
Let me know what you learn.
Steven Zahm
Keymaster@ Jess
The PDF is a little hard to read the code but it looks fine. This code is added as a snippet using the Code Snippet plugin, correct? And, that snippet is activate, correct?
Just in case… this code does not get added to the
card.phpfile for the template.Steven Zahm
Keymaster@ giri
I believe the issue is your testing method… you can not set a birthday to the current day and expect to get the email. Set it one day ahead. The queue for the email to send is created once daily at midnight. The queue is processed hourly starting at the time at the designated time.
I changed your giri entry to have anniversary and birthday on July 12. So, at midnight, both will be added to the queue. I changed the email start time to be at 1 am so the email for both will send at that time. IF, your site has traffic at that time. This plugin uses the WP Cron system, if there is no site traffic, cron events are not triggered at the designated time. Instead they will run when the next person visits the site.
Here’s a better explanation from this site:
What is WP-Cron and why use it?
Cron is the time-based task scheduling
system that is available on UNIX systems. WP-Cron is how WordPress
handles scheduling time-based tasks in WordPress. Several WordPress
core features, such as checking for updates and publishing scheduled
post, utilize WP-Cron, though WP-Cron is still an largely
under-documented and under-utilized feature in WordPress.WP-Cron works by checking on every page load through a list of
scheduled tasks to see if there are any tasks that need to be run. If
there are any tasks scheduled at the time of page load they will be
run. It must be noted here that WP-Cron does not run constantly as the
system cron does. WP-Cron will only be triggered on page load, this
means if you have a task scheduled for 2:00 PM but do not have any
visitors until 5:00 PM your task will not run until then.Why use WP-Cron? Well first off, the vast majority of hosting services
are shared and their users do not have access to the system cron. This
is a real bummer as there are a lot of great uses for a cron system,
thus the beginnings of WP-Cron. Though it may not run at a specific
time, WP-Cron will get your tasks done in a good manner. WordPress is
all about simplicity, so rather than forcing your users to go outside
of WordPress to setup a task it is much more simple to utilize the
WordPress API.If you would like to trigger these cron events manually for testing, navigate to the Tools : Cron Events admin page. First run the event
cn-aabe-daily-eventby clicking theRun Nowlink. Then, run the eventcn-aabe-hourly-eventby doing the same.Hope this helps!
Steven Zahm
Keymaster@ Jess
RE: No, a new field doesn’t appear
Ok, if a new field does not appear, then code in your snippet is wrong. In thurn this means the code in template override file is not going to work.
You need to review the code snippet which adds that city field to make sure it is correct. If you copy pasted it. Maybe the was a copy/paste error. Try copying the code again into the snippet.
RE: path is /wp-content/theme/parent-theme/connections_templates_circled/card.php
That would be incorrect, the path needs to be:
../wp-content/theme/parent-theme/connections_templates/circled/card.phpHope this helps!
Steven Zahm
Keymaster@ giri
I just logged in and did a test. I added a new entry for me with a birthday of today. I then forced the WP Cron events (this is the process that triggers emails) to run. I immediately received the birthday email. You should have received one to according the email logs. So it seems to be working now. I did have to make a very minor change to the plugin which I’ll include in the next update.
Hope this helps!
-
AuthorPosts
