Announcement

Collapse
No announcement yet.

Return to page after adding item

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

    Return to page after adding item

    We are currently having to change a client's web site from www.igbstore.com to www.ibdstore.org due to a corporate name change.
    We have permission from Actinic to run both sites concurrently for a short period for testing as both sites are identical (except for the obvious site name changes in set up) and the owner is the same.
    I've modified the site1 set up to reflect the new name and uploaded it to www.ibdstore.org and everything seems fine except for one thing (and that seems intermittent as well as I initially had no problems in placing an order)
    When I add an item to the basket I get the standard screen showing the new content together with the message: Please wait etc ...or click here.
    The "click here" link works fine & returns to the start page. However the "automatic" return takes me back to www.igbstore.com.
    I've checked out cartmanager.pl and modified it to try to force a return to www.ibdstore.com by changing in sub ContinueShopping:
    my $sURL = $::Session->GetLastShopPage();
    to
    # my $sURL = $::Session->GetLastShopPage();
    my $sURL = "Index.html";
    But it still returns to www.igbstore.com.

    I confess that I've a nasty feeling that I once hard coded something (needless to say no records) to return to a known page (but I can't see why I should ever have used the full URL)

    Any ideas of resolving this: where to start looking: or even the most elementary suggestions will be welcome.

    #2
    I realise now I should have been looking at any changes to Actinic.pm, not cartmanager; so I checked that this morning & I didn't modify that. Interestingly an upgrade to v 6.1.5 seems to have solved the problem except now my extended information "long" text mods from the previous version don't work.

    Still any comments on the above would still be welcomed.

    Dave

    Comment


      #3
      Upgrading wipes out any customisation of Perls scripts as new ones are installed.

      Your upgrade log should show the differences between the new clean scripts and the previous patched ones.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Thanks Norman: I'm trying to track down any changes now. I'm intrigued though as when I look at ID 2161 after the upgrade to 1.6.5 I see the following there <script language=JavaScript>setotherinfo('%s', 'NAME="%s">', '%d', '%d')</script> which bears no resemblance to the "old" message in V 6.1.3 %s <textarea NAME="%s" ROWS="5" COLS="30" %d MAXLENGTH="%d">%s</textarea>
        Any ideas what's going on or have I really screwed something up?

        Dave

        Comment


          #5
          Gee Norman (and others) I'm being really thick today: So sorry Norman: I'd forgotten that I'd implemented your multiple information box patch...I'll fix the .JS file now. Humble apologies.

          Dave

          Comment

          Working...
          X