473,382 Members | 1,261 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Parse error

line 30 define('CHECKOUT_CGV', 'Condizioni generali di vendità');
line 31 define('TEXT_CONDITIONS', 'ho letto e accetato<a href="' .
tep_href_link(FILENAME_CONDITIONS,
'origin=checkout_payment') . '" class="conditions">Condizioni
generali di vendità! </a>');
line 32 define('JS_ERROR_NO_CHECK_CONDITION', '* 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_payment.php on line 32

May 8 '07 #1
3 2615
crepmaster wrote:
line 30 define('CHECKOUT_CGV', 'Condizioni generali di vendità');
line 31 define('TEXT_CONDITIONS', 'ho letto e accetato<a href="' .
tep_href_link(FILENAME_CONDITIONS,
'origin=checkout_payment') . '" class="conditions">Condizioni
generali di vendità! </a>');
line 32 define('JS_ERROR_NO_CHECK_CONDITION', '* 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_payment.php on line 32

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

l'ordine
^

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

Hendri Kurniawan
May 8 '07 #2
NC
On May 8, 4:01 pm, crepmaster <ebonguean...@gmail.comwrote:
>
line 30 define('CHECKOUT_CGV', 'Condizioni generali di vendità');
line 31 define('TEXT_CONDITIONS', 'ho letto e accetato<a href="' .
tep_href_link(FILENAME_CONDITIONS, 'origin=checkout_payment') .
'" class="conditions">Condizioni generali di vendità! </a>');
line 32 define('JS_ERROR_NO_CHECK_CONDITION', '* 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_ERROR_NO_CHECK_CONDITION',
'* Per continuare l\'ordine, le condizioni generali devono essere
accetate!');

or this:

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

Cheers,
NC

May 8 '07 #3
On 9 Mag, 01:01, crepmaster <ebonguean...@gmail.comwrote:
line 30 define('CHECKOUT_CGV', 'Condizioni generali di vendità');
line 31 define('TEXT_CONDITIONS', 'ho letto e accetato<a href="' .
tep_href_link(FILENAME_CONDITIONS,
'origin=checkout_payment') . '" class="conditions">Condizioni
generali di vendità! </a>');
line 32 define('JS_ERROR_NO_CHECK_CONDITION', '* 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_payment.php on line 32
thanx!!!!

May 9 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Steven | last post by:
I got a "Parse error: parse error in ..." in this line: if(empty($_POST){ ..... But if I fist assign $ssn=$_POST; and then if(empty($ssn){ ... it is working. Any advice? Thanks in advance.
1
by: Jan Pieter Kunst | last post by:
Dear people, How is it possible that this gives a parse error: if (! empty($this->zoekopdracht->get_gezochte_vraagnummers())) $vraagnummers_bijhouden = TRUE; -> Parse error: parse error,...
2
by: Stuart Rogers | last post by:
My hosting service uses PHP 4.3.10 and when I run a php script which works perfectly on my local lan linux server on my hosting service I get this error:- Parse error: parse error, unexpected...
1
by: H.L Bai | last post by:
hi, everybody i meet a parse error when i used the xml4c. any proposal is helpful. The error is following .../XMLRegionHandler.h:59 parse error before '*' .../XMLRegionHandler.h:60 parse...
4
by: Marcin Dobrucki | last post by:
I've been having some problems with a parse error that I can't figure out (PHP 4.3.11 on Solaris9). Sample code: <?php // getting strange parse errors on this class A { var $value; function...
6
by: Ehartwig | last post by:
I recently created a script for user verification, solved my emailing issues, and then re-created the script in order to work well with the new PHP 5 that I installed on my server. After...
2
by: Vittal | last post by:
Hello All, I am trying to compile my application on Red Hat Linux 8 against gcc 3.2.2. Very first file in application is failing to compile. I tried compiling my application on Linux 7.2...
21
by: BWIGLEY | last post by:
Basically I've just started making a game. So far it makes an array 25 by 20 and tries to make five rooms within it. In scr_make_room() there's parse errors: 20 C:\c\Rooms\Untitled1.c parse error...
1
by: Phaelle | last post by:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' What does that error mean? I can´t find the mistake!! In another script, I have got another kind of mistake : parse...
2
by: Lawrence Krubner | last post by:
Imagine a template system that works by getting a file, as a string, and then putting it through eval(), something like this: $formAsString = $controller->command("readFileAndReturnString",...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.