Announcement

Collapse
No announcement yet.

maintain changes to perl files

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

    maintain changes to perl files

    Hi folks,
    I have made a change to the ss000001.pl file, which i uploaded and worked fine.
    The problem i have is that the change seems to be overwritten with the original ss000001.pl whenever i upload any other changes.

    ie. As my site has an overall black background, the white page that displays briefly while the script is running is quite blatant, so i have included some code in the perl script to output a blank black page while script is running.
    That works fine until my next site update, when the file reverts to its original.

    Any ideas??

    TIA,
    Robynne.

    #2
    ss000001.pl is the uploaded version of SearchScript.pl that you'll find in your Site1 folder. SearchScript.pl is the one to make changes to (make a backup first).

    You'll also find it a lot easier to work with as this is the fully commented and nicely laid out version.

    When you do a site update, Actinic will detect that it has changed and automatically upload it for you (as ss000001.pl). It also compacts the code and strips the comments to save server load.

    Norman
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks

      Many thanks, Norman - once again you save the day.
      cheers,
      Robynne

      Comment


        #4
        You'll also find it a lot easier to work with as this is the fully commented and nicely laid out version.

        When you do a site update, Actinic will detect that it has changed and automatically upload it for you (as ss000001.pl).
        I've made the first non commented line of the shoppingcart.pl file "exit;" but when I upload the site I can view the cart, add to it, update it and it works just fine... what am I missing...?
        John

        Comment


          #5
          Use FTP to look at ca000001.pl in your cgi-bin. That's what ShoppingCart.pl becomes (assuming your script ID is 1) when uploaded. See if your code is in that file.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            I started a new site for another reason and that fixed it... now I have other problems, but that's another thread...
            John

            Comment

            Working...
            X