1
Gobbo
Unable to access Admin menu in Administraion Section
  • 2006/10/1 0:25

  • Gobbo

  • Just popping in

  • Posts: 1

  • Since: 2006/10/1


When I click the 'Administration Menu' button on the homepage and it takes me to the page, I get a pop-up saying "Element 'menu1' does not exist in this document. AdMenu cannot be initialized.".

Can anybody help me?

2
jensclas
Re: Unable to access Admin menu in Administraion Section

EditDelete
Please help us help you: have you done this?
Before posting please do a search in the XOOPS top right "Search" box using appropriate "keywords" and find out if the subject has been dealt with before. Also look through the FAQ’s, especially if you're unsure what search words to use.

I couldn’t find any related issues by searching what next?


Turn on debug:
To switch on debug, go to system admin-->preferences and then general settings. You will see a "Debug mode" field. Choose "PHP Debug". Then go to the page that has problems and copy and paste any error messages under php-debug messages in the template below.
When posting any debug messages please 'wrap' the message like this: Use the word 'code' in square brackrets [] and at the end put /code in square brackets.
Debug message here


Give information about your site
Copy the following template into your post and fill-in as much information as possible. The more information you give, the more likely you will receive a quick and effective reply to your post.

XOOPS Version:
Module Name/Version:
PHP Version:
MySQL Version:
Web Server Software (Apache/IIS/Other):
Operating System:
Theme you are using:
Custom template: (Yes/No)
PHP Debug Messages:
MySQL Debug Messages:
Smarty Debug Messages:
A full description of the issue:


For more info or to leave comments please see the faq

There are two attachments to help you answer these questions. Please go to the read before you post link below and scroll to the attachments.

Remember this when you post
Please use an effective title for the post; this assists other users to answer you who have had a similar problem. Many users will not be attracted to a "please help me I have a problem" title. A relevant title also helps other users find solutions to their problems.

Posts like ‘I have a blank page’ will generally be ignored. Not because we don’t want to help, but because we can’t with such a small amount of information.

Lets us know how you get on.

3
wizanda
Re: Unable to access Admin menu in Administraion Section
  • 2006/10/1 10:01

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


The admin menu is written to a cache file if that can't be written, you may get that or may need deleting and redoing unsure...

4
sceilig
Re: Unable to access Admin menu in Administraion Section
  • 2006/10/29 5:24

  • sceilig

  • Just popping in

  • Posts: 53

  • Since: 2006/3/1 1


I ALWAYS get this error when I try to access admin.php without being logged in.
Im using XOOPS 2.2.4 and the default theme.

I traced the error to originate from this file
themes/default/js/adminmenu.js (line 24)
<code>
this.init = function() { if (!document.getElementById(this.id)) alert("Element '"+ this.id +"' does not exist in this document. AdMenu cannot be initialized."); if (this.type != "horizontal" && this.type != "vertical") { return alert("AdMenu.init() failed. Unknown menu type: '"+this.type+"'");}
</code>

When I commented out this line, I didnt get the javascript alert window, however I do see a yellow javascript error icon in the bottom left corner of the IE browser - when clicked on it says "'AdMenu' is undefined".

This error prevents the automatic redirection on this page. The redirection message is "You don't have the right to access this area".

Anyone know of a easy hack to bypass getting this javascript alert popup in the first place?

Login

Who's Online

232 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 232


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits