Okay
  Public Ticket #2034621
Unable to update
Closed

Comments

  • kellyhelene started the conversation

    I'm attempting to update to 2.5.4 but it has been sitting on "downloading update" for about half an hour.

    Current version is 2.5.3

  •  94
    Valentin replied

    Good morning,

    This happen sometimes with different server configurations, but you can try this approach: https://stachethemes.ticksy.com/article/13418/

    Or you can give me wp admin access and I will do it for you. You can post here privately.

    Stachethemes Support
    My Time Zone is GMT+3


    Envato Profile | Facebook | Twitter | Newsletter | Rate & Review

  •   kellyhelene replied privately
  •  94
    Valentin replied

    Look like the updater worked for me, the plugin is updated to 2.5.4.

    The CVS export update I believe will be live very soon if not today, will have to check with the developersmile.png

    Stachethemes Support
    My Time Zone is GMT+3


    Envato Profile | Facebook | Twitter | Newsletter | Rate & Review

  •  94
    Valentin replied

    Are you using any cache plugins? If so please clear the cache, I see there is a problem calendar applying the changes after 2.5.

    Stachethemes Support
    My Time Zone is GMT+3


    Envato Profile | Facebook | Twitter | Newsletter | Rate & Review

  •  94
    Valentin replied

    I see there is a problem with your single page the tabs are not responding and there is an error in the footer. Is it possible to give me FTP access to the theme files to check what is happening? 

    Stachethemes Support
    My Time Zone is GMT+3


    Envato Profile | Facebook | Twitter | Newsletter | Rate & Review

  •   kellyhelene replied privately
  •  94
    Valentin replied

    Hello,

    I'm really sorry for the delay, is the website still live? It open blank page to me.

    Stachethemes Support
    My Time Zone is GMT+3


    Envato Profile | Facebook | Twitter | Newsletter | Rate & Review

  • kellyhelene replied

    We actually had to restore from a backup this week due to our CRM integration going... badly. :(

    To that end, I'm trying to import our events via CSV and am seeing this error:

    Notice: Undefined index: end_date in /home/criticaladmin/criticalnw.org/wp-content/plugins/stachethemes_event_calendar/assets/php/class.import-csv.php on line 28
    (the same error for every line, though- see attached)

    I'm using the actual export file from the plugin so I'm not sure what the problem might be. 

  •  894
    Zhivko replied

    Could you send me the import file to check it out?


    Stachethemes Developer

  • kellyhelene replied

    Sure thing

  •  894
    Zhivko replied

    Try following:

    Open file stachethemes_event_calendar\assets\php\class.import-csv.php line 15 change the code from:

                while (($data = fgetcsv($h, 1000, ",")) !== FALSE) {

    to

                while (($data = fgetcsv($h, 0, ",")) !== FALSE) {

    Then try to re-import. 

    Previously some events may not be imported properly so I'd recommend you to turn on "Overwrite Events" and "Delete Events" checkboxes before importing if you don't have events other than those from the CSV file.



    Stachethemes Developer

  • kellyhelene replied

    I made the change but the error is still there. 

    Notice: Undefined index: description in /home/criticaladmin/criticalnw.org/wp-content/plugins/stachethemes_event_calendar/assets/php/class.import-csv.php on line 28

    If it helps, this appears to be line 28:
                   $assoc_key = Csv_Settings::get_event_assoc_field($this->csv_fields[$key]);

  •  894
    Zhivko replied

    Is it possible to provide me with ftp and wp-admin to check what's going on? 


    Stachethemes Developer

  •   kellyhelene replied privately
  •  894
    Zhivko replied

    I can't connect to the ftp.

    Could you send me the following info:

    hostname:
    username:
    password:
    port:

    Dashboard user/pass seems to be incorrect as well.


    Stachethemes Developer

  •   kellyhelene replied privately
  •  894
    Zhivko replied

    I've made some changes to the import function and the import should be working now.

    The original code was looping the events by reference but it seems on different php versions the result differs so I've reverted the loop to the "normal" way.

    These changes will be included in the next update.


    Stachethemes Developer

  • kellyhelene replied

    I show the events in there, but I'm not able to view them from the front end.  The shortcode displays the submission form but it tells me I have no events.  Same if I have it set to default, or set to a specific calendar. 


  •  894
    Zhivko replied

    I've noticed the csv events are in wrong date format so I've edited the dates. I've attached the new csv file. You should re-import them because this will cause issues.

    The events are not showing on the front because the admin-ajax.php file was returning 404 for some reason so I've disabled the ajax event query for the calendar.


    Stachethemes Developer

  • kellyhelene replied

    I'm still seeing the same issue even with the file you provided.  The events are visible in admin panel but not on the front end. 

  •  894
    Zhivko replied

    Go to Dashboard -> St. Event Calendar -> General -> Misc and make sure "Ajax Events" is set to "No"


    Stachethemes Developer