Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9165915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:01:23+00:00 2026-06-17T15:01:23+00:00

Using the admin page, I set an option to allow users to skip login

  • 0

Using the admin page, I set an option to allow users to skip login if they already had a session running on our main site. At least, that was my understanding of the setting. Unfortunately, I can no longer access the admin page to check the exact name of the setting.

I entered in the text field:

$_SESSION[‘username’]

I did that because that is the name of the session variable used on our main site for the email address.

There was also a dropdown box to choose whether to use, Env, CGI or both types of login. I chose both, just to be safe until I knew that ‘Env’ was configured correctly.

After saving the settings, I logged into our main site and then leaving that open, went directly to Bugzilla, which produced the following error:

Bugzilla has suffered an internal error. Please save this page and send it to it@XXXXXXXXXX.com with details of what you were doing at the time this message appeared.

URL: http://bugs.XXXXXXXXXX.com/admin.cgi
Bugzilla did not receive an email address from the environment. This means that the ‘$_SESSION[‘username’]’ environment variable was empty or did not exist.

I then tried to go to the standard login page, but encountered the same error.

Next I attempted to locate the string ‘$_SESSION[‘username’]’ in both the file system and in the database, but can’t find it.

I checked my localconfig file and it just contains the database access credentials. There is some talk about a ‘data’ directory online, but I don’t seem to have that. Does anyone have any suggestions how I can recover from this please?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T15:01:24+00:00Added an answer on June 17, 2026 at 3:01 pm

    I resolved this by editing the file which for me was at “/usr/share/bugzilla/Bugzilla/Auth/Login/Env.pm”.

    I added the line below:

    my $env_email = 'peter@XXXXXXX.com';
    

    immediately after the line which says:

    my $env_realname = $ENV{Bugzilla->params->{"auth_env_realname"}} || '';
    

    (use your own email address which is registered in Bugzilla)

    I then saved the file and was automatically logged in when I refreshed the bugzilla page. Then I corrected the setting before reverting the file I changed back to it’s original state.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So i'm using a simple Zend_Auth mechanism to ensure my users login before they
I am using my admin panel login script where i have created a global.php
I've been successfully using Django's admin panel for internal users for a while but
When i tried to set page title in my controller using pageTitle variable it
I just set up an admin module with a grid view using the module
I've set up a django project with an admin page. It worked perfectly for
I am using spring security and have an admin jsp page for editing user
I am configuring django for using django admin tool, following steps in webpage http://www.ibm.com/developerworks/linux/library/l-django/?S_TACT=105AGX52&S_CMP=cn-a-l
I'm trying to view the contents of a topic using activemq-admin . This is
I have string like \LESSING\root\cimv2:Win32_UserAccount.Domain=LESSING,Name=Admin How to convert it to LESSING\Admin using Framework?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.