Announcement

Collapse
No announcement yet.

error templates

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

    error templates

    Hi,

    Whilst testing my site I'm getting a few (expected) errors e.g. I'm purposefully not selecting an address from my delivery book to see what the error page looks like- it looks bad.

    I assume the error pages are template driven too- could someone tell me what they're called?
    --
    Kevin Leitch
    Web Designer
    http://www.cyber-media.co.uk

    #2
    Apparently, according to the AUG, the error strings are formatted by OrderScript.pl but I can't find the relevant bits.

    If you go here-

    http://rosemarys.cmhosts.net then add something to the cart, proceed to the checkout then leave the shipping destination country blank and click the 'next' button you'll see the errors that I'm getting- basically the error message is displayed in a nested table thats too wide for my design.

    I've tried altering the settings in Design | Text | Website | HTML as there is a table in there that matches the parameters but overwriting them and uploading again does no good so it must be specified elsewhere- any clues would be a big help.

    TIA.
    --
    Kevin Leitch
    Web Designer
    http://www.cyber-media.co.uk

    Comment


      #3
      Found them!

      The table sizes (and borders and cellpadding) were hard-coded(!!) into four .pm files.

      ac00001.pm
      ACTINIC.pm
      ActinicConstants.pm
      al000001.pm

      at around line 126.

      Sorted now but tut tut Actinic- hard coding design elements? Not good.
      --
      Kevin Leitch
      Web Designer
      http://www.cyber-media.co.uk

      Comment


        #4
        ac00001.pm and al00001.pm are generated from the other files so you don't need to modify them directly. Your changes in the .pm files with more readable names should get carried through.
        Chris Brown

        Comment


          #5
          Well whatever generates them is broke then cos they weren't
          --
          Kevin Leitch
          Web Designer
          http://www.cyber-media.co.uk

          Comment


            #6
            Found em!!! (Error Message Table Width)

            Gah!

            This one has been driving me nuts. I was changing the al000001.pm file over and over, only to find it overwritten when I updated the file. Thanks for the pointer to change them in the two constants files.

            Kee-rist! These *really* should be parsed and use Actinic variables - otherwise what's the point of ACTSTDWIDTH?

            My 2 cents -

            s.

            Comment

            Working...
            X