Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 08:08:54 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
155551
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
English
Templates, Menus & Design
(Moderator:
Argos
)
Problem with the templeron-template after update sp1 (2.8.2.)
Pages: [
1
]
Go Down
Author
Topic: Problem with the templeron-template after update sp1 (2.8.2.) (Read 829 times)
webby
Offline
Posts: 85
Problem with the templeron-template after update sp1 (2.8.2.)
«
on:
September 04, 2011, 02:48:38 PM »
Hi
I've got this error after the sp1-update:
"Fatal error: Call to a member function fetchRow() on a non-object in /data/www/mtmerne.dk/templates/templeron/index.php on line 68"
What is this and how to solve it
Thank you
Logged
NaHoW
Offline
Posts: 2
Re: Problem with the templeron-template after update sp1 (2.8.2.)
«
Reply #1 on:
September 05, 2011, 10:50:53 AM »
Bump.
I have the same problem, hope someone will actually reply here with a solution.
Logged
dbs
WebsiteBaker Org e.V.
Offline
Posts: 3719
Re: Problem with the templeron-template after update sp1 (2.8.2.)
«
Reply #2 on:
September 05, 2011, 11:30:16 AM »
i don't know this template.
plz post a link to the template or show the index.php.
Logged
DarkViper
Development Team
Offline
Posts: 1253
Re: Problem with the templeron-template after update sp1 (2.8.2.)
«
Reply #3 on:
September 05, 2011, 11:45:01 AM »
templeron is a template from Nov. 2006 and was designed for Websitebaker 2.6
it does not include any show_menu() nor show_menu2() call. But it tries to access a not existing object '$menu1' in line 68.
Can be that this object existed in WB2.6... but never since 2.8.0.
The one and only way to use is to remove the code between the lines 68 and 78 and replace it by a normal show_menu2() call.
Logged
Anleitungen lesen und selber nachdenken ist anstrengend... Da lass ich doch lieber andere für mich denken...
In
1984
: Nineteen Eighty-Four is a unrealistic utopia!!
In
2012
: Nineteen Eighty-Four is a little piece only of our reality!!
NaHoW
Offline
Posts: 2
Re: Problem with the templeron-template after update sp1 (2.8.2.)
«
Reply #4 on:
September 05, 2011, 03:25:11 PM »
Hey,
Thanks for the reply, yes already noticed that.
I already tried to change the argument but then the menu is totally messed up and I don't know how to code properly so the menu keeps working.
Is it possible to update the template in the repo? Since this is the best template for websitebaker if you ask me.
If not, how can I code that argument back into it?
Kind regards
Logged
VCRulez
Offline
Posts: 8
Re: Problem with the templeron-template after update sp1 (2.8.2.)
«
Reply #5 on:
September 19, 2011, 11:14:51 AM »
Same problem here. Would be great if someone could provide help with the correct code. I also think, that this theme is still popular.
Logged
DarkViper
Development Team
Offline
Posts: 1253
Re: Problem with the templeron-template after update sp1 (2.8.2.)
«
Reply #6 on:
September 19, 2011, 12:13:29 PM »
ok, this should work:
1.: remove any code between
<!-- Top Menu -->
and
<!-- // Top Menu -->
2: replace it by following code:
Code:
<?php
show_menu2
(
0
,
SM2_ROOT
,
SM2_START
,
SM2_ALL
|
SM2_PRETTY
,
'<li class="premuto"><a href="[url]" title="[page_title]">[menu_title]</a>'
,
'<li class="divisoremenu"></li></li>'
,
'<ul class="menu"><li class="divisoremenu"></li>'
,
'</ul>'
,
false
,
false
);
?>
untested and without any guaranty!
Logged
Anleitungen lesen und selber nachdenken ist anstrengend... Da lass ich doch lieber andere für mich denken...
In
1984
: Nineteen Eighty-Four is a unrealistic utopia!!
In
2012
: Nineteen Eighty-Four is a little piece only of our reality!!
dbs
WebsiteBaker Org e.V.
Offline
Posts: 3719
Re: Problem with the templeron-template after update sp1 (2.8.2.)
«
Reply #7 on:
September 19, 2011, 01:23:31 PM »
short tested, code should better be:
Code:
<!-- Top Menu -->
<?php
show_menu2
(
0
,
SM2_ROOT
,
SM2_START
,
SM2_ALL
|
SM2_PRETTY
,
'<li class="premuto"><a class="menuHead" href="[url]" title="[page_title]">[menu_title]</a>'
,
'<li class="divisoremenu"> </li>'
,
'<ul id="menu">'
,
'</ul>'
,
false
,
false
);
?>
<!-- // Top Menu -->
Logged
VCRulez
Offline
Posts: 8
Re: Problem with the templeron-template after update sp1 (2.8.2.)
«
Reply #8 on:
September 20, 2011, 11:56:10 AM »
Quote from: dbs on September 19, 2011, 01:23:31 PM
short tested, code should better be:
Code:
<!-- Top Menu -->
<?php
show_menu2
(
0
,
SM2_ROOT
,
SM2_START
,
SM2_ALL
|
SM2_PRETTY
,
'<li class="premuto"><a class="menuHead" href="[url]" title="[page_title]">[menu_title]</a>'
,
'<li class="divisoremenu"> </li>'
,
'<ul id="menu">'
,
'</ul>'
,
false
,
false
);
?>
<!-- // Top Menu -->
Working fine! Thank you very much!
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...