Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Joomla Bridge Support => Topic started by: biohazardjoker on May 02, 2008, 10:19:51 AM

Title: i need help with a error i dont know what is it.
Post by: biohazardjoker on May 02, 2008, 10:19:51 AM
Parse error: syntax error, unexpected ';' in /home/promusi1/public_html/administrator/components/com_smf/config.smf.php on line 6

that the error what i have to do, here is the compleate code i erase the page url for no promoting the other sites.

<?php
global $smf_path$smf_redirect$joomla_redirect$smf_prefix$mos_prefix;
global 
$wrapped$sync_uname$hideemail$cbprofile$registration_module$login_module$mosurl;
global 
$announce_url$news_url$latest_joomlasmf_url;
$smf_path "";
$smf_redirect = ;
$joomla_redirect = ;
$mos_prefix "jos_";
$smf_prefix "";
$wrapped = ;
$sync_uname = ;
$hideemail = ;
$cbprofile 0;
$registration_module "";
$login_module "";
$mosurl "http://.net/index.php?option=com_smf&Itemid=43&";
$jsmf_debug = ;
//The following are used for the syndication feed
$announce_url "http://www..com/news/mh_announcement.rdf";
$news_url "http://www..com/index2.php?option=com_rss&feed=RSS1.0&no_html=ss1";
$latest_joomlasmf_url "http://www..com/news/mh_mambo_smf_update.rdf";
?>

Title: Re: i need help with a error i dont know what is it.
Post by: MrGoodbar on May 02, 2008, 01:36:40 PM
i am by no means a php expert.  But from the tinkering that I have done, it seems to me that line 6 after the equals should look like

$smf_redirect = "";


with the qoutation marks indicating that the value is nothing.  I was hoping that someone would reply to you because i am interested in seeing the answer.  But this is my two sense. 

I would put the double qoutes in the lines that do not have them. 
Title: Re: i need help with a error i dont know what is it.
Post by: Rumbaar on May 13, 2008, 07:44:52 PM
Sorry we don't offer support for Joomla bridge anymore, you'll have to take that up with joomlahacks.com or where you got the bridge from.  That file isn't part of the SMF core files.

What changed from when it was working to when it stopped working?
Title: Re: i need help with a error i dont know what is it.
Post by: Kindred on May 13, 2008, 11:45:17 PM
when you make a report, you really need to indicate versions SMF version? Joomla version? bridge version?

This occurred in some cases with one of the ancient bridges... and indeed, the problem is that the values need to be nulled, not just blank.

so each of those lines that says = ; needs to be  = "";