Loading...
 
Skip to main content

Architecture / Installation


LayersMenu Error: setMenuStructureString: empty string. Halted

posts: 8 United States

I got this (evidently fatal) error when I was trying to create a dynamic menu on the Menus page. I selected the PHP option, noted that the plugin code seemed to be inserted OK, and then clicked Preview (I THINK, since I haven't been able to get any of Wikis to display in order to check this). All I get now when I try to link to ANY of the pages in the Wiki Help system I'm working on is the same error message.😕

Here's what I've tried so far as a fix:

1) Stop and restart the Apache server. No change.
2) Go into MySQL and directly delete the menu I was trying to create. No change. Not even when I made sure to enter COMMIT and THEN restarted the server.

This seems to be a PHP error message. PHP execution seems to be getting hung up looking for a string it can't find. If I knew what string it's looking for, I'd insert it in MySQL! Any help would be much appreciated. Otherwise, we're probably looking at major surgery and loss of a fair amount of work. BTW, this may also count as a bug report, since it didn't seem to me that I was trying to do anything not allowed by the GUI. Thanks,

--John

posts: 31 Lithuania
Could anyone answer this, please? I have the same problem. Thank you.

posts: 4664 Japan

If an apparently bad module is hanging up Tiki's page displays, you can go to the tiki_modules table (I think that's the name) of your database and delete that module from the list of activated modules (using phpMyAdmin or something else). That should at least bring back the Tiki page displays. I had this problem with a blog rss feed module once; stopped everything cold.

No idea what's up with the menu, though. What OS are you running Tiki on? I've had different results with Linux and Windows.

-- Gary

posts: 8 United States

> If an apparently bad module is hanging up Tiki's page displays, you can go to the tiki_modules table (I think that's the name) of your database and delete that module from the list of activated modules (using phpMyAdmin or something else). That should at least bring back the Tiki page displays. I had this problem with a blog rss feed module once; stopped everything cold.
>
> No idea what's up with the menu, though. What OS are you running Tiki on? I've had different results with Linux and Windows.
>
> — Gary
>
>

Gary, Sylvie — Thanks for your responses. I posted the details of my fix on the other thread about this error, including MySQL tables. I did get my Tikiwiki system back up and running simply by deleting the problem menu from the two MySQL tables where it appeared — not maybe the most elegant workaround but it did work. The error MAY have been caused by selecting the PHPLayers option for this menu without also first activating PHPLayers Dynamic Menus on Admin > Features. Usually, if you try to use a feature without first activating it, you get a message that includes error trapping so the system itself doesn't hang but possibly not in this case. Anyway, I'm running the Tikiwiki Help system for our molecular network analysis application on a Linux box, and this is the only real problem I've had with it so far. As a result of this experience, we set up a duplicate test bed, which we probably should have done to start.

--John


posts: 1092
If somebody can copy paste the options of the defective menu it can help to debug.. Otherwise do'nt use phplayers for this menu