WebAdmin - SMS Users activity not displayed

WebAdmin - SMS Users activity not displayed SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » WebAdmin - SMS Users activity not displayed « Previous || Next »
Author Message
Kishore
New member
Username: Kishore37

Post Number: 3
Registered: 03-2012
Posted on Thursday, December 29, 2016 - 01:23 pm:   

Hello Des,

I have installed NowSMS v2016-03-28. When logging in as Admin via a web browser, I am unable to view any "Activity" for a selected SMS User (Admin -> SMS Users -> Select User -> Activity). This comes up as blank (apart from the page headers i.e Recent User Activity / Refresh / SMS Out / SMS In).

This has worked in previous versions of NowSMS. Is their something I am missing?

Kind regards.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5771
Registered: 08-2008
Posted on Thursday, December 29, 2016 - 06:37 pm:   

Hi Kishore,

It seems to work for me. I was actually a little surprised, because I forgot this feature existed.

I'm wondering if this could be a browser issue.

Try viewing source...look for </FORM>, and there should be user log entries formatted like this:

<p class="logdisplay">2016-12-29 14:12:08,des,SMSSubmit,12345678,192.168.0.40,5352AA2D,Binary,DCS=8;Text=test 😀</p>

Do you see any such entries?

If not, are there LOG files under NowSMS/USERS/username?

--
Des
NowSMS Support
Kishore
New member
Username: Kishore37

Post Number: 4
Registered: 03-2012
Posted on Friday, December 30, 2016 - 09:48 am:   

Hi Des,

I've tried Chrome, IE 11, and Firefox both locally & externally and we still see no entries;


<FORM NAME="ActivityForm">
<table>
<tr>
<td>
<button NAME="Refresh" VALUE="Refresh" class="readmore" onclick="window.location.reload();return false;">Refresh</button>
</td>
<td><INPUT TYPE="CHECKBOX" NAME="SMSOut" onclick="updatefilter();">SMS Out</td>
<td><INPUT TYPE="CHECKBOX" NAME="SMSIn" onclick="updatefilter();">SMS In</td>
<td>Filter: <INPUT TYPE="TEXT" ID="LogFilter" NAME="LogFilter" onchange="updatefilter();" />&nbsp;
</td>
</tr>
</table>
</FORM>


</div>
</div>

</body>

</html>


Log files are in the correct location i.e. C:\Program Files (x86)\NowSMS\USERS\Username.

Kind regards,

Kishore}
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5773
Registered: 08-2008
Posted on Friday, December 30, 2016 - 07:48 pm:   

Hi Kishore,

I expect that we will need to produce a debug build next week to identify the problem.

But let me ask two questions...

Are both "SMS Out" and "SMS In" checked? (They should be.)

Does Settings/Recent Account Activity work to display the log of the logged in user?

--
Des
NowSMS Support
Kishore
New member
Username: Kishore37

Post Number: 5
Registered: 03-2012
Posted on Friday, December 30, 2016 - 08:25 pm:   

Hi Des,

Are both "SMS Out" and "SMS In" checked? Yes they are both checked.

Does Settings/Recent Account Activity work to display the log of the logged in user? Yes this works for the logged in user in that the log is displayed for the user.

Kind regards,

Kishore
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5775
Registered: 08-2008
Posted on Monday, January 02, 2017 - 06:08 pm:   

Hi Kishore,

We are struggling to identify what this problem could be.

So I'd like to have you try some manual URLs to better pinpoint the area of the problem.

Settings/Recent Account Activity should take you to a URL of /USERACTIVITY

What if you change this to /ADMIN/USERACTIVITY ... does it still display the logged in user's activity?

Next try this for a different account.

/ADMIN/USERACTIVITY?UserName=XXXX

Does any of this work?

--
Des
NowSMS Support
Kishore
New member
Username: Kishore37

Post Number: 6
Registered: 03-2012
Posted on Tuesday, January 03, 2017 - 09:14 am:   

Hi Des,

Thanks for the reply.

I've tested the manual URLs and all was ok. The good news is that I've located what is causing the non-display of SMS User logs.

When I log in as Admin -> SMS Users -> Select User -> Activity I see the following browser URL (an example);

http://XXX.XXX.XXX.XXX:8800/ADMIN/USERACTIVITY?UserName=test - TEST ACCOUNT

This is for User = test and FULL NAME = TEST ACCOUNT. The above URL does not display the activity log. However if I trim away the FULL NAME (i.e. - TEST ACCOUNT) then the user activity log displays correctly;

http://XXX.XXX.XXX.XXX:8800/ADMIN/USERACTIVITY?UserName=test


It seems that what is causing the issue is that the "FULL NAME" of the user account is being appended to the URL.

Kind regards,

Kishore
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5776
Registered: 08-2008
Posted on Tuesday, January 03, 2017 - 11:30 am:   

Hi Kishore,

That explains it. The old UI used to perform an HTTP POST and considered the issue with the full name.

The new UI builds the URL via Javascript.

Here's an updated HTML template to fix this. Right-click and save it to replace SMSUSERS.HTM in the WebAdmin directory.

text/html
SMSUSERS.HTM (2.7 k)


--
Des
NowSMS Support
Kishore
New member
Username: Kishore37

Post Number: 7
Registered: 03-2012
Posted on Tuesday, January 03, 2017 - 11:37 am:   

Hi Des,

Many thanks for this.

All is working well now.

Kind regards,

Kishore

Add Your Message Here, or click here to create a new discussion topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Click here to create an account.
Username:
Password:
Options: Automatically activate URLs in message
Action:

Login Login / Register Logout Logout Search Last 30 Days Topics Topics