Home arrow Forum "Template File Not Found!" when using 'wrapped'
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 07:43:10 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Mambo-SMF 1.3.x
| | | |-+  "Template File Not Found!" when using 'wrapped'
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: "Template File Not Found!" when using 'wrapped'  (Read 2855 times)
Armand
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
"Template File Not Found!" when using 'wrapped'
« on: April 26, 2005, 04:05:32 PM »

I installed according to the readme file and all the checklist points were marked done or installed.

However... when I click the forum link using wrapped mode  i get an error:
Quote
Template File Not Found! Looking for template:zerobarrier

'zerobarrier' is the template I use on my mambo site...

unwrapped mode shows me the forum, but also with some errors:

Quote
Notice: Array to string conversion in *httpdocs\forum\Sources\Subs.php on line 1802

Notice: Undefined offset: 1 in *httpdocs\forum\Sources\Subs.php on line 1804

( I replaced the full path with * in the error msg )

What is going wrong?
Logged
Editor (cowboy)
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1144



View Profile WWW
Re: "Template File Not Found!" when using 'wrapped'
« Reply #1 on: April 26, 2005, 07:45:22 PM »

Armand,

I don't know the answer for your issue. This is the first time I heard about this kind of issue. Did your install went smoothly?
Logged
Armand
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: "Template File Not Found!" when using 'wrapped'
« Reply #2 on: April 27, 2005, 06:50:01 AM »

Install went smoothly, I installed everything according to description and got no errors whatsoever during install.. all checkpoints were marked done/installed and also the SMF package installed without any trouble.

direct access to SMF forum without or with administrator account also works but when using the mambo bridge in wrapped/unwrapped mode it just fails with the two different situations as described in my first post.

the forum is located in a subdirectory of the mambo installation (root directory of my website). I'm using the CB login module, but I don't think that's the problem cause the forum fails even when logged out.

Maybe it's the windows environment in which the website resides?
Win2003 server + IIS + PHP + MySql (+additionale requirements for mambo). Mambo itself works like a charm.

I'm currently researching the problem but I hope some more similar cases will report on the forum so it can be resolved quicker Wink If I find the cause or solution I will post it here.. otherwise I will be checking this forum regularly to check if someone got it fixed Smiley
Logged
Armand
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: "Template File Not Found!" when using 'wrapped'
« Reply #3 on: April 28, 2005, 04:31:32 PM »

ow btw i'm using Mambo 4.5.2.1 ..
Logged
Editor (cowboy)
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1144



View Profile WWW
Re: "Template File Not Found!" when using 'wrapped'
« Reply #4 on: April 29, 2005, 11:42:53 AM »

I only had this tested on Linux and local XP desktop.

Does anyone here on win2k and mos 4.5.2.1 not having a problem or having same issue?
Logged
Armand
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: "Template File Not Found!" when using 'wrapped'
« Reply #5 on: May 02, 2005, 01:36:24 PM »

I fixed the template bug by replacing the following in the mambo index.php template:

replace (near line 223):
Quote
// loads template file
if ( !file_exists( 'templates/'. $cur_template .'/index.php' ) ) {

with

Quote
// loads template file
if ( !file_exists($mosConfig_absolute_path . '/templates/'. $cur_template .'/index.php' ) ) {

the second error still occurs btw
Logged
guilliam
Developer
Joomla Pro
*****

Karma: +3/-0
Offline Offline

Posts: 85



View Profile WWW
Re: "Template File Not Found!" when using 'wrapped'
« Reply #6 on: June 15, 2005, 11:59:55 AM »

i did what armand has suggested in his fix.. NO luck! still the same error:

Code:
Unable to load the 'main' template.

8: Array to string conversion
File: /home/k4nocorp/public_html/forum/Sources/Subs.php
Line: 1807

8: Undefined offset: 1
File: /home/k4nocorp/public_html/forum/Sources/Subs.php
Line: 1809

======

these exact three errors are in the log everytime there is an action made by a member,.. either sending a private message to someone or posting new messages in the board.

can any one lead a help??

guilliam
Logged

"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.
^If u read that in $GREEN, you clearly missed the HIGHLIGHTS!
www.joomlahacks.com | www.joomlaconsultancy.net
rich
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: "Template File Not Found!" when using 'wrapped'
« Reply #7 on: August 02, 2005, 05:30:59 PM »

I am running a W3k3 box and had the same problem.  I got around it by linking to the forum via a wrapper link.  This may not work for those of you running mambo 4.5.2 as the wrapper isn’t very friendly.

My setup is as follows:
W2k3 server IIS6
Mambo version: 4.5.1b, I had the same problem with version 4.5.2.3
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login