Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #42232
    Anonymous
    Inactive

    Hi,

    I’m facing some mktime() errors with Google Chrome (7.0.517.44) with Windows Vista 32-bit on large calendar. Errors come when I try to browse for next month on large calendar. Also one user reported same behaviour with some version of IE.

    Warning: mktime() expects parameter 4 to be long, string given in aluevalmennus.info/public_html/wp-content/plugins/events-manager-extended/eme_calendar.php on line49

    You can find it on:

    http://www.aluevalmennus.info/keski-suomi/kalenteri/

    Should I select some specific date format on WordPress to fix this?

    #45364
    Anonymous
    Inactive

    And versions on site are:

    WordPress (3.0.1 fi)

    Events Manager Extended (3.2.7)

    #45365
    Franky
    Keymaster

    Hmmm … could you try the following: change in eme_calendar.php on lines 495,496 the code

    (isset($_GET['calmonth'])) ? $month = eme_sanitize_request($_GET['calmonth']) : $month = '';
    (isset($_GET['calyear'])) ? $year = eme_sanitize_request($_GET['calyear']) : $year = '';

    to

    (isset($_GET['calmonth'])) ? $month = intval($_GET['calmonth']) : $month = '';
    (isset($_GET['calyear'])) ? $year = intval($_GET['calyear']) : $year = '';

    And then try again?

    #45366
    Anonymous
    Inactive

    I tried the solution and it fixed something. Now there is not any errors (with Chrome) but it doesn’t populate the next month events (only empty calendar). On Firefox and Safari it works always.

    #45367
    Franky
    Keymaster

    Apparently it’s a weird thing with the way jquery works in google chrome. Please undo my previous suggestion and try this: in eme_calendar.php, change lines 443-446 from:

    month_n = tableDiv.children('div.month_n').html();
    year_n = tableDiv.children('div.year_n').html();
    cat_chosen = tableDiv.children('div.cat_chosen').html();
    author_chosen = tableDiv.children('div.author_chosen').html();

    to

    month_n = tableDiv.children('div.month_n').text();
    year_n = tableDiv.children('div.year_n').text();
    cat_chosen = tableDiv.children('div.cat_chosen').text();
    author_chosen = tableDiv.children('div.author_chosen').text();

    and the same for lines 462-465. Would be great if you could test it in any browser/OS combo at your disposal. I tried firefox and chrome on linux and it seems to work fine.

    Franky

    #45368
    Anonymous
    Inactive

    Thanks for fast fix and solution.

    Large calendar works now also on Chrome when browsing with next and previous buttons.

    I tested this:

    Vista 32-bit

    FF 3.6.12

    IE 8.0.6001.18975

    Chrome 7.0.517.44

    Safari 5.0.2

    Opera 10.63

    Although one content manager on my site claims to have still problems with Vista 32-bit and IE 8.0.6001.18975. Calendar doesn’t populate next month events. I dont’t have more specific details of that case and there’s no errors shown for him. He has cleared the cache but still empty next month. I can’t verify the problem with similar type (versions) setup.

    Thanks for this effort!

    Ps. I am finalizing a translation into Finnish language. Would you be intrested if I send it to you by mail when it is complete?

    #45369
    Franky
    Keymaster

    Sure, you can mail any translation to: liedekef [at] telenet.be

    Are you interested in the latest .pot file for this?

    #45370
    Anonymous
    Inactive

    Hmm, I said it too early.

    I tested now with Author level (where are my content managers also) instead of Admin level.

    Author level:

    * Creating new event works strange. After creating new event you can see all your own events (like you should always). ( admin.php?page=events-manager&action=update_event&event_id=2442 )

    * When you hit Events on Admin panel you can see only some of the own events

    * And while you are on IE it shows only same events on large calendar which you can see on Admin side. (missing some random own events)

    Ps. I’ll mail you about language case.

    #45371
    Franky
    Keymaster

    I’m guessing this is something else (maybe a rights problem on my side or so).

    Can you give me admin access + a problem author access to your site so I can check this out?

    #45372
    Anonymous
    Inactive

    Sorry about the offtopic reply, but this is the only place I’ve found information about a Finnish language translation for EME. Is the translation completed? If not, I would be interested in working on it further.

    So, Timpe or Franky, could you send me the Finnish translation file? My address is jyri.tuulos [at] gmail.com. It would be nice not to have to start from scratch if a working translation exists.

    #45373
    Franky
    Keymaster

    Thanks for the offer, juriga! Unfortunately there’s no Finnish translation yet, I believe the “sv” translation is Swedish …

    But if you’re still up to the task, the template file can be found here: http://plugins.trac.wordpress.org/browser/events-manager-extended/trunk/langs/eme.pot?rev=331412&format=txt

    Using poedit can make the task easier, see:

    http://weblogtoolscollection.com/archives/2007/08/27/localizing-a-wordpress-plugin-using-poedit/

    and http://codex.wordpress.org/Translating_WordPress

    #45374
    Anonymous
    Inactive

    I just mailed straight to Jyri.

Viewing 12 posts - 1 through 12 (of 12 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top