Announcement

Collapse
No announcement yet.

Artifacts in the code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Artifacts in the code

    This may technically be Miva related but I figure that it's so obscure enough that it stumped the Support team. I stumbled across something today that I haven't run into in years and I was trying to doublecheck to make sure it was okay to remove all these tags I had found inserted into a Miva site I was reviewing. I don't know how they get there but I am pretty sure they don't get hard coded in. Every form tag in the site has an additional hidden tag:

    Code:
    <input type="hidden" name="phpMyAdmin" value="long string of numbers and letters" />
    The "long string of numbers and letters" is exactly the same throughout the entire site. Removing the hidden tag doesn't seem to break anything. Why would it? If they were needed they would be in every Miva site.

    I never did find out what caused it. One guess was it occurred when a Miva site was moved to a new host.
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    That was never stock Miva code.
    Thanks,

    Rick Wilson
    CEO
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Originally posted by Rick Wilson View Post
      That was never stock Miva code.
      LOL, yes, that much I knew. I'm just trying to figure out how it got inserted into a number of sites over the years. It may be as much as 10 years since I last saw this happen.
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment


        #4
        That I don't know
        Thanks,

        Rick Wilson
        CEO
        Miva, Inc.
        [email protected]
        https://www.miva.com

        Comment


          #5
          It could have been used for Troubleshooting, updating something, or giving access to phpMyAdmin again for troubleshooting.
          Thank You,

          Nerd Boy

          http://www.nerdboyinc.com

          1-855-Nerd-Boy

          Comment


            #6
            I recall seeing that and cleaning it up, but i swear it's been at least 12 years and I can't for the life of me remember the issue
            Sabine Sharp
            eCommerce Strategies & Solutions
            Glendale Designs
            Support Desk
            623.322.6066

            Comment


              #7
              Originally posted by Nerd Boy Inc View Post
              It could have been used for Troubleshooting, updating something, or giving access to phpMyAdmin again for troubleshooting.
              I could understand it being used perhaps on one page, but this is in every form on every page in the site, including forms that don't even have a Miva function. I can confirm that this latest site was hosted with more than one host, I just don't know when they moved to their current host.

              Leslie Kirk
              Miva Certified Developer
              Miva Merchant Specialist since 1997
              Previously of Webs Your Way
              (aka Leslie Nord leslienord)

              Email me: [email protected]
              www.lesliekirk.com

              Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

              Comment


                #8
                Originally posted by GDesigns View Post
                I recall seeing that and cleaning it up, but i swear it's been at least 12 years and I can't for the life of me remember the issue
                It has been quite a while since I've seen this too. This particular site is MMUI still has a lot of lingering MM5 to it. The nav bar still has the old Miva logo in it
                Leslie Kirk
                Miva Certified Developer
                Miva Merchant Specialist since 1997
                Previously of Webs Your Way
                (aka Leslie Nord leslienord)

                Email me: [email protected]
                www.lesliekirk.com

                Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                Comment


                  #9
                  Could it have been installed by a third-party module?
                  Todd Gibson
                  Oliver + S | Sewing Patterns for Kids and the Whole Family

                  Comment


                    #10
                    Originally posted by oliverands View Post
                    Could it have been installed by a third-party module?
                    That's an interesting thought, but I don't recall any module that did this. It would have had to have been a pre-2007 module.
                    Leslie Kirk
                    Miva Certified Developer
                    Miva Merchant Specialist since 1997
                    Previously of Webs Your Way
                    (aka Leslie Nord leslienord)

                    Email me: [email protected]
                    www.lesliekirk.com

                    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                    Comment


                      #11
                      You could check on the server to see if there is a directory that's not a standard Miva one. If this were the case, there would probably be some other code, not Miva native, living on the server. You might be able to track it down that way.
                      Todd Gibson
                      Oliver + S | Sewing Patterns for Kids and the Whole Family

                      Comment


                        #12
                        I think, but I could be wrong, it had to do with the server setup back then. Also non-miva hosted site/s
                        Sabine Sharp
                        eCommerce Strategies & Solutions
                        Glendale Designs
                        Support Desk
                        623.322.6066

                        Comment


                          #13
                          This may jog a memory...

                          Years ago prior to Ready Themes for sure, and possibly from the ancient times of the original 5.0 when Miva wasn't Miva managed, but by someone else, I took over a couple stores originally done by pro services (again, the early days of this). These sites had these codes everywhere. I don't think I remember the specifics of my experience with these, but I am fairly sure these sites weren't Miva Hosted (Miva Hosting was in infancy). By the time I got these stores, the tag appeared to be completely ineffective. I was able to remove them and the pages still worked.

                          Maybe the tag/code was needed to make a secure/valid connection with the MySQL Tables for some reason? Then, later updates of Merchant and server configurations eliminated the need?

                          Scott
                          Need to offer Shipping Insurance?
                          Interactive Design Solutions https://www.myids.net
                          MivaMerchant Business Partner | Certified MivaMerchant Web Developer
                          Competitive Rates, Custom Modules and Integrations, Store Integration
                          AutoBaskets|Advanced Waitlist Integration|Ask about Shipping Insurance Integration
                          My T-shirt Collection is mostly MivaCon T-shirts!!

                          Comment


                            #14
                            Yup, I agree with Scott - it was for sure non-Miva hosted sites and I remember simply find/replace (as in delete) them and everything still worked fine.
                            Sabine Sharp
                            eCommerce Strategies & Solutions
                            Glendale Designs
                            Support Desk
                            623.322.6066

                            Comment


                              #15
                              Originally posted by GDesigns View Post
                              Yup, I agree with Scott - it was for sure non-Miva hosted sites and I remember simply find/replace (as in delete) them and everything still worked fine.
                              I've known that deleting all these "artifacts" never broke a site, as I had to do it for a number of sites. I was just really trying to see if anyone knew how they got there. I seem to recall it happening when I site was moved from one host to another. I don't think it was anything put there on purpose since I seem to recall it showing up after a site was moved to a new host (and just due to the sheer numbers of these I have had to remove in a single site).
                              Leslie Kirk
                              Miva Certified Developer
                              Miva Merchant Specialist since 1997
                              Previously of Webs Your Way
                              (aka Leslie Nord leslienord)

                              Email me: [email protected]
                              www.lesliekirk.com

                              Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                              Comment

                              Working...
                              X