PDA

View Full Version : Code error message....boo


saggse
04-12-08, 21:46
Any help please I get this error message when site loads

Parse error: syntax error, unexpected T_STRING in /home/saggse/public_html/constants.inc.php on line 1

I know I just know I have done something wrong...any pointers would be most welcome...cant promise the world but a smile I can...

Thanks saggse the laid back one....:)

Bud
04-12-08, 22:13
I'm really no expert at this but check that the constants.inc.php file's first line should be just:

<?php

sourchocolate
05-12-08, 13:56
paste first 10 or 20 lines here from this file so we can help.

saggse
07-12-08, 16:59
<?php
ini_set('display_errors', 0); // php errors



/**
*
* SYSTEM SETTINGS
*
*/


// the name of the template directory inside templates
define('TEMPLATE_DIR', 'default');

// include adult content
define('ADULT_CONTENT', true);

// limit contents to this category
#define('VERTICAL_CATEGORY_ID', 521);

// rename categories or leave name blank to remove them
define('CATEGORY_MAPPINGS', serialize( array(230 => "Books",
97 => "Fashion",
61 => "Pc's & Software",
347 => "Phones & Mobiles",
493 => "Motoring") ) );


Why a few hairs less....coz i keep pulling my hair out on this one....:(

saggse
07-12-08, 17:26
Good day....seen the mistake....

joy working but still bland...however at least content there!:D