i need help with a error i dont know what is it.

Started by biohazardjoker, May 02, 2008, 10:19:51 AM

Previous topic - Next topic

biohazardjoker

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";
?>


MrGoodbar

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. 

Rumbaar

#2
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?
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Kindred

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  = "";
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: