Content Top
DAL Computer Help » Web Design, Development & Marketing » Web Development Help » PHP Help » PHP problems-Need help

PHP problems-Need help


HEY! You're not logged in which is fine if you simply want to browse for answers, however if you want to post your own Questions and hangout here you need to Register! ...Registration takes 2 minutes and is completely free. If you have already registered simply log in using the form to the right.

Reply
Thread Tools
PHP Help
Old 07-04-2005, 08:48 AM   #1 (permalink)
D-A-L Newbie
 
Status: Newbie
Join Date: Apr 2005
Posts: 1
 ramstad Is a beginner here at D-A-L



ramstad is offline  
Exclamation PHP problems-Need help

Hi. I are having problems to find the problem in this webpage. Can anyone help me to find the error on this page. This is the error message I get when I try to enter the site

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/www/ramstad.supremeserver21.com/includes/languages/norwegian/index.php on line 35

This is the webpage.

<?php
/*
$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright (c) 2003 osCommerce
Norwegian language files MS2.2
Written by Tor Olav Brueland torolav@support-datahjelp.no
http://www.support-datahjelp.no
Released under the GNU General Public License
*/

define('TEXT_MAIN', '- -');
define('TABLE_HEADING_NEW_PRODUCTS', 'Nye produkter i %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Ventet inn');
define('TABLE_HEADING_DATE_EXPECTED', 'Forventet dato');

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {
define('HEADING_TITLE', 'Vi har fřlgende produkter i denne kategorien');
define('TABLE_HEADING_IMAGE', '');
define('TABLE_HEADING_MODEL', 'Modell');
define('TABLE_HEADING_PRODUCTS', 'Produktnavn');
define('TABLE_HEADING_MANUFACTURER', 'Produsent');
define('TABLE_HEADING_QUANTITY', 'Antall');
define('TABLE_HEADING_PRICE', 'Pris');
define('TABLE_HEADING_WEIGHT', 'Vekt');
define('TABLE_HEADING_BUY_NOW', 'Kjřp nĺ');
define('TEXT_NO_PRODUCTS', 'Det finnes ikke produkter i denne kategorien.');
define('TEXT_NO_PRODUCTS2', 'Det finnes ikke produkter fra denne produsenten.');
define('TEXT_NUMBER_OF_PRODUCTS', 'Antall produkter: ');
define('TEXT_SHOW', '<b>Vis:</b>');
define('TEXT_BUY', 'Kjřp 1 '');
define('TEXT_NOW', '' nĺ');
define('TEXT_ALL_CATEGORIES', 'Alle kategorier');
define('TEXT_ALL_MANUFACTURERS', 'Alle produsenter');
} elseif ($category_depth == 'top') {
define('HEADING_TITLE', 'RAMSTADDATA.NO');
} elseif ($category_depth == 'nested') {
define('HEADING_TITLE', 'Kategorier');
}
?>

Hope someone can solve this one for me.

Thanks


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Advertisement - Register to remove Ads its free!

Old 21-05-2005, 03:01 PM   #2 (permalink)
D-A-L Newbie
 
Status: Newbie
Join Date: May 2005
Posts: 3
 jamey Is a beginner here at D-A-L



jamey is offline  
Re: PHP problems-Need help

The problem is in this line:

Code:
define('TEXT_NOW', '' nĺ');
There should only be a single open quote, like so:

Code:
define('TEXT_NOW', ' nĺ');
__________________
Free PC Help


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
logging restart problems destiny-angel Windows XP Help 11 23-08-2006 03:49 AM
Frustrating computer problems dumediat General Hardware Issues 4 22-07-2006 06:46 AM
problems problems problems dave71 Windows 98/98SE Help 2 25-06-2005 02:30 PM
EliteBar and other problems randy Spyware, Adware, Viruses and HijackThis Logs 3 17-12-2004 05:43 PM
Computer having problems booting up - HELP! dazed and confused General Hardware Issues 1 11-08-2004 10:24 PM


All times are GMT +1. The time now is 04:39 AM.

Bottom Corner