|
Title: "Template File Not Found!" when using 'wrapped' Post by: Armand 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? Title: Re: "Template File Not Found!" when using 'wrapped' Post by: cowboy 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? Title: Re: "Template File Not Found!" when using 'wrapped' Post by: Armand 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 ;) 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 :) Title: Re: "Template File Not Found!" when using 'wrapped' Post by: Armand on April 28, 2005, 04:31:32 PM ow btw i'm using Mambo 4.5.2.1 ..
Title: Re: "Template File Not Found!" when using 'wrapped' Post by: cowboy 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? Title: Re: "Template File Not Found!" when using 'wrapped' Post by: Armand 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 Title: Re: "Template File Not Found!" when using 'wrapped' Post by: guilliam 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 Title: Re: "Template File Not Found!" when using 'wrapped' Post by: rich 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
Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved. |