+ Reply to Thread
Results 1 to 8 of 8

Thread: Cron Job Error.

  1. #1
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    1,792

    Cron Job Error.

    Cron Job notification at Aug 15, 2019

    Ads expired: 0
    Expiration notifications sent: 0
    Featured ads expired: 0
    Featured expiration notifications sent: 0
    Incomplete ads removed: 2
    Total incomplete accounts: 0
    Every odd day or so, I get a cron job report saying 2 incomplete ads are being removed, yet there are no incomplete ads in the system ?
    Getting Started or Starting Over with Your Classified Site? then Get Ready Set Fly V 4.7.1

  2. #2
    Do you see count 2 in every email from Cron?
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    1,580
    Quote Originally Posted by Pete Young View Post
    Every odd day or so, I get a cron job report saying 2 incomplete ads are being removed, yet there are no incomplete ads in the system ?

    In fact, the listings which were left off on step category or form are considered as incomplete and not displayed in the grid:

    There are three steps you can do to control them:

    1. Enabling in the grid (if needed):

    go to ftp > admin > controllers > listings.inc.php

    find a row:

    PHP Code:
    Only registered members can view the code
    and change it to:
    PHP Code:
    Only registered members can view the code
    2. Preventing from creating incomplete listings by bots (will be solved):

    go to includes > controllers > add_listing.inc.php

    find a block of code:
    PHP Code:
    Only registered members can view the code
    and change it to:
    PHP Code:
    Only registered members can view the code
    3. Make cron to remove all incomplete listings (will be corrected):

    go to cron > index.php

    find a row:

    PHP Code:
    Only registered members can view the code
    change it to:
    PHP Code:
    Only registered members can view the code

    then find:
    PHP Code:
    Only registered members can view the code
    change it to:
    PHP Code:
    Only registered members can view the code
    Last edited by Rudi; August 15, 2019 at 01:36 PM.

  4. #4
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    1,792
    Quote Originally Posted by Viktor View Post
    Do you see count 2 in every email from Cron?
    yes every time it is / has been 2
    Getting Started or Starting Over with Your Classified Site? then Get Ready Set Fly V 4.7.1

  5. #5
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    1,792
    Quote Originally Posted by Rudi View Post
    In fact, the listings which left off on step category or form are considered as incomplete and not displayed in the grid:

    There are three steps you can do to control them:
    Thank You Rudi
    Getting Started or Starting Over with Your Classified Site? then Get Ready Set Fly V 4.7.1

  6. #6
    Master
    Join Date
    Apr 2017
    Location
    Tehran/Iran
    Posts
    432
    Thank you Rudi,

    But solution 2 don't work for me with flynax 4.7.0
    The problem is, if user select a group, plan, title,... and then change focus from add listing page to another one, then
    the system creates an incomplete listing.
    I don't know it works in 4.8.0 or not. I appreciate if you check it and let us know.

    [QUOTE=Rudi;26913]In fact, the listings which were left off on step category or form are considered as incomplete and not displayed in the grid:

    There are three steps you can do to control them:

    1. Enabling in the grid (if needed):

    go to ftp > admin > controllers > listings.inc.php

    find a row:

    PHP Code:
    Only registered members can view the code
    and change it to:
    PHP Code:
    Only registered members can view the code
    2. Preventing from creating incomplete listings by bots (will be solved):

    go to includes > controllers > add_listing.inc.php

    find a block of code:
    PHP Code:
    Only registered members can view the code
    and change it to:
    PHP Code:
    Only registered members can view the code
    3. Make cron to remove all incomplete listings (will be corrected):

    go to cron > index.php

    find a row:

    PHP Code:
    Only registered members can view the code
    change it to:
    PHP Code:
    Only registered members can view the code

    then find:
    PHP Code:
    Only registered members can view the code
    change it to:
    PHP Code:
    Only registered members can view the code
    /QUOTE]

  7. #7
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    1,580
    you should implement this solution anyway (#2), no matter what version is

    because google bots can create empty listings about 10-50 a day unlike the real users

  8. #8
    Master
    Join Date
    Apr 2017
    Location
    Tehran/Iran
    Posts
    432
    I got your point, Thanks.

    Quote Originally Posted by Rudi View Post
    you should implement this solution anyway (#2), no matter what version is

    because google bots can create empty listings about 10-50 a day unlike the real users

+ Reply to Thread