Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sören Deger 733 posts 2844 karma points c-trib
    Oct 14, 2013 @ 13:23
    Sören Deger
    0

    uMobile - Logs manager: Internal Server Error

    Hi,

    if I click on Logs (Logs manager) I get an Internal Server Error (500). The other functions works great!
    Can anyone help?

     

    Best regards

    Sören

  • Antoine 176 posts 1494 karma points
    Oct 14, 2013 @ 14:12
    Antoine
    0

    I will try to reproduce your issue, Which version of Umbraco are you using? Did you try to connect with our demo site (http://demo.lecoati.com demo/demo)?

    Antoine

  • Sören Deger 733 posts 2844 karma points c-trib
    Oct 14, 2013 @ 14:27
    Sören Deger
    0

    Hi use Umbraco 6.1.3 and my own umbraco site.

  • Sören Deger 733 posts 2844 karma points c-trib
    Oct 14, 2013 @ 14:29
    Sören Deger
    0

    On your demo site, it works great.

  • Antoine 176 posts 1494 karma points
    Oct 14, 2013 @ 18:20
    Antoine
    0

    I have tested with Umbraco 6.1.3 and this Issue does not seem to be related.

    In this version of uMobile, the logs are consulted directly in the table umbracoLog in bbdd. Maybe your database doesn't support the queries we are using here. Which kind of database are you using?

  • Sören Deger 733 posts 2844 karma points c-trib
    Oct 15, 2013 @ 10:15
    Sören Deger
    0

    I have tested on two different servers with two different websites (umbraco 6.1.3).  I'm using MS SQL Server 2012 on the one server and MS SQL Server 2008 RS on the other server. But I have the same issue on both.

  • Antoine 176 posts 1494 karma points
    Oct 15, 2013 @ 11:32
    Antoine
    0

    We are using the SQL instruction “row_number()” for the paging, it is not available for SQLserver 2002 but for 2008 yes ! The first query is:

    SELECT id, userId, Datestamp, logComment, logHeader  FROM ( SELECT id, userId, Datestamp, logComment, logHeader, ROW_NUMBER() over (order by id desc) AS RowNum  FROM umbracoLog where Datestamp >= '01/01/2010' and  Datestamp <= '01/01/2014' ) AS SOD  WHERE SOD.RowNum BETWEEN 1 AND 10
    

    If you can, try it and give me your feedback

    Anyway, we are planning to modify those queries for something more generic and compatible in the next version of uMobile.

  • Sören Deger 733 posts 2844 karma points c-trib
    Oct 15, 2013 @ 14:08
    Sören Deger
    0

    If I set "FROM umbracoLog" to "FROM [myDatabaseName].[dbo].[umbracoLog]" and exexute this in SQL Management Studio it works without Exceptions.

  • Antoine 176 posts 1494 karma points
    Oct 15, 2013 @ 15:22
    Antoine
    0

    Thank you Sören,

    I don't think that it is related with the "FROM" entity, I have changed the query with one which work with all SQL server version.

    You can find it here: http://www.umobileapp.com/resources/build/uMobile_0.9.2.1.zip

    Let me know if it works for you, I will include it in the next version.

    In case is still no working, please consult the umbracoLog table, I have added some try/catch with [uMobile] tag

  • Sören Deger 733 posts 2844 karma points c-trib
    Oct 16, 2013 @ 09:31
    Sören Deger
    0

    Hi Antoine,

    it works not for me.

  • Antoine 176 posts 1494 karma points
    Oct 16, 2013 @ 09:53
    Antoine
    0

    Ok, did you have a look in the umbracoLog table, maybe we can find some extra information, just look for a comment start with [uMobile]

  • Sören Deger 733 posts 2844 karma points c-trib
    Oct 16, 2013 @ 10:34
    Sören Deger
    0

    There are only two entries with uMobile in the umbracoLog table, but this are entries with logHeader "New" and not from today.

  • Antoine 176 posts 1494 karma points
    Oct 16, 2013 @ 11:06
    Antoine
    0

    Can you try with this new build and look again into the log table http://www.umobileapp.com/resources/build/uMobile_0.9.2.2.zip

    Thanks you Sören !

  • Sören Deger 733 posts 2844 karma points c-trib
    Oct 16, 2013 @ 11:23
    Sören Deger
    0

    Ok, If I click on Logs-Log manager I get the following message:

    Error
    Error retrieving data

    In the log table I can find one new entry:
    [uMobile] Logmanager call

     

  • Antoine 176 posts 1494 karma points
    Oct 16, 2013 @ 12:14
    Antoine
    0

    Great :) something happens! So, let try with this build: http://www.umobileapp.com/resources/build/uMobile_0.9.2.3.zip

    It's maybe a datetime parsing issue.

    If the problem persists, I can prepare for you a simple extension for uMobile with this piece of code that you will be able to debug.

  • Sören Deger 733 posts 2844 karma points c-trib
    Oct 16, 2013 @ 12:31
    Sören Deger
    0

    On my smartphone i get this error:
    Error retrieving data (Logmanager)

    In log table I get this entries:
    [uMobile] Logmanager call get total
    [uMobile] Logmanager call error: Umbraco Exception (DataLayer): SQL helper exception in ExecuteScalar
    [uMobile] Logmanager call error (InnerException): Bei der Konvertierung eines varchar-Datentyps in einen datetime-Datentyp liegt der Wert außerhalb des gültigen Bereichs.

    The last entrie means in english:
    During the conversion of a varchar data type to a datetime data type of the value is out of range.

  • Antoine 176 posts 1494 karma points
    Oct 17, 2013 @ 09:22
    Antoine
    100

    It was a datetime conversion issue, try this version: http://www.umobileapp.com/resources/build/uMobile_0.9.2.5.zip

    I hope that the error was fixed now.

    Thanks.

  • Sören Deger 733 posts 2844 karma points c-trib
    Oct 17, 2013 @ 09:28
    Sören Deger
    0

    Thank you Antoine! It works!!!!! Great job!

  • Antoine 176 posts 1494 karma points
    Oct 17, 2013 @ 09:55
    Antoine
    0

    Great, thank you!

    I hope that you will have a good experience with uMobile, we are working hard to add more new very useful features soon!

Please Sign in or register to post replies

Write your reply to:

Draft