Advertisement:

Author Topic: Unable to load the main template  (Read 51080 times)

Offline Oby

  • Newbie
  • *
  • Posts: 3
Re: Unable to load the main template
« Reply #40 on: February 10, 2007, 05:17:41 PM »
I had the same exact problem, thanks for the fix :) For me it worked fine until 1.1.7 as well, but this one line of changed code fixed it.

Offline Alcor

  • Jr. Member
  • **
  • Posts: 182
    • @cosasagapornis on Twitter
Re: Unable to load the main template
« Reply #41 on: February 21, 2007, 04:24:44 AM »
Thanks.

I had this error until this moment in "Layout and options" (in the admin panel), and I fixed replacing this line in smf.php (the Orstio solution)

Code: [Select]
$nqsefurl = substr($nonsefurl, 0, strpos($nonsefurl, 'option')) . preg_replace('/(\;)([^=#]*)([#"])/', '$1$2=$2$3', substr($nonsefurl, strpos($nonsefurl, 'option'), strlen($nonsefurl)));
by

Code: [Select]
$nqsefurl = substr($nonsefurl, 0, strpos($nonsefurl, 'option')) . preg_replace('/(\;)([^=#]*)([\;#"])/', '$1$2=$2$3', substr($nonsefurl, strpos($nonsefurl, 'option'), strlen($nonsefurl)));
The com_smf version is 1.1.7, I updated it today and this code line isn't fixed.

Offline bmwsport

  • Semi-Newbie
  • *
  • Posts: 10
    • BMWsport '99
Re: Unable to load the main template
« Reply #42 on: August 05, 2010, 06:42:37 PM »
Where is this SMF.PHP file located, and where is this bridge.smf.php file located?  I can't find these files to edit the lines...

Online Kindred

  • The Mean One
  • Local Moderator
  • SMF Master
  • *
  • Posts: 41,510
  • Gender: Male
    • wagner999 on Facebook
    • Kindred-999 on GitHub
    • www.linkedin.com/in/wdwagner/ on LinkedIn
    • @Kindred_999 on Twitter
Re: Unable to load the main template
« Reply #43 on: August 05, 2010, 10:30:44 PM »
in the component directory of mambo
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support forums.  Thank you.