Welcome, Guest. Please login or register.
March 12, 2010, 11:08:27 PM

Login with username, password and session length
Search:     Advanced search
WB 2.8.1 veröffentlicht!
Download und weitere Informationen gibt es hier .
109741 Posts in 15855 Topics by 9240 Members
Latest Member: kml
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Modules (Moderators: Argos, BerndJM)
| | |-+  Problem with Sitemap v3.1
Pages: [1] Go Down Print
Author Topic: Problem with Sitemap v3.1  (Read 356 times)
wini

Offline Offline

Posts: 11


« on: November 21, 2009, 06:19:57 PM »

hello,

i'm using wb 2.8 with the sitemap 3.1-module.

the sitemap don't work anymore.

after turning PHP Error Reporting Level to E_ALL&E_STRICT i got the following message in the frontend

Fatal error: Call to a member function numRows() on a non-object in C:\...\www\wb2\modules\sitemap\view.php on line 99

(path replaces by ...)


the code in view.php (line 98 to 101) is:
Code:
   // Check if there are any pages to show
    if($query_menu->numRows() > 0) {
        // Print level header
        echo $level_header;

can somebody give me a hint?

thanks
Logged
erpe

Offline Offline

Posts: 1726



WWW
« Reply #1 on: November 21, 2009, 08:14:30 PM »

Don't know how to help you with this, but you can use show_menu2 for a sitemap instead.

rgds

erpe
Logged

BerndJM
Moderator
******
Offline Offline

Posts: 1676



WWW
« Reply #2 on: November 21, 2009, 09:35:31 PM »

Hi,

there is a bug in the update script.
A fresh install of Sitemap 3.1 should work.
So uninstall the sidemap module and install it new.

Regards Bernd
Logged

Recommended site of the day: Help-Projekt | no support via email or pm !!!
wini

Offline Offline

Posts: 11


« Reply #3 on: November 22, 2009, 12:05:08 PM »

thanks for your instant help!

sm2 as a droplet works but i would prefer to use the 'normal' sitemap because the editor should be able to use it on different pages.

the de- and reinstallation hasn't worked for me. i also tried v 3.0 - same error.

i don't think that is has something to do with update cause on other installations in the same environment the sitemap works fine. could it be that there is a conflict with other modules?

best regards
wini
Logged
Hans

Offline Offline

Posts: 498


« Reply #4 on: November 22, 2009, 12:20:44 PM »

Quote
sm2 as a droplet works but i would prefer to use the 'normal' sitemap because the editor should be able to use it on different pages
The editor can use the droplet on every single page he or she likes to.. droplets are not just for templates. In FCK editor there is even a button to insert droplets you have defined for the site. There are even more Droplets available for navigation (http://www.websitebakers.com/pages/droplets/official-library/navigation.php)
Hans
« Last Edit: November 22, 2009, 12:23:12 PM by Hans » Logged

Hans - Nijmegen - The Netherlands
wini

Offline Offline

Posts: 11


« Reply #5 on: November 22, 2009, 12:28:19 PM »

thank you hans,

that's true. but i think the usage is a little to difficult for my editor smiley

in the meantime i found a solution!? if "Hidden Children of current page" is checked, the sitemap works!?

regards
wini
Logged
Pages: [1] Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!