Dave

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 187 total)
  • Author
    Posts
  • in reply to: Embedding Code into Listings #539828

    Dave
    Full Member
    Post count: 205

    Thanks for the help guys.

    So from what I’ve seen from the links you sent, it looks like using the Dynamic Content shortcode/widget would be the best option.

    To do this, would I be best following the first (basic) example and set up a custom field for users to insert their eventbrite ID?

    And then just insert the code into the text field and insert the custom field using %% tags?

    Thanks,
    Dave

    in reply to: Submission Form Maxing out CPU #537078

    Dave
    Full Member
    Post count: 205

    Thanks Kiran. That seems to have done the trick, thank you!

    You can see attached graph, the difference since you did the updates.

    Is it safe to upgrade to the latest version of GD and still keep the changes you’ve made?

    Thanks,
    Dave

    in reply to: Submission Form Maxing out CPU #535860

    Dave
    Full Member
    Post count: 205
    This reply has been marked as private.
    in reply to: Submission Form Maxing out CPU #535859

    Dave
    Full Member
    Post count: 205
    This reply has been marked as private.
    in reply to: Submission Form Maxing out CPU #535856

    Dave
    Full Member
    Post count: 205

    Ok I’ve asked them. I’m guessing it might have something to do with non-static IP but can’t be sure. Just waiting for them to reply and will let you know.

    Thanks,
    Dave

    in reply to: Submission Form Maxing out CPU #535853

    Dave
    Full Member
    Post count: 205

    If you change the encryption to “use explicit FTP over TLS if available” I think that should work

    in reply to: Submission Form Maxing out CPU #535847

    Dave
    Full Member
    Post count: 205

    Hi Kiran, Guru have come back saying this:

    “No we do not block any IP by default.

    Please provide the following so we can troubleshoot this issue:

    ————————————————-

    – The IP address of the device you are connecting from. ( You can find this by going here: http://ip4.me)

    – The name and version of your operating system and FTP client.

    – A screenshot of your current FTP client configuration.”

    Thanks,
    Dave

    in reply to: Submission Form Maxing out CPU #535846

    Dave
    Full Member
    Post count: 205

    I’ll ask them now. But I think last time, used used a VPN. That could be quicker?

    Thanks,
    Dave

    in reply to: Submission Form Maxing out CPU #535836

    Dave
    Full Member
    Post count: 205

    Thanks Kiran.

    Those are still the correct FTP details. I think you had this problem once before and I think it’s to do with your connection? They restrict certain open connections I think.

    Thanks,
    Dave

    in reply to: Submission Form Maxing out CPU #535821

    Dave
    Full Member
    Post count: 205

    Ok I guess that makes sense. The event calendar widget is loaded on every page as it’s in the main menu at the top.

    I’ve installed WP phpMyAdmin plugin now. You can login to my wp admin panel (details further up this thread) and go to settings and it should let you in.

    Thank you for your help.
    Dave

    in reply to: Submission Form Maxing out CPU #535819

    Dave
    Full Member
    Post count: 205

    Thanks Kiran. Is that what is causing the issue… the event calendar?

    If I install the phpmyadmin plugin to wordpress, will that give you the access that you need?

    Thanks,
    Dave

    in reply to: Submission Form Maxing out CPU #535761

    Dave
    Full Member
    Post count: 205

    Hi Kiran,

    The site speed initially improved a few weeks ago but it’s happening again unfortunately.

    I increased the max execution time again but nothing improved. I’ve now got the site in maintenance mode and because of the coronavirus outbreak, we have virtually no traffic to our site. So it’s a good opportunity to understand what’s causing spikes on our server CPU.

    I asked the support team at my hosting provider (Guru), and they explained the following:

    “I can see that this is still being limited by MySQL governor due to excessive resource usage.

    Based on the command line tool for this, I can see your database queries alone appeared to be using 2 CPU cores at one stage.

    At the time this resource consumption was taking place, I found the following query running which I believe is the same as the query mentioned previously by my colleague Mike.

    ==================================
    SELECT ( SELECT GROUP_CONCAT( DISTINCT CONCAT( DATE_FORMAT( wp_geodir_event_schedule.start_date, ‘%d%m%y’ ), ”, DATE_FORMAT( wp_geodir_event_schedule.end_date, ‘%d%m%y’ ) ) ) FROM wp_geodir_event_schedule WHERE ( ( ( ‘2020-03-01’ BETWEEN start_date AND end_date ) OR (start_date BETWEEN ‘2020-03-01’ AND end_date ) ) AND ( ( ‘2020-03-31’ BETWEEN start_date AND end_date ) OR ( end_date BETWEEN start_date AND ‘2020-03-31’ ) ) ) AND wp_geodir_event_schedule.event_id = wp_posts.ID ) AS schedules FROM wp_posts LEFT JOIN wp_geodir_gd_event_detail ON wp_geodir_gd_event_detail.post_id = wp_posts.ID LEFT JOIN wp_geodir_event_schedule ON wp_geodir_event_schedule.event_id = wp_posts.ID WHERE 1=1 AND wp_posts.post_type = ‘gd_event’ AND ((wp_posts.post_status = ‘publish’)) AND wp_geodir_gd_event_detail.post_id > 0 AND ( ( ( ‘2020-03-01’ BETWEEN start_date AND end_date ) OR ( start_date BETWEEN ‘2020-03-01’ AND end_date ) ) AND ( ( ‘2020-03-31’ BETWEEN start_date AND end_date ) OR ( end_date BETWEEN start_date AND ‘2020-03-31’ ) ) ) ORDER BY wp_posts.post_date DESC
    ==================================

    Given that the site is in maintenance mode, it may be possible that the cron is triggering this query in some way.”

    Do you know why the above command line might be causing these spikes? And if so, what can be done to fix it?

    I’m guessing that those PHP undefined variables you mentioned before, won’t be causing this now, seen as the site is in maintenance mode and no traffic.

    Please can you help?

    Dave

    in reply to: Category select based on package? #534684

    Dave
    Full Member
    Post count: 205

    Ok thanks Alex.

    in reply to: Category select based on package? #534509

    Dave
    Full Member
    Post count: 205

    I see. Thanks Alex.

    I’ve seen that it’s possible to exclude certain categories on certain packages. So is it possible to set a default category in the settings somewhere? Then I can just exclude it on the lower packages.

    Thanks,
    Dave

    in reply to: Submission Form Maxing out CPU #533749

    Dave
    Full Member
    Post count: 205

    Thanks Kiran, that’s been a big help. I’ve changed the max execution time to 45 seconds now instead and the site seems to be running much better.

    As for those PHP notices, I’m not sure what they mean. Do undefined variables have an impact? And should I just go to Listimia theme about them and also AdRotate plugin?

    Thanks,
    Dave

Viewing 15 posts - 16 through 30 (of 187 total)