Announcement

Collapse
No announcement yet.

Login from Homepage - BASEREF problem

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

    Login from Homepage - BASEREF problem

    Hi,

    I'm redesigning my website using v10. The old site is a v7 site, so I felt the time had come to move upwards and onwards!

    The new site has been uploaded temporarily (for development) to www.gaina.co.uk.

    Here's my problem: when I log in from the Products Page (which is the store top) or any product page for that matter, everything works fine. But when I login from the home page (which is the brochure page) then the BASEREF is not being set correctly, so I lose all images. I have the original BaseRef layout in the Head of both the brochure page and the catalogue page.

    I've been struggling for 2 days with this now, so I thought it was time to ask for help!

    You can see the effect with username test, password testtest.

    Note: I've also noticed another quirk: this problem only occurs if you try to login from the home page first without having visited the products page at all. If you visit the products page, then click back to the home page and login, it all works fine! But clear the cache, then login from the home page and the problem reappears. FYI, I'm using Firefox.

    #2
    Possibly a network setup problem. I see that your cgi-bin is at www.gaina.co.uk/cgibinfiles/

    Post your network settings (with usernames / passwords removed).
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Hi Norman,

      Network settings are:

      HTTPPROXYMODE 0
      HTTPPROXYADDRESS
      HTTPPROXYPORT 80
      HTTPPROXYUSER
      HTTPPROXYPASSWORD
      FTPPROXYMODE 0
      FTPPROXYADDRESS
      FTPPROXYPORT 21
      FTPPROXYUSER
      FTPPROXYPASSWORD
      SCRIPTID 1
      SCRIPTEXT .cgi
      SMTPHOST <<REMOVED>>
      WEBSITEURL www.gaina.co.uk
      IGNOREPASSIVEERRORS true
      USERELATIVECGIURLS false
      PATHTOPERL /usr/bin/perl
      USEENHANCEFTP true
      FTPCLIENTTIMEOUT 15000
      FTPRETRYDELAY 3000
      FTPKEEPALIVEINTERVAL 30000
      FTPSILENT false
      FTPMAXRETRIES 3
      FTPCONNECTTIMEOUT 25000
      SMTPAUTHREQUIRED true
      SMTPUSERNAME <<REMOVED>>
      SMTPPASSWORD <<REMOVED>>
      COMPRESSIONPACKETSIZE 1024
      COMPRESSEDUPLOAD true
      CATALOGURL http://www.gaina.co.uk/davora_site/
      ONLINESTOREFOLDERNAME davora_site
      CGIBINURL http://www.gaina.co.uk/cgibinfiles/
      PATHFROMCGITOCATALOG ../davora_site/
      CODEBASE ./
      FTPHOST www.gaina.co.uk
      FTPUSERNAME <<REMOVED>>
      FTPPASSWORD <<REMOVED>>
      PATHTOCGIBIN /cgibinfiles/
      USEPASSIVEFTP false
      FTPPATHFROMCGITOCATALOG

      Comment


        #4
        Hmmm... I don't see anything suspicious there. Except WEBSITEURL could be http://www.gaina.co.uk

        Perhaps someone else has ideas.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Does the network test pass without error?

          Comment


            #6
            The only thing that fails in the network test is the SMTP test. I keep getting a message to say the SMTP server is invalid, even though they are exactly the same details I have in my v7 setup.

            But that's a separate issue I think.

            Has anyone managed to replicate my error? The exact process is:

            - Clear your cache
            - go to www.gaina.co.uk
            - without visiting any other page, login with username test and password testtest.

            If you first go to the products page and then back to the home page and then logon, the problem does not occur.

            Can someone explain to me how the BaseHRef layout works? What's the difference between FORCED=0 and FORCED=1?

            Comment


              #7
              It seems to work OK for me.

              Comment


                #8
                Still fails for me. Both with Firefox and IE8.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  Why don't you have a cgi-bin folder called 'cgi-bin' and have the file extension as '.pl' like 99.99% of us do. If nothing else it will let see how your site works with what everyone uses, is there a reason for yours to be different? if not go standard, we're far more likely to spot the error then.

                  It let me login fine.

                  You haven't got the 'relative' cgi-bin tickbox ticked have you (bottom left in network setup)?

                  Comment


                    #10
                    I can't seem to simulate this as it works for me.

                    This is what I did in IE6:
                    1. Clear cache
                    2. Click on top Trade Login link and log in
                    3. Click on one of the New Products
                    4. Images all appear OK

                    Comment


                      #11
                      Hi LeeHack,

                      No reason for being different other than that's how I've always done it - I was advised to be different in the very early days (i.e. YEARS ago!) apparantly for security reasons (rouge/hacking software will more likely look for cgi-bin rather than cgibinfiles) but like you I now question this philosophy.

                      drounding - it works fine from the tradelink in the menu bar at the top, but it the trade login on the right side column that causes the issue.


                      PS. Anyone advise on what FORCED=0 and FORCED=1 mean?

                      Comment


                        #12
                        Not had any luck with this, so I've decided to relpace the login fields with a link to the login page instead. At least it will work that way.

                        Thanks to those who did try to help anyway!

                        Raj

                        Comment


                          #13
                          Originally posted by raj_arora View Post


                          PS. Anyone advise on what FORCED=0 and FORCED=1 mean?
                          Typical coding for OFF/FALSE(0) and ON/TRUE (1). So FORCED=0 means do not force

                          Actinic:BASEHREF is not a standard HTML tag and only has meaning to Actinics scripts.

                          Malcolm

                          SellerDeck Accredited Partner,
                          SellerDeck 2016 Extensions, and
                          Custom Packages

                          Comment

                          Working...
                          X