Home -> Forum

ClientExec News

Who's Online

We have 9 guests online

Designed by:
SiteGround web hosting Joomla Templates
ClientExec Bridge Project
Welcome, Guest
Please Login or Register.    Lost Password?
Parse error: syntax error. (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Parse error: syntax error.
#30
joemomma (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Parse error: syntax error. 3 Years, 6 Months ago  
Hi there.

I got the bridge installed (I thought successfully), however, when I login as a user, and attempt to access CE via the module, I get the following error.

Parse error: syntax error, unexpected T_STRING in /home/mybroken/public_html/mysite/billing/config.php on line 29

Below is the code of my config.php

Code:

<?php
/***** SPECIFIC TO YOUR SERVER (CHANGE) ******/
$hostname = 'changed';
$dbuser = 'changed';
$dbpass = 'changed';
$database = 'changed';
$demo_mode = 0;
define('DEBUG',false);
define('INSTALLED', 1);
define('SESSION_NAME', 'CLIENTEXEC');

// *** LOG_LEVELS (each level adds additional information) ***
// 0: No logging
// 1: Security attacks attempts, errors and important messages (recommended level)
// 2: + Request URIs and URI redirections
// 3: + POST and COOKIE values
// 4. + SQL queries
// 5: Maximum verbosity: plugin events, curl requests,
// some function calls with their parameters, etc. (use this when sending logs to support)
define('LOG_LEVEL', 0);
define('LOG_SCREEN', false);
define('_FROMCLIENTEXEC',1);
define('_JURL','http://mysite.com/index.php');
define('_CEBRIDGEINCLUDE','/home/mybroken/public_html/mysite/components/com_cebridge/classes/clientexec.php'

// To activate text file logging, replace the 'false' with the file full path. Do not use relative paths.
// Use absolute paths(e.g. /home/yourinstallationpath/ce.log, instead of ce.log)
// The log may show passwords, so please use a file outside the web root, but writable by the web server user.
define('LOG_TEXTFILE', false);

// To use $_SESSION['sessionPassword'] and $_SESSION['sessionUserName'] for login sharing, set this variable to true.
// There is a potential security risk to doing this since session variables are often
// stored in /tmp on shared servers which puts login information at risk.
define('SESSION_LOGIN', false);
?>



Any idea what may be causing this>?
Cheers,
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#31
Shannon (Admin)
Admin
Posts: 40
graph
User Offline Click here to see the profile of this user
Gender: Male ClientExec Bridge Location: Wooster, OH Birthdate: 1977-01-12
Re:Parse error: syntax error. 3 Years, 6 Months ago  
at the end of this line
Code:


define('_CEBRIDGEINCLUDE','/home/mybroken/public_html/mysite/components/com_cebridge/classes/clientexec.php'



you need to add );

That should fix it.

Thanks,
Shannon
 
Report to moderator   Logged Logged  
 
http://www.clientexecbridge.com
The ClientExec Bridge Project
http://www.genesisone.net
GenesisOne Computer Service, Ltd.
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoard get the latest posts directly to your desktop

Newsletter Subscribe

Please sign in to subscribe to our newsletter.

Joomla! News

Joomla Announcements
Joomla! - the dynamic portal engine and content management system