Yesterday, I was given admin access to a D7 website to do some work configuring an Ubercart store. This is my first experience with D7 as all the other sites I've worked on are still in D6, so I'm still trying to get my bearings with how everything works in the new environment. While trying to set up the sales tax to only apply to in-state orders as a conditional, I got this message and could not do anything. I saw that the URL to add this condition was:

../admin/config/workflow/rules/manage/uc_taxes_1/add/1/condition

So I tried to go to ../admin/config/workflow to see if there was something I could see as problematic there. That page gave me the same message. It is not even a warning or error message. It is just a plain text sentence on the page.

Any idea what would cause this? I'm seemingly unable to set up any conditional actions in here.

Comments

fago’s picture

I don't know this message, so I assume it stems from a ubercart module, not Rules.

longwave’s picture

This is not an Ubercart message either - note that #0 says it also appears on /admin/config/workflow

It appears to come from system_admin_menu_block_page() when no items are available to show.

sa3er’s picture

You have to install/enable "Rules UI (Administrative interface for managing rules)" as well. ;)

mlecha’s picture

Version: 7.x-2.0-beta1 » 7.x-2.0
Component: User interface » Miscellaneous

Same experience here with Rules 7.x-2.0. However I'm running two sites from the same Drupal codebase. One is fine, the other has this error.

For the site that didn't work, when I enabled the Rules module initially the modules page didn't reload. I refreshed and the module was listed as installed. I enabled the Rules Scheduler and Rules UI and again I get a white screen with no error. Refresh again and all three modules shown to be installed.

When I configure Rules on the site that works (admin/config/workflow/rules) I see "Rules" as the overlay title.

When I try to configure Rules on the site that doesn't work I see "Workflow" as the Title.

Disabled the Overlay module on the site that didn't work. Now Rules works. Weird.

KriS-2’s picture

Priority: Major » Critical

Is it possible that someone find solution for this error in drupal 7?
When I install ANY modul I have to restore from my backup all site in previous working version.
Problem is:
When I install any modul that bring me problem that I can edit anymore anything.
I always have message "You do not have any administrative items."
I already tray all mentioned solution which I found in other colleague posts and alway is The same situation! :(
I'm desperate, please help me!
Thank you in advance!
Regards,
K.

KriS-2’s picture

Situation is like this.
I try to find difference in database after switch on some module.
From tables cache filter and cache field disappeared everything.
My conclusion was that drupal 7.10 (PHP application) was doing something wrong and it seams that drupal 7.10 has more bugs than 7.7 and drupal 7.7 is more stable version than 7.10.

In version 7.7 it was automatically fix two problems:
1. "You do not have any administrative items." is solved in 7.7,
2. There is no problem and need for this patch http://drupal.org/node/951098 Undefined variable: tab_root_map in _menu_translate() (line 749 of .../includes/menu.inc).

I don't know where exactly is problem in drupal 7.10 but it seams that it has it!

BR,
Kristina and Igor

rschwab’s picture

Priority: Critical » Normal

This message also appears in system_admin_config_page(), both the block and page functions are in system.admin.inc and appears when a user has access to the page, it exists in the menu system, but the callback returns nothing.

I also got this message after a situation like #4. My current site is hosted on a server with slightly not enough RAM and so I get 'out of memory' errors often, and this happened when installing Rules. Its quite possible this is the source of the issue, and has nothing to do with Rules specifically. I will try reinstalling this module after I switch servers this weekend and update this issue if I learn anything.

Unlike #4, disabling the overlay module did not solve the issue for me.

rschwab’s picture

Switching to a server with enough memory fixed the problem for me. I just reinstalled the module and everything worked as it should. I'm willing to bet the other posters in this thread had similar situations. However, I'll leave it to the maintainers to decide whether to close this or not.

yngens’s picture

Clearing cache helped me in the same situation.

mitchell’s picture

Status: Active » Fixed

#8 and #9 appear to fix the issue. Please reopen the issue if it's necessary to provide more information .

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mitchell’s picture

Component: Miscellaneous » Rules Core

Updated component.

Melissamcewen’s picture

I had this issue and cannot figure out what caused it, but nothing worked except reverting back to a database backup I had made before I tried installing rules.

monta’s picture

If you have Views and CTools modules installed, then uninstall them (don't forget to delete their directories from sites/all/modules), then reinstall them from the modules interface. That should fix the problem for you

markwittens’s picture

Thanks Monta, uninstalling Views worked for me as well! I hope this issue won't come up again any time soon because I had to uninstall half the site before I could uninstall the Views module, and this was only a small site I just started working on :)

uotonyh’s picture

Fixed!

One has to have the devel module installed. One should also have database backup before proceeding.

This appears to be due to multiple system items in the menuing system. Delete the duplicates, and then let the devel module rebuild the system menu options. Follow the steps outlined here:

https://drupal.org/node/991778#comment-3818592

Good luck!