Welcome, Guest. Please login or register.
Did you miss your activation email?
February 13, 2012, 01:37:36 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149700 Posts in 21103 Topics by 7538 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Problem with Sitemap v3.1  (Read 737 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: 2077


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

Offline Offline

Posts: 1764



« 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

In theory, there is no difference between theory and practice. But, in practice, there is.
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: 560


« 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
MissyW

Offline Offline

Posts: 42


« Reply #6 on: September 10, 2011, 03:45:08 AM »

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

In case anyone is reading this thread ... I had the same problem with Sitemap v3.1 . It would only work if I checked the "Hidden Children of current page" box, and I didn't want to display hidden pages.  This problem is fixed in version 3.1.3 which you can get here http://www.websitebakers.com/pages/modules/listings/section-pages/sitemap.php?searchresult=1&sstring=sitemap (For some reason, only the buggy 3.1 is available in the official module respository).
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!