Parse error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • crepmaster

    Parse error

    line 30 define('CHECKOU T_CGV', 'Condizioni generali di vendità');
    line 31 define('TEXT_CO NDITIONS', 'ho letto e accetato<a href="' .
    tep_href_link(F ILENAME_CONDITI ONS,
    'origin=checkou t_payment') . '" class="conditio ns">Condizion i
    generali di vendità! </a>');
    line 32 define('JS_ERRO R_NO_CHECK_COND ITION', '* Per continuare
    l'ordine, le condizioni generali devono essere accetate!');

    i'have this synthax error but i can't understand where the error is
    coming from.
    thanx

    Parse error: syntax error, unexpected T_STRING in /home/lacasa/
    public_html/negozio/catalog/includes/languages/italian/
    checkout_paymen t.php on line 32

  • Hendri Kurniawan

    #2
    Re: Parse error

    crepmaster wrote:
    line 30 define('CHECKOU T_CGV', 'Condizioni generali di vendità');
    line 31 define('TEXT_CO NDITIONS', 'ho letto e accetato<a href="' .
    tep_href_link(F ILENAME_CONDITI ONS,
    'origin=checkou t_payment') . '" class="conditio ns">Condizion i
    generali di vendità! </a>');
    line 32 define('JS_ERRO R_NO_CHECK_COND ITION', '* Per continuare
    l'ordine, le condizioni generali devono essere accetate!');
    >
    i'have this synthax error but i can't understand where the error is
    coming from.
    thanx
    >
    Parse error: syntax error, unexpected T_STRING in /home/lacasa/
    public_html/negozio/catalog/includes/languages/italian/
    checkout_paymen t.php on line 32
    >

    on line 32
    define('JS_ERRO R_NO_CHECK_COND ITION', '* Per continuare l'ordine, le
    condizioni generali devono essere accetate!');

    l'ordine
    ^

    Solution: change to
    define('JS_ERRO R_NO_CHECK_COND ITION', "* Per continuare l'ordine, le
    condizioni generali devono essere accetate!");

    Hendri Kurniawan

    Comment

    • NC

      #3
      Re: Parse error

      On May 8, 4:01 pm, crepmaster <ebonguean...@g mail.comwrote:
      >
      line 30 define('CHECKOU T_CGV', 'Condizioni generali di vendità');
      line 31 define('TEXT_CO NDITIONS', 'ho letto e accetato<a href="' .
      tep_href_link(F ILENAME_CONDITI ONS, 'origin=checkou t_payment') .
      '" class="conditio ns">Condizion i generali di vendità! </a>');
      line 32 define('JS_ERRO R_NO_CHECK_COND ITION', '* Per continuare
      l'ordine, le condizioni generali devono essere accetate!');
      >
      i'have this synthax error but i can't understand where the error is
      coming from.
      The apostrophe in "l'ordine". Try this:

      define('JS_ERRO R_NO_CHECK_COND ITION',
      '* Per continuare l\'ordine, le condizioni generali devono essere
      accetate!');

      or this:

      define('JS_ERRO R_NO_CHECK_COND ITION',
      "* Per continuare l'ordine, le condizioni generali devono essere
      accetate!");

      Cheers,
      NC

      Comment

      • crepmaster

        #4
        Re: Parse error

        On 9 Mag, 01:01, crepmaster <ebonguean...@g mail.comwrote:
        line 30 define('CHECKOU T_CGV', 'Condizioni generali di vendità');
        line 31 define('TEXT_CO NDITIONS', 'ho letto e accetato<a href="' .
        tep_href_link(F ILENAME_CONDITI ONS,
        'origin=checkou t_payment') . '" class="conditio ns">Condizion i
        generali di vendità! </a>');
        line 32 define('JS_ERRO R_NO_CHECK_COND ITION', '* Per continuare
        l'ordine, le condizioni generali devono essere accetate!');
        >
        i'have this synthax error but i can't understand where the error is
        coming from.
        thanx
        >
        Parse error: syntax error, unexpected T_STRING in /home/lacasa/
        public_html/negozio/catalog/includes/languages/italian/
        checkout_paymen t.php on line 32
        thanx!!!!

        Comment

        Working...