Trimson Partners

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 74 total)

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • in reply to: How to set up cron for feedsync #3678
    Trimson Partners
    Participant

    Hey Merv, I’m shocked to see that you’re still so prompt at responding to support questions this close to Christmas! Thank you so much. I feel like we’re so close to getting it working 😀 the web hosts modified things so that things are actually being scheduled and processed correctly – including the imports!

    So exciting.

    I’ll respond with more stuff about the beta download in a private reply.

    Cheers,
    Grace

    in reply to: How to set up cron for feedsync #3676
    Trimson Partners
    Participant
    This reply has been marked as private.
    in reply to: How to set up cron for feedsync #3675
    Trimson Partners
    Participant

    Hey Merv,

    Our web hosts have managed to get our server processing FeedSync, however, now I’m running into warnings and a fatal error upon processing. This is what I get:

    PHP Warning:  include(../settings.php): failed to open stream: No such file or directory in /var/www/vhosts/OURDOMAIN/httpdocs/OURDOMAIN/XML/feedsync/lib/feedsync-processor.php on line 33
    
    PHP Warning:  include(../settings.php): failed to open stream: No such file or directory in /var/www/vhosts/OURDOMAIN/httpdocs/OURDOMAIN/XML/feedsync/lib/feedsync-processor.php on line 33
    
    PHP Warning:  include(): Failed opening '../settings.php' for inclusion (include_path='.:') in /var/www/vhosts/OURDOMAIN/httpdocs/OURDOMAIN/XML/feedsync/lib/feedsync-processor.php on line 33
    
    <!DOCTYPE html>
    <html lang="en">
     <head>
    	PHP Fatal error:  Call to undefined function feedsync_head() in /var/www/vhosts/OURDOMAIN/httpdocs/OURDOMAIN/XML/feedsync/lib/feedsync-processor.php on line 97

    Has anyone else reported these issues? I guess the warnings aren’t too bad, just the fatal error.

    Is this something we could potential fix by updating to FeedSync beta?

    Cheers,
    Grace

    in reply to: How to set up cron for feedsync #3478
    Trimson Partners
    Participant

    Yep, the WP All Import scripts are all set as scheduled tasks in my Plesk panel (as you can see in my screen grab a few posts back).

    Sorry, I’m not referring to the FeedSync processing task returning 0 bytes (because I’ve temporarily given up on the FeedSync cron thanks to the path issue).

    Right now I’m just trying to make sure the trigger/processing WP All Import tasks are going to work once the FeedSync task is operating correctly.

    I’ve been testing each trigger/processing script out by making sure I get a notification when they’re happening. But even if the feedsync-current.xml file has new properties to import, none of the triggers/processors seem to import anything.

    Does that make sense?

    in reply to: How to set up cron for feedsync #3476
    Trimson Partners
    Participant

    Hey Merv,

    Yeah, I put my email in purposefully to determine whether anything was being triggered at all. There’s a whole lot of 0 bytes happening in the emails I get. Even when I’ve updated the xml file manually through FeedSync, it doesn’t seem to import anything.

    I haven’t tried the Beta version of FeedSync, no. It looks as though for some reason FeedSync is not in my downloads list. I think this is because we bought it without creating an account? Then we created the account afterwards to purchase the rest.

    Any chance you could hook it up to our account?

    Cheers,
    Grace

    Trimson Partners
    Participant

    Thanks for letting me know. I didn’t realise Kristina had called again to ask last week.

    *Edit for very first post, meant to say ‘colleague’ not ‘college’. D’oh.

    in reply to: Hooks for shortcodes #3469
    Trimson Partners
    Participant

    Yep, I tried putting in some characters to test, but it didn’t change anything. But now I’m thinking it might be because all our pages use shortcodes, not the original loop.

    Where might I edit the loop of the shortcode? I can’t see any of the loop data in the listing template I’ve overidden, hence why I was looking at the archive-listing.php file.

    in reply to: Hooks for shortcodes #3465
    Trimson Partners
    Participant

    Oops, sorry, I mistyped it. My file is archive-listing.php, with a hyphen. So it is meant to work when it just sits in the root of my template folder?

    in reply to: How to set up cron for feedsync #3464
    Trimson Partners
    Participant

    Hey Merv,

    I’ve still had absolutely no luck with this. I’ve hit a brick wall. The web hosts came back and said that the path could in fact be /usr/local/bin and I checked the phpinfo.php file and it does exist. So I’ve tried it with that, but still I get the same error, that the path doesn’t exist.

    I noticed in your screen grab that you’re also firing the wp-cron.php file. Is that necessary? What does that do?

    Also, I finally started to get a response from the other import/processing scheduled tasks, because I removed the ‘dev/null’ in order to receive an email about the process.

    However, I seem to be getting an email from the processing task every 2 minutes, and it doesn’t stop. Is that correct? They’re never meant to stop?

    I wish I understood how this cron/scheduling works.

    Thanks,
    Grace

    in reply to: Hooks for shortcodes #3427
    Trimson Partners
    Participant

    Hi Merv,

    I have another question about template overrides. I’m trying to figure out how to add custom pagination to the properties loop. I’m assuming I’d make my edits in archive_listing.php. I have a copy of that in my template folder, but it doesn’t seem to do anything when I try to make changes. This makes me wonder whether I’ve even set that up correctly. Was I meant to create a hook for that file too? For some reason I just have it placed in the template folder and that’s it.

    But, even when I try to make edits to the archive_listing.php file in the plugin folder (lib/templates/themes/default) it doesn’t seem to display them either.

    A little bit lost.

    Any chance you could point me in the right direction?

    Thanks,
    Grace

    in reply to: Agent contact form questions #3327
    Trimson Partners
    Participant

    Nevermind about the first half of that question! I’ve discovered that Contact Form 7 comes built with the ability to pass the title of the post, and the author email through to the form.

    For anyone else with the same issue, simply use the following tags in the mail part of the contact form:
    To: [_post_author_email]
    Subject: [_post_title]

    And, actually, don’t worry about the question about multiple agents – I don’t think we really need this functionality.

    Cheers,
    Grace

    in reply to: How to set up cron for feedsync #3103
    Trimson Partners
    Participant

    Hey Merv,

    They came back to me and said that that was the correct path for the server. Which is totally unhelpful of them because they haven’t given me a reason why it wouldn’t be working…

    I might press them for more info.

    Also, they weren’t able to help me with my other query because it was out of the realm of their support. I am also trying to set up the trigger/processing crons for each of our imports. I copied the commands generated by the WP All Imports plugin for each one. I want the imports to happen every 2 hours between 10am and 6pm.

    This is what I set for one of the imports (I’ve also attached a screen grab of all my scheduled tasks in the Plesk panel):

    Hours: 10-18/2
    Minutes: 0
    wget -q -O /dev/null http://trimson.com.au/wp-cron.php?import_key=DSRGPI3uTpZ&import_id=5&action=trigger

    Minutes: */2
    wget -q -O /dev/null http://trimson.com.au/wp-cron.php?import_key=DSRGPI3uTpZ&import_id=5&action=processing

    Firstly, I’m not receiving a notification of anything happening at those hours, so I’m guessing something’s wrong there (but I think I’ll just fix this by just changing it to every two hours all day).

    Secondly, and most importantly, I believe the ‘processing’ script crashed the site. I think it literally goes every 2 minutes forever. How do I make it only fire when triggered??

    Cheers,
    Grace

    Attachments:
    You must be logged in to view attached files.
    in reply to: ‘Authority’ field not being set correctly on import #2938
    Trimson Partners
    Participant

    Hi Merv,

    I finally switched the plugin version over to the new dev version. A couple of things I needed to tweak to get working with my previous edits and template overrides, but all appears to be ok now.

    I noticed you’ve added the Auction time to display in the ‘price’ of a property. I wonder, just for convenience’ sake, if it might be an idea to wrap the time in a span with a class, so that people who don’t want it there can remove it?

    I’ve removed it just by deleting it from the relevant section in the listing_meta.php file because it wasn’t necessary for me. But any update in future will override this.

    I also noticed a similar thing with the Commercial ‘For Sale’ ‘For Lease’ bits of text in the commercial pricing. Again, I just went in to listing_meta.php and removed the necessary bits, but perhaps these could do with a span tag too? I didn’t need those words to display because I have a separate page for my Commercial properties for sale, and Commercial properties for lease – so it doesn’t need to be said in the price.

    Anyway, just an idea.

    Thanks Merv!

    in reply to: How to set up cron for feedsync #2857
    Trimson Partners
    Participant

    Hi Merv,

    Thanks for that link, I see how I’m meant to add the FeedSync processor as a cron job now, however I’ve tried setting it up using the command provided on my ‘help’ page:

    /usr/bin/php -q /var/www/vhosts/trimson.com.au/httpdocs/trimson.com.au/XML/feedsync/lib/feedsync-processor.php

    But my email notification from the cron job is saying that /usr/bin/php does not exist. Am I supposed to change this to something more suited to my server? Where should this initial path be pointed?

    Thanks,
    Grace

    Trimson Partners
    Participant

    So you’re saying it’s less taxing on the server to completely delete and re-upload all data, images etc, of all the listings, rather than to just check what needs updating and update that instead?

    Why do I want to update, rather than replace? Well, for one thing, wouldn’t a replacement reset the post published date? My client wants to be able to order them manually. At the moment I have the import script set to ignore the post date (i.e. don’t update it), so that the ordering of the listings remains the same, even after an update.

    But the main reason at the moment I want to just update, is because every time I do a re-run of the import it wipes my manually set property_authority and property_auction. And these are too important to lose. Ditto with the ‘featured’ custom field. I’ve set the update to not update any of these fields.

    I’m not doing anything with the sold properties at the moment. They’re just being set to draft, then I delete.

    Perhaps in future I will have it so that it works the way you suggest, but not until the the auction elements work correctly.

    Cheers,
    Grace

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

Viewing 15 posts - 31 through 45 (of 74 total)