Loading...
 
Skip to main content

Custom Share Module 0.1dev

Architecture / Installation

Architecture / Installation


LayersMenu Error: setMenuStructureString: empty string.

posts: 1

Hi everyone:]

I was trying to installa new module/menu and
i got this error massage in my entire tikiwiki site

LayersMenu Error: setMenuStructureString: empty string.
Halted.

I am not able to login or do anything,
is there a way to fix this?

plase help:]

Thank you in advance.

posts: 31 Lithuania
I've got the same problem! Could anyone answer, please?

posts: 8 United States

tikyy, aris — This is a phplayer bug apparently. It happened to me when I tried to create a menu using phplayer. ๐Ÿ™„(See my post on the same error.) The entire Tikiwiki setup bombs and just keeps giving this error message for all the pages. I'm working on recovering from it, currently trying to delete the menu from the database and see if that works. Possibly also deactivate phplayer. If this doesn't work, create a new instance of the MySQL database and port the original data over (minus the offending menu). I'm planning to report this bug when I get a chance but you're certainly welcome to beat me to it. Thanks,

--John


posts: 31 Lithuania
Thank you very much jsf2005! At least "customers" are working on problems ๐Ÿ˜‚. I'm very much dissapointed with overall perfomance of tiki. Even to post here on these forums is a problem: It keeps losing replies. And if you want to joke about software - I've found "slow like tiki"...
posts: 4661 Japan

> Thank you very much jsf2005! At least "customers" are working on problems ๐Ÿ˜‚. I'm very much dissapointed with overall perfomance of tiki. Even to post here on these forums is a problem: It keeps losing replies. And if you want to joke about software - I've found "slow like tiki"...

Tiki is not a commercial product. It is the work of volunteers who are involved just because they enjoy working on and using Tiki. You should not expect the same experience as when you buy a product; then the maker has an obligation to satisfy you, as a buying customer. Tiki is a complex software product with thousands of lines of code — many, many manhours of work — and you and I and others are receiving it totally free of charge. Maybe the only "cost" is that we give useful feedback to help improve Tiki, or contribute in other ways if we can.

As for the "customers" working on problems here, it is important to understand the situation. When I was a Tiki newbie, I asked a lot of questions and more experienced people (other users as well as some developers taking time away from their coding) answered at least some of my questions. As I have gained experience with Tiki, I am now able to answer at least some questions posted by even newer people. This is how things work in an open-source collaborative project. People who want a company-customer relationship may want to look into commercial products instead, with their costs, benefits, guarantees, etc.

About these forums losing posts or whatever, keep in mind that this is a work in progress and is a test installation itself, so naturally there is a certain amount of bugs and other problems. Tiki page displays can be slow; this is being worked on, from what I hear, but naturally with so many things to check and so much data to present, Tiki will take longer than simpler web pages.

-- Gary

posts: 8 United States

> Thank you very much jsf2005! At least "customers" are working on problems ๐Ÿ˜‚. I'm very much dissapointed with overall perfomance of tiki. Even to post here on these forums is a problem: It keeps losing replies. And if you want to joke about software - I've found "slow like tiki"...

Gary, aris002 — We also got our Tikiwiki Online Help site back up and running. BTW, Gary, I wasn't complaining about the Open Source nature of Tikiwiki, which we were well aware of when we decided to go with it for Online Help. In fact, I've been extremely impressed by the sheer abundance of Tikiwiki features, functions, plugins, etc. This is the first serious bug I encountered in 3-4 months of working with Tikiwiki. I also got good support from Sylvie, who suggested basically the same procedure as you. We do have Tikiwiki installed on a Linux machine, so evidently the bug isn't just confined to Windows. (I'm guessing it's partly a matter of how you configure Tikiwiki.) Anyway, we'd already gone in and just deleted the phplayers menu from two tables, which also works. Below is a copy of Sylvie's email and my reply describing our workaround. Thanks,

--John

