473,398 Members | 2,812 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,398 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 2616
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",...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.