Go Back   Pligg CMS Forum > Pligg Help > Installation and Upgrade Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-28-2007, 02:24 PM
New Pligger
 
Join Date: Sep 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
unexpected t_constant_encapsed_string in settings.php

I'm installing Pligg on an intranet (apache server) that supports PHP and mysql. I'm on step 3, and after the installer tells me the tables were successfully created, I get this:
Quote:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/sites/rklau/cgi/settings.php on line 4
My settings.php file reads:

Code:
<?php
$my_base_url = '//rklau/cgi';
$my_pligg_base = '/var/www/sites/rklau/cgi';
$dblang = 'en';
if(!defined('table_prefix')){ define('table_prefix', 'pligg_'); }
include_once mnminclude.'settings_from_db.php';
?>
I've successfully installed Pligg on other servers, and searching for this particular error hasn't resulted in any obvious Pligg-related issues. The syntax in the settings.php file appears valid - any idea what's wrong?
Reply With Quote
  #2 (permalink)  
Old 09-28-2007, 02:43 PM
New Pligger
 
Join Date: Sep 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Looks like it may have been a simple case of files not replicating properly from dev to production. It's working now, no need to respond. Sorry for the noise...
Reply With Quote
Reply

Thread Tools
Display Modes
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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
settings.php viewable by the world rspx0 Installation and Upgrade Help 15 07-22-2008 06:43 AM
Hacked! Pligg settings.php file overwritten longcountdown General Help 4 12-22-2007 02:57 PM
"Parse error: syntax error, unexpected $end" Issue motang General Help 5 10-02-2007 02:46 AM
Parse error: syntax error, unexpected T_STRING dragan General Help 1 09-13-2007 08:18 AM
[SOLVED] Unexpected character cogmios Installation and Upgrade Help 0 07-21-2007 05:13 AM


Search Engine Friendly URLs by vBSEO 3.2.0