Page 79 of 86 FirstFirst ... 29697778798081 ... LastLast
Results 781 to 790 of 858
  1. #781
    Join Date
    Mar 2014
    Location
    Canada
    Posts
    22
    Plugin Contributions
    0

    Default Re: User tracking mod

    Quote Originally Posted by mc12345678 View Post
    I have submitted version 1.5.6 for review.
    When made available should be downloadable from: https://www.zen-cart.com/downloads.php?do=file&id=159

    Primarily adds an error log if the install file is loaded to the store instead of admin, corrects the error I made in the installer in the most recent upload, and modified the instructions a little to make some minor improvements.
    Hi there,

    Ok I did a clean install and added that line as requested.

    #1. Zen Cart executed the full installation beautifully.
    #2. I properly configured the User Tracking mod.
    #3. I verified in phpMyadmin that the new user_tracking table is present. Perfect.

    BUT

    When I go to the actual results page now I get the proper Admin toolbar but then below that everything is blank. No debug errors as well.

    What is interesting is I view source on the page and I see all the data properly being reported but it's all commented out!? Weird eh? So the data is there but it's somehow being commented out.

    Looks like this:

    <!-- header_eof //-->

    <!-- <table border="0" width="100%" cellspacing="0" cellpadding="0"> -->
    <!-- <tr>
    <td valign="top" align="center">
    <table border="0" width="95%" cellspacing="0" cellpadding="2">-->
    <!--<span class="UTBox-cart">-->
    <!-- </tr> -->
    <!-- <tr>
    <td class="dataTableContent" align="right" valign="top"><b>--><!--</b></td>
    <td class="dataTableContent" valign="top"><font color="FF0000"><b>--><!--</b></font></td>
    <td class="dataTableContent UTBox" colspan="2" rowspan="4" align="center">-->
    <!--<span class="UTBox">--><!--</span></td>
    </tr>-->
    <!--<tr>
    <td class="dataTableContent" align="right" valign="top"><b>Country:</b></td>
    <td class="dataTableContent" valign="top"><img src="images/flags/ca.gif" border="0" alt="Canada" title=" Canada ">&nbsp;Canada</td>
    </tr>-->
    <!--
    <tr>
    <td class="dataTableContent" align="right" valign="top"><b>IP Address:</b></td>
    <td class="dataTableContent" valign="top"><a href="http://www.dnsstuff.com/tools/whois.ch?ip=207.6.90.165" target="_new">207.6.90.165</a></td>
    </tr>
    <tr>
    <td class="dataTableContent" align="right" valign="top"><b>Host:</b></td>
    <td class="dataTableContent" valign="top">d207-6-90-165.bchsia.telus.net</td>
    </tr>
    <tr>
    <td class="dataTableContent" align="right" valign="top"><b>Originating&nbsp;URL:</b></td>-->
    <!-- <td class="dataTableContent" align="left" valign="top" colspan="3"><a href="/" target="_new">/</a>&nbsp;</td>
    </tr>
    <tr>
    <td class="dataTableContent"></td>
    <td class="dataTableContent" colspan="3">-->
    <!-- <table border="0" cellspacing="1" cellpadding="2" bgcolor="999999" width="100%">-->
    <!--<span class="UTBox-cart">-->
    <!-- </tr> -->
    <!-- <tr>
    <td class="dataTableContent" align="right" valign="top"><b>--><!--</b></td>
    <td class="dataTableContent" valign="top"><font color="FF0000"><b>--><!--</b></font></td>
    <td class="dataTableContent UTBox" colspan="2" rowspan="4" align="center">-->
    <!--<span class="UTBox">--><!--</span></td>
    </tr>-->
    <!--<tr>
    <td class="dataTableContent" align="right" valign="top"><b>Country:</b></td>
    <td class="dataTableContent" valign="top"><img src="images/flags/ca.gif" border="0" alt="Canada" title=" Canada ">&nbsp;Canada</td>
    </tr>-->
    <!--
    <tr>
    <td class="dataTableContent" align="right" valign="top"><b>IP Address:</b></td>
    <td class="dataTableContent" valign="top"><a href="http://www.dnsstuff.com/tools/whois.ch?ip=207.6.90.165" target="_new">207.6.90.165</a></td>
    </tr>
    <tr>
    <td class="dataTableContent" align="right" valign="top"><b>Host:</b></td>
    <td class="dataTableContent" valign="top"></td>
    </tr>

  2. #782
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: User tracking mod

    That's kind of messed up. Line 1078 of admin/user_tracking.php should have
    Code:
    echo$boxes['body']->infoBox($emptybgheading, $row['body']);


    Which should appear just before a commented out </form> tag at the bottom of the code.

    The commented out code is what "used" to be displayed (for the most part) and was left there to support comparison of new and old designs.

    But, the tables should still be presented unless there is some sort of css that has been generically applied that would hide the table content. :/

    When I tested this on ZC 1.5.5 there were some differences between that display and when used in an older ZC 1.5.3, but not so much so that the content was not present.

    In "viewing" the computer code I don't see an unbalanced html comment, but would have to put the results through a validator of sorts to figure out what happened. Of course could just remove all of the html commented text as well which is expected to resolve that. But, I didn't have any major or minor differences between my running version and the fileset. :/

    See if just before the <?php and echo that follows that adding --> fixes the display.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #783
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: User tracking mod

    I've just downloaded the version from ZC, the version from github, compared it to what I have on my test systems, loaded a future date (as one had reported an issue with a future date as compared to the system time and here is what shows up on my ZC 1.5.5e system using PHP 7.1.

    Name:  User_Tracking_blank.jpg
Views: 73
Size:  32.3 KB

    In the admin file there is only one difference between the last and current version of the admin/user_tracking.php file which is an addition of {} around code that follows an if statement to improve readability.

    So, the only other thing I can imagine is that there is some sort of css on the admin that is different than the base files and because not every aspect is defined by the plugins css that possibly other things are hidden?! I can't know for sure without performing a similar comparison or review of the affected system... I would hope that something specific can be found, but I haven't been able to duplicate the described condition.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #784
    Join Date
    Mar 2014
    Location
    Canada
    Posts
    22
    Plugin Contributions
    0

    Default Re: User tracking mod

    Quote Originally Posted by mc12345678 View Post

    See if just before the <?php and echo that follows that adding --> fixes the display.
    Sorry, I did try adding a --> right before the beginning of that PHP section that contains the key line you quoted.

    Spent the last hour trying to add -->'s in different places without any luck.
    Whenever I add in "-->" I do see them echo'd when I refresh the page.

    I shouldn't have any custom CSS on the admin side.

    I did though get it at one point to show some of the data but of course it was difficult to read with no line spacing and proper tables showing.. Doing this method, I would refresh the page and then view the page source and see something like this, then trial and error to continue trying to remove the additional commenting lines. My problem is I'm not too coding skilled and can't tell which elements need to be there :)

    Would the perfect way to approach this be to go from the start and then make sure everything I delete is "contained" with a beginning comment start and comment end?

    Thanks for your patience with me on this, I just love your mod! Especially since you took the time to add in that filter feature.

    Brandon

  5. #785
    Join Date
    Mar 2014
    Location
    Canada
    Posts
    22
    Plugin Contributions
    0

    Default Re: User tracking mod

    Just for fun and testing, I uploaded an old v1.5 of the user_tracking.php file and it shows everything perfectly, albeit of course without the new features. The filesize being half the size of the new 1.5.5 one :)

  6. #786
    Join Date
    Mar 2014
    Location
    Canada
    Posts
    22
    Plugin Contributions
    0

    Default Re: User tracking mod

    Thanks for checking that.

    When you say "the only difference between the last and current version"...
    I guess for me that would be this one:
    Updated 12/08/2013 Version 1.5

    in comparison to your brand new:
    Version: 1.5.5

    I'll dig into the CSS then if you think that could be it.
    I see I'm loading on that page just these 2:
    <link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
    <link rel="stylesheet" type="text/css" href="includes/cssjsmenuhover.css" media="all" id="hoverJS">

  7. #787
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: User tracking mod

    I'm actually comparing 1.5.6 and 1.5.5 as far as versions.

    BTW, I've uploaded a version that does not have the "newly" created commenting such that only the new table type display should be presented.

    You can find it at: https://github.com/mc12345678/User_T...emove_comments

    Would appreciate some feedback on it. Also what browser are you using? I've been using firefox primarily.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #788
    Join Date
    Mar 2014
    Location
    Canada
    Posts
    22
    Plugin Contributions
    0

    Default Re: User tracking mod

    I'm actually using Firefox as well and as I mentioned Zen Cart v1.51.

    I used the new file you provided overwriting the old one, and this is really weird.

    I get no content loaded, just the typical admin style menu and then the bottom centered Zen Cart logo.

    What is weird is here is all the HTML after the <!-- header_eof //-->:

    (You can see it just is posting essentially nothing)

    <!-- body_text_eof //-->

    <table border="0" width="100%" cellspacing="4" cellpadding="4" bgcolor="FFFFFF" align="center">
    <tr class="infoBoxHeading">
    </tr>
    </table>
    <table border="0" width="100%" cellspacing="4" cellpadding="4" bgcolor="FFFFFF" align="center">
    <tr>
    </tr>
    <tr bgcolor="ffffff">
    </tr>
    </table>

    <!-- body_eof //-->

    <!-- footer //-->
    <table border="0" width="100%" cellspacing="10" cellpadding="10">
    <tr>
    <td align="center" class="smallText" height="100" valign="bottom"><a href="http://www.zen-cart.com" target="_blank"><img src="images/small_zen_logo.gif" alt="Zen Cart:: the art of e-commerce" border="0"></a><br /><br />E-Commerce Engine Copyright &copy; 2003-2017 <a href="http://www.zen-cart.com" target="_blank">Zen Cart&reg;</a><br /><a href="https://scor-pal.com/workshop/server_info.php">Zen Cart v1.5.1/v1.5.1</a></td>
    </tr>
    </table>


    <!-- footer_eof //-->
    <br />
    </body>
    </html>

  9. #789
    Join Date
    Mar 2014
    Location
    Canada
    Posts
    22
    Plugin Contributions
    0

    Default Re: User tracking mod

    I also just tried something out of interest. I tried in Chrome/Firefox and Edge for all 3.

    I uploaded v1.5.5 admin/user_tracking.php and I get as I mentioned the page loads but then all the table data is reported but commented out.

    I uploaded v1.5.4 same file and I get a blank page completely so nothing loads (not the menu, etc.).

    I uploaded v1.5.3 same file and it works flawlessly seeing all the data.

    I uploaded v1.5.2 same file and it also works flawlessly.

  10. #790
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: User tracking mod

    Quote Originally Posted by Nitroedge View Post
    I also just tried something out of interest. I tried in Chrome/Firefox and Edge for all 3.

    I uploaded v1.5.5 admin/user_tracking.php and I get as I mentioned the page loads but then all the table data is reported but commented out.

    I uploaded v1.5.4 same file and I get a blank page completely so nothing loads (not the menu, etc.).

    I uploaded v1.5.3 same file and it works flawlessly seeing all the data.

    I uploaded v1.5.2 same file and it also works flawlessly.
    So, that makes me wonder about the fileset on the system related to table generation. I mean I have considered possibly providing a specific table file, but figured if it were possible with the builtin/existing unchanged software, then that seemed ideal, but you say that there are no mydebug logs being generated as a result of this, are there any being generated from the admin side? Ie. can you create an error condition and cause an error to be generated?

    Then also see how the following files differ from a vanilla ZC 1.5.1 installation:
    admin/includes/classes/box.php
    admin/includes/classes/table_block.php

    I'm wondering/somewhat thinking that even in the older version(s) where the box class was used that perhaps it wasn't displaying in your setup for some reason...

    Ackkk.. I figured it out... Somewhere between ZC 1.5.1 and 1.5.5, the admin/includes/classes/table_block.php file changed ever so slightly, but just enough that it at least impacted this operation to where "nothing" gets displayed in ZC 1.5.1. So, gotta figure out the best way to provide all of the "support" for the plugin to work and to not negatively affect other plugins. Guess either I could provide the files necessary to maybe offer the individual design(s) or in this case provide the "minor" fix that was applied to ZC 1.5.2 and above (which ideally would also be applied to ZC 1.5.1 to make better use of the table_block class. I'll add this to the instructions, though ideally you know you would also update to a more recent version of ZC at this point considering that ZC 1.5.1 is more than 5 years old.

    https://github.com/zencart/zencart/c...2024f66dd1f33c
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 79 of 86 FirstFirst ... 29697778798081 ... LastLast

Similar Threads

  1. User Tracking Mod only shows the Admin Session
    By Griff1324 in forum General Questions
    Replies: 6
    Last Post: 29 May 2008, 10:56 PM
  2. User Tracking Mod issue: repeated Logins: Admin: View Sessions
    By dharma in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 20 Feb 2008, 04:48 AM
  3. Search log mod vs. user tracking
    By ashton0603 in forum General Questions
    Replies: 4
    Last Post: 30 Jan 2008, 08:43 AM
  4. Google Analytics vs User Tracking mod
    By miles in forum General Questions
    Replies: 1
    Last Post: 15 Jun 2007, 10:09 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR