How to change urlbase setting in Bugzilla config file manually? - bugzilla

My Bugzilla meets a strange problem. I used my IP as my Bugzilla urlbase setting. So I can login into my Bugzilla by following style address:
http://192.168.1.146:9090/
But right now the IP of the machine has been changed, but Bugzilla will still jump to the old address once I login.
Because it is using old address to let me login, so I can't login into administrator page to change the urlbase to new IP.
My question is: where does Bugzilla save the urlbase string? I want to change it manually, so I can relogin my Bugzilla again.
Thanks
Water Lin

Just change the following line in the file data/params in the Bugzilla install folder:
'urlbase' => 'http://192.168.1.146:9090/',

Related

Bugzilla urlBase parameter is not working

bydefault my bugzilla is loaded on
localhost
but I want it to load on
bugs.mycompanyname.com/bugzilla
I tried pasting this url in "urlBase" parameter but it doesn't load.
What should I do ?
Did you already created the DNS bugs.mycompanyname.com? If yes, the DNS is pointing to the machine where you installed your bugzilla?
Note that bugs.mycompanyname.com/bugzilla won't work, just bugs.mycompanyname.com should work.

Openshift app redirecting to https://domain_name/app

I have hosted an app on Redhat Open shift. I didn't change anything but it started redirecting to https://www.plovist.com/app and throwing 404 error.
Can anyone help me in solving this?
Make sure that you have correctly added your alias to your application (www.plovist.com)
I logged into Godaddy(my DNS) account and found out that in Cnames(Alias) www wasn't pointing to mydjango-plovist.rhcloud.com(URL given by Openshift).
Also I pinged mydjango-plovist.rhcloud.com and it gave a different IP Address than one I had written in A Record.
So I pointed in Cname to mydjango-plovist.rhcloud.com and in A Record pointed www to new IP Address I got after pinging mydjango-plovist.rhcloud.com.
My app started
So Openshift changed their IP Address without telling the users. And also there was some problem in my Godaddy Account.
I have the same problem and solved by just restarting the openshift application.
After that everythink work as expected.
See also this guide for information on how to change CNAME and create an alias.
https://blog.openshift.com/custom-url-names-for-your-paas-applications-host-forwarding-and-cnames-the-openshift-way/
Had this issue today after some cname changes.
For me it helped to flush the dns chache
ipconfig /flushdns
Do anything suggested before or just patiently wait for a hour and check.
I think it is just temporary problem of DNS servers.
I am sure not only in my case :)
I resolved it after 2 hours.
The issue was, i was missing "www." in openshift alias domain settings. (previously it was domain.com instead of www.domain.com)
I entered www.domain.com and after updating wordpress siteurl/home settings it worked fine.
These comments really helped: https://stackoverflow.com/a/26337432/385377

Disable the Account Lock-Out option - Bugzilla 4.2.1

My current bugzilla 4.2.1 installation blocks any user temporarily for
multiple login failures. If they try to use incorrect password for,
say 5 times, they will not be able to login again and a mail is being
sent to the maintainer of the installation. Is there anyway I can
disable the Account Lock-Out feature? I don't want any user to be
blocked due to login failures.
Thank you
In the directory where Bugzilla resides there is a file called Constants.pm edit the file and set the MAX_LOGIN_ATTEMPTS value to 1000000.
-note: in my installation the file was in /var/www/bugzilla/Bugzilla/

Cannot sign in with google app engine plugin

When trying to sign in using the button in the lower left corner of the screen, I am unable to do so because it needs a verification code. However, I am not offered the chance to receive one, it only brings me directly to the "allow this application page." The exact error in the log is
Could not sign in. Make sure that you entered the correct verification code.
Thanks for your help in advance.
I had the same issue, resolved by changing network settings as follows:
In Eclipse:
Preferences > General > Network Connections
Set Active Provider to Manual
Under Proxy entries, edit the HTTPS proxy, adding host and port info
Check "Requires authentication" and add your network ID and password
I had a similar problem on my Mac OS X.
However, after upgrading my JDK from 1.6 to 1.7 my problems disappeared.(Note: JDK not JRE)
The default java on Mac 10.x is Java SE 6 and you can't uninstall it. You can add Java 1.7 or higher and your system should automatically pick up the later version -you can check from the terminal with
$java -version

Magento Installation stuck at configuration

I am not sure what is going wrong when I am trying to install magento to my local ubuntu machine.
I did all the steps mentionsed in the magento wiki. Everything goes well until I reach the point where I am here which is the magento config page. When I try and continue after entering the necessary details like host, database name and user name and submit it comes back to the same page. I checked for everything like db in my phomyadmin panel and it still gets stuck there. What is the possible reason for that.
Thanks
Have you try with 127.0.0.1 instead of localhost ?
They have some trouble on login in the admin section.
And check the user/password in the config too !
You have to create a database first and then proceed further.
Step 1 - First create a database with name of your choice like magento
Step 2 - Use that database name in the installation form now
Step 3 - Continue
Hope this solves your problem.
I solved this modifing app/code/core/Mage/Install/etc/config.xml (near 71th string) this
<extensions>
<pdo_mysql/>
</extensions>
for this
<extensions>
<pdo_mysql>1</pdo_mysql>
</extensions>
Verify that you meet the following requirements:
http://www.magentocommerce.com/system-requirements
Magento only runs on php 5.2.x, not 5.3. Also make sure the extensions listed on the requirements page are enabled.
Might be different for you, but I can check the php version using
php -v
Edit
Also what c-verde said about using 127.0.0.1 instead of localhost:
This isn't your current problem, but you'll run into it later. You need to be able to accept cookies to log into Magento. Your browser won't accept cookies for local sites.
In /etc/hosts you need to add
127.0.0.1 localhost.com
And when you install magento you need to use either localhost.com or 127.0.0.1 instead of localhost.
I didn't have this problem with linux, but when installing on windows, it took several minutes after the config page to set up magento. Make sure the browser isn't doing anything.
Before running the installation of Magento:
Navigate to the Varien.php file located in magento/app/code/core/Mage/core/Model/Session/Abstract/Varien.php
You must comment out the last 3 lines in the $cookieParams array:
$cookieParams = array(
'lifetime' => $cookie->getLifetime(),
'path' => $cookie->getPath()
//'domain' => $cookie->getConfigDomain(),
//'secure' => $cookie->isSecure(),
//'httponly' => $cookie->getHttponly()
);
Tick the box for
Skip Base URL Validation Before the Next Step
Check this box only if it is not possible to automatically validate the Base URL.
I also added to my C:\windows\system32\drivers\etc\hosts file
127.0.0.1 www.localhost.com
and removed my magento directory and database tables and started from scratch.
Works for me now.
I did this and it worked!
Navigate to the Varien.php file located in magento/app/code/core/Mage/core/Model/Session/Abstract/Varien.php
You must comment out the last 3 lines in the $cookieParams array:
$cookieParams = array(
'lifetime' => $cookie->getLifetime(),
'path' => $cookie->getPath()
//'domain' => $cookie->getConfigDomain(),
//'secure' => $cookie->isSecure(),
//'httponly' => $cookie->getHttponly()
);
and if you got InnoDB error then do this
Go To Line 59 of the file app/code/core/Mage/Install/Model/Installer/Db/Mysql4.php
Use following code instead of current one
public function supportEngine()
{
$variables = $this->_getConnection()
->fetchPairs('SHOW ENGINES');
return (isset($variables['InnoDB']) && $variables['InnoDB'] != 'NO');
}
Make sure you load php5-mysql extenion. Thats how I solved my problem.
I loaded with http://localhost.com (adding 127.0.0.1 localhost.com to /etc/hosts), it gave my error load pdo-mysql php extension. Otherwise with http://localhost, no error just reloading in configuration page)
I had also been through this problem. I had just create the db first named "magento" and put the 127.0.0.1 instead of localhost. I think, instead of 127.0.0.1, 'localhost' should also work if you had configure it. The problem might be because you didn't have the password for the database but you trying to put the password while installing the magento. Hope this helps some of them.
I had the same problem. Turned out that I was missing a php module but no error was displayed. Megento are now providing a simple php script that checks if the required modules are available and displays an appropriate message if you are missing any of them.
You can find it here - http://www.magentocommerce.com/knowledge-base/entry/how-do-i-know-if-my-server-is-compatible-with-magento
You have to submit username and password as 'root' and 'password' as per db setting
My answer might be late for the PM, but probably useful to those who landed in this page via google.
My experience was that the whole configuration page is a blank page, without any form regarding database, user info or anything.
I fixed it by modifying the {Megento Path}/app/etc/config.xml file.
<default_setup>
<connection>
<host>localhost</host>
<username/>
<password/>
<dbname>magento</dbname>
<model>mysql4</model>
<initStatements>SET NAMES utf8</initStatements>
<type>pdo_mysql</type>
<active>0</active>
</connection>
</default_setup>
Change the value of the host item to anything other than localhost.
Then you get those forms and everything and can move on.
I guess you are missing the port name on which your mysql is running. Try using the port after your hostname for eg. localhost:3306 ,was my configuration settings along with database name and password of your mysql.

Resources