>This bug belongs to the feature phplayers that is an external library. (http://phplayersmenu.sourceforge.net/)
>Instead of deleting the menu, you could have desactivated the feature feature_phplayers in tiki_preferences
>To help you to debug this, I will need the menu. I suppose it is a specific configuration of the menu phplayers doesn't like. And I will need the description of the way you activate the phplayers on this menu.
>
>PS: there is a new version of phplayers (tiki is 3.1.1) perhaps it is worth to try it)
>

Hi again Sylvie — Just to follow up on this, we did find a workaround, and our Wiki Help system is now up and running again! What we did was simply delete the problem menu from the two MySQL tables where it appeared (tiki_menus and tiki_user_modules) and voila! Tikiwiki came back up again. I also understand from the forum (and your email) that setting feature_phplayers to "n" in tiki_preferences also works. Now that I can deactivate it with the interface too, I will. Just as a reference, I've included the two tables below as they appeared before the deletion. The menu that caused the problem and was deleted is the one named "Glossary." If someone hasn't done so already, I'll formally report this as a bug, including the possible workarounds. We're also installing a separate Test Tikiwiki and MySQL database, so I will experiment with this some more, now that I know what to watch out for. Many thanks for your help,

--John

mysql> select * from tiki_menus;

+--+------+----------+--+


| menuId | name | description | type |

+--+------+----------+--+


| 42 | Application menu | Main extensive navigation menu | d |
| 43 | Test Menu | test menu | d |
| 44 | Glossary | Links to Glossary items | d |

+--+------+----------+--+


3 rows in set (0.00 sec)

mysql> select * from tiki_user_modules;

+-----+---+---------+


| name | title | data |

+-----+---+---------+


| User Menu | User Menu | {menu id=43} |
| Glossary | Glossary | {phplayers id=44} |

+-----+---+---------+


2 rows in set (0.00 sec)


posts: 31 Lithuania
Ok, my website is back to normal... You don't need to create a new instance of your MySQL. Just change one value: 'feature_phplayers'='n' (in a table 'tiki_preferences'). If I find more about it I'll tell you.
posts: 4661 Japan

> Ok, my website is back to normal... You don't need to create a new instance of your MySQL. Just change one value: 'feature_phplayers'='n' (in a table 'tiki_preferences'). If I find more about it I'll tell you.

Did you turn on "PhpLayers Dynamic menus" on the Admin/Features page? This has the same effect as making the change directly in the tiki_preferences table, and can be done with the Tiki admin interface.

I use PhpLayers on my Tiki sites with no problems (http://www.cunningham-lee.com - Tiki 1.9.0 - and http://www.phinixi.com - 1.8.5); these run on Linux servers. The problems people are reporting regarding PhpLayers may be related to their server software and their own Tiki configurations. I also run a Tiki install on my Windows laptop for testing when I'm not online, and PhpLayers don't work, for example. I haven't posted a bug report so far because Windows support for Tiki is not an important issue for me. But I think anyone having problems with PhpLayers should report as much information about the server, etc. as possible.

-- Gary


posts: 38 United States

> LayersMenu Error: setMenuStructureString: empty string.
> Halted.
>

I had the same error. This page helped me troubleshoot it, so I thought I'd share what I learned.

Here's what seemed to cause my problem:

I created an expandable multilevel menu according to an article elsewhere on this site, using phpLayers. I wanted to restrict access to the content to registered users only, so I set the module to be only available to the "registered" group, and all the link pages were also limited this way. Everything looked fine until I logged out. Then I got this error.

Fortunately, I was able to use the information here to disable phplayers so I could get back into the website. To my surprise, on the login screen (when I wasn't logged in yet), I saw my phplayers menu module with a "phplayers inactive" message. I found I had left "show all modules to everyone all the time" checked, so the system was trying to show a module illegally to anonymous users. Once I turned off "show all modules to everyone all the time," I was able to re-enable phplayers and I can now see the site normally even after I log out (without the restricted module).

Of course, I've had tiki running for all of 3 days, so I may hit another snag soon. (Not knowing PHP is an extra challenge... but heck, what's another language?) Anyway, hopefully someone else will get some good from my pain. Moral of the story: if you want to restrict access to phplayer modules, make sure to turn off that pesky "show everything" option, or your tiki will halt.

edalton


Upcoming Events

1)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4) 
Tiki birthday
5)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting