COMPLETE: strptime() function : Bug

Easy Property Listings WordPress Real Estate Plugin Forums Feature Requests COMPLETE: strptime() function : Bug

Viewing 8 posts - 1 through 8 (of 8 total)

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

  • Author
    Posts
  • #5247
    koese
    Spectator

    Hi Merv

    While importing the feedsync-current xml file with wp-all-imports, I was getting this specific error as shown in the image. when I contacted the hosting provider they have suggested that

    The problem is strptime() function not supported in Windows platform so, you would need to contact plugin vendor and draw their attention to that function.

    Regards
    Sri

    Attachments:
    You must be logged in to view attached files.
    #5279
    koese
    Spectator

    Hi Merv

    I am not 100% sure about this solution but after looking into PHP documents,

    http://php.net/manual/en/function.strptime.php
    and
    http://php.net/manual/en/function.strptime.php

    I have modified the line in EPL\LIB\include\functions.php line 457

    from: $d = strptime($date, $format);
    to: $d = date_parse_from_format($date, $format);

    and the export finally worked.
    Thanks

    • This reply was modified 9 years, 2 months ago by koese.
    #5290
    Merv Barrett
    Keymaster

    Thanks, I’ll look into a fix for Windows.

    What is your Windows Platform?

    #5294
    koese
    Spectator

    Hi Merv

    Its windows server 2012 / IIS8
    and further to this topic I found few warnings in the import log file as below

    WARNING: unrecognized date format `
    Notice: Undefined index: tm_hour in H:\root\home\sridhar-001\www\site1\wp-content\plugins\easy-property-listings\lib\includes\functions.php on line 458
    Notice: Undefined index: tm_min in H:\root\home\sridhar-001\www\site1\wp-content\plugins\easy-property-listings\lib\includes\functions.php on line 458
    Notice: Undefined index: tm_sec in H:\root\home\sridhar-001\www\site1\wp-content\plugins\easy-property-listings\lib\includes\functions.php on line 458
    Notice: Undefined index: tm_mon in H:\root\home\sridhar-001\www\site1\wp-content\plugins\easy-property-listings\lib\includes\functions.php on line 458
    Notice: Undefined index: tm_mday in H:\root\home\sridhar-001\www\site1\wp-content\plugins\easy-property-listings\lib\includes\functions.php on line 458
    Notice: Undefined index: tm_year in H:\root\home\sridhar-001\www\site1\wp-content\plugins\easy-property-listings\lib\includes\functions.php on line 458
    1970-01-01 00:00:00`, assigning current date

    #5522
    koese
    Spectator

    Hi Merv,
    Can you please let me know what changes I need to do to get rid of these warnings while importing.
    As these warnings are repeating for each property while importing.
    Thanks

    #5532
    Merv Barrett
    Keymaster

    Can you supply your FTP and admin access to the site so we can implement a fix for Windows IIS Servers.

    Post the login details here as a private reply.

    Thanks!

    #5567
    koese
    Spectator
    This reply has been marked as private.
    #5907
    Merv Barrett
    Keymaster

    I’ve moved this topic to feature requests

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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘COMPLETE: strptime() function : Bug’ is closed to new replies.