Frequently Asked Questions
The following list of responses and suggestions has been prepared to address frequently asked questions. If you require support for a specific issue that is not addressed by the information below, please send us a Feedback.
Installation:
How do I install QLR Manager?
How do I install the QLR Manager license?
How do I migrate from my current product version to the latest version?
How do I upgrade my current product version to the latest release within the version?
Can I change the name of the startup HTML file to something other than qlrmanager.html?
What is the most secure way to run the application?
How do I normalize MySQL 4.1+ passwords for use with QLR Manager?
What are some tips for installing PHP to work with Oracle?
Optimal PHP settings (Important):
How can I determine the current php.ini settings?
What are the optimal php.ini settings to work with QLR Manager?
How do I configure Suhosin to work with QLR Manager?
Using QLR Manager:
Can I use my browser's Back and Forward buttons?
If I create Queries and Layouts using the Trial version, will they be lost if I buy the product?
What is the maximum number of rows I can display from the results of a query?
When I start QLR Manager, I see a message that says "Cannot continue. Could not connect to the QLR Manager database."
Can I issue "alter session" commands in Oracle to change my session configuration?
Why does my browser stall on large reports or output with charts?
How can I print a large report to a printer or PDF writer?
How can I print mailing labels from my database?
Version information:
What's new in this product release?
How do I install QLR Manager?

If upgrading from an earlier version, see migration information.

If upgrading from an earlier release within the same version, see product upgrade.

Follow these steps to install QLR Manager:
1   Download the desired archive type of the Full Version package from our Downloads page.
2   Create a directory, e.g. /qlr, /qlrmgr, etc. in your server's execution path for QLR Manager.
3   Unzip or untar the contents of the full install package into the new directory and be careful to preserve the original directories/folders as they exist in the install package. If you download and extract the contents on a client, you can FTP the files to your new server directory.
4   Obtain a FREE 30 day trial license for the Enterprise Edition from our Purchase page. Place the QLRlicense.inc file into the new server directory. If you first request a trial license and later wish to buy QLR Manager, you simply upgrade the trial license.
5   It is optional to temporarily grant Read, Write and Execute (Unix 777) permissions to the main directory you created in step #2. This will allow the install program to write the qlr.ini file into this directory. If you don't grant this authority, the install program displays its output to the browser, which allows you to copy and paste the contents necessary to manually create the qlr.ini file. The qlr.ini file must be present in the new server directory to run QLR Manager. If write authority is granted, don't forget to remove it after the installation is completed.
6   From your browser, start the install program by referencing install.html in the newly created directory, e.g. http://127.0.0.1/qlrmgr/install.html. Select the New Installation option and click the  Begin  button.
7   Carefully follow the instructions on the install panels, paying attention to any messages generated during the install. The bold labels are linked to help in the Installation topic of the QLR User's Guide. Use the buttons on the bottom of the panel to proceed through the upgrade process.
8   After completing all the install panels, the qlr.ini file will be created with all the configuration parameters for your QLR Manager installation. If you granted the authority suggested in step #5, the qlr.ini file will be written into the new server directory.
9   Grant Read, Write and Execute (Unix 777) permissions to the following directories in the QLR Manager directory structure:
 •   /reports to allow for temporary output file storage and support the creation of PDFs.
 •   /graphs in the Enterprise Edition to support the creation of charts and graphs.
 •   /html2pdf/fpdf/font to allow PHP to create font files used during PDF creation. The iso-8859-1 Western European and US charset fonts are pre-built and shipped as part of the install package. If a different HTML character set is selected during installation, write permissions must be granted to this directory.
10   From your browser, start QLR Manager by referencing qlrmanager.html in the newly created directory, e.g. http://127.0.0.1/qlrmgr/qlrmanager.html.
Top
 
How do I install the QLR Manager license?

In order to run QLR Manager, you must have a product license file. Prior to buying QLR Manager, we urge everyone to take advantage of our FREE 30 day trial of the Enterprise Edition. This will ensure it runs correctly in your environment and the product meets your expectations. If you first request a trial license and later wish to buy QLR Manager, you simply upgrade the trial license. To receive a license, you must first create a user account so we can e-mail your license file. A trial or purchased license can be obtained from our Purchase page.

To install the QLRlicense.inc file, simply copy the file into the same directory where QLR Manager is installed, which is the same directory where the file qlrmanager.html is located.

A license will entitle you to free upgrades and fixes within the same version. We don't release a new version until we incorporate significant new function and features. Upgrades to new versions are steeply discounted for existing license holders.

Top
 
How do I migrate from my current product version to the latest version?

A migration is necessary when the underlying QLR Manager database tables, or data in those tables, must be updated. A migration is always necessary when upgrading from one major version to another, e.g. version 4.1.5 to version 5.0. In addition to updating the QLR database tables, the migration will copy your existing queries, layouts, etc. to the new version.

The same QLRlicense.inc file will work with all levels of the same major version number. In other words, a version 4 license will work with versions 4.0, 4.1.5, etc. but not version 5.0. Existing customers upgrading to the latest version will receive a 60% discount for a one version upgrade and a 20% discount for a two version upgrade. Before purchasing an upgrade license, we urge you to take advantage of a FREE 30 day trial license for the Enterprise Edition of the new version. Trial licenses can be obtained from our Purchase page. If you first request a trial license and later wish to buy QLR Manager, you simply upgrade the trial license.
1   Download the desired archive type of the Full Version package from our Downloads page.
2   Create a new directory, e.g. /qlr_v53, for the new version of QLR Manager.
3   Unzip or untar the contents of the full install package into the new directory and be careful to preserve the original directories/folders as they exist in the install package. If you download and extract the contents on a client, you can FTP the files to your new server directory.
4   Copy the qlr.ini file from your existing QLR directory into the new directory.
5   If you are utilizing the conmsg.html file (Connect panel message), copy your existing conmsg.html file into the new directory.
6   Place the trial or purchased license file (QLRlicense.inc) for the new version into your new directory.
7   Below are the steps to follow depending on your currently installed version. The version appears in the header of the  Connect  panel when first accessing QLR Manager.
Version 5.0 or newer:
 •   Launch your web browser and access the file qlrmanager.html in the newly created directory, e.g. /qlr_v53. QLR Manager will automatically detect that it needs to update its data tables. An  Update  button will be presented. Click this button to update your version of QLR Manager.
Versions prior to 5.0:
 •   Launch your web browser and access the file install.html in the newly created directory, e.g. /qlr_v53. Select the Upgrade existing installation radio button near the top of the panel and click the  Begin  button.
 •   You will be prompted to enter the master QLR Manager User ID and Password that you created and stored in your qlr.ini file with the initial installation of the earlier version. Click  Continue 
 •   Verify the license information on the next panel and review any other notes and messages. Click  Proceed to Step 1 
 •   The next few panels will collect all the information necessary to perform the migration. Complete all the applicable fields and selections, while paying attention to any messages. The bold labels are linked to help in the Installation topic of the QLR User's Guide. Use the buttons on the bottom of the panel to proceed through the upgrade process.
 •   The install program will display the results of the upgrade activity as it migrates your QLR data (queries, layouts, etc.) from the prior version to the new level of QLR Manager tables. Please check the results for any errors that may have been encountered.
 •   Test your new version of QLR Manager. Once you are satisfied that it is working correctly, you can rename or delete the old version directory and rename the new directory to the old directory name.

If you wish to erase your existing queries and layouts, or this is a new installation, simply access install.html with your browser and choose the New Installation option to install the product.

Top
 
How do I upgrade my current product version to the latest release within the version?

A product upgrade occurs when a more recent release is available for the same product version number, e.g. upgrading from version 4.0 to version 4.1.5. The same QLRlicense.inc file will work with all releases of the same major version number. A FREE Upgrade pack is normally provided on our Downloads page when an upgrade is available for the current version. The Upgrade pack will contain the files to be replaced in your QLR Manager installation to upgrade to the latest release.

Note: It is not usually necessary to run install.htm for an upgrade within the same version. You are simply replacing the existing QLR Manager files on your server.

An upgrade differs from a migration to a new version of the product, i.e. version 4.1.5 to version 5.0.

Follow these steps to upgrade to the latest QLR Manager release:
 1.  Copy your existing QLR Manager directory into a new directory, e.g. /qlr_v505.
 2.  Download the desired archive type for the Upgrade pack from Downloads.
 3.  Extract the files from the directories in the Upgrade pack into the same directories in your new copy of QLR Manager, e.g. /qlr_v505.
 4.  Follow any special instructions included near the top of the README.html included in the root directory of the Upgrade pack.
 5.  Test the new release of QLR Manager. Once you are satisfied that it is working correctly, you can rename or delete the old release directory and rename the new directory to the original directory name.
Top
 
Can I change the name of the startup HTML file to something other than qlrmanager.html?
Yes, you can change the name by renaming the qlrmanager.html file in the main directory. In addition, two other file edits are required to ensure QLR Manager always loads into its proper frameset:
 •  The "startFile" setting in your qlr.ini file should be updated to reflect the new start file name.
 • 

A file named js_bver.html located in the /qlr_manager directory contains a line of Javascript near the top of the file:

if (self == top) location.replace("../qlrmanager.html")

The reference to qlrmanager.html should be replaced with the new start file name.

If your server is configured to use index.php, you can access QLR Manager by simply entering the path name. If you do choose to change the name of qlrmanager.html, index.php should also be edited to reflect the new file name.

Top
 
What is the most secure way to run the application?
There are several things that can be done to enhance security:
 •  Install QLR Manager to store its pages in a database or simply edit the qlr.ini file pageSource = database.
 •  Password protect (ht access) your main directory so users must enter a password to begin using QLR manager.
 •  Rename the install program after you have completed your install so someone else can't try and access it.
 •  Protect your user IDs and passwords!
Top
 
How do I normalize MySQL 4.1+ passwords for use with QLR Manager?

With the release of MySQL 4.1, a new method of password hashing was introduced and continues to be used. When using PHP version 4.x, QLR Manager is unable to recognize these passwords unless they are normalized to the pre-4.1 password style. This is critical because QLR Manager requires that an existing user ID and password be provided to perform the product installation. The user ID performing the installation must be using the old style password. This does not appear to be an issue when using PHP 5.0 or newer.

In order to change the password for the ID that will perform the install, you should issue the following MySQL command:

SET PASSWORD FOR 'some user'@'some host' = OLD_PASSWORD('existing password');
Example: SET PASSWORD FOR 'conor'@'localhost' = OLD_PASSWORD('guinness');

Note: In addition to normalizing the password for the user ID that will perform the installation, the password for any user ID that will be accessing QLR Manager must be changed as well.

The following is an example of a mixture of new style (longer) and old style (shorter) encrypted passwords.

  select host,user,password from mysql.user

host user password
localhost root *C17559EB42E5CCB3F961A2FC2DC4BE40DB725E7A
localhost jimmy 57c9a17a46d6fd35
localhost conor *C17849ACCBD5CCB3F961A2FC2DC4BE89EFFCA21D
localhost qlrmgr 0bc8e68c1fc65570
1
 

After issuing the MySQL command to change to old style password:

  SET PASSWORD FOR 'conor'@'localhost' = OLD_PASSWORD('guinness');

The contents of the user table would appear as follows:

host user password
localhost root *C17559EB42E5CCB3F961A2FC2DC4BE40DB725E7A
localhost jimmy 57c9a17a46d6fd35
localhost conor 1e2989030051c8f0
localhost qlrmgr 0bc8e68c1fc65570
1
 

More information can be found at: http://dev.mysql.com/doc/mysql/en/password-hashing.html.

Top
 
What are some tips for installing PHP to work with Oracle?
If this is the first time you have tried to set up PHP to use with an Oracle database, here are a few tips. If you are installing on a Windows platform, you must have the complete Windows binary version loaded, since it contains the dll files necessary for PHP to interact with Oracle. If you have already set up PHP, but did so using the Windows Installer version, you will need to get the full binary version. Here's what you can do:
 1.  Download both the full and installer versions of PHP for Windows.
 2.  Install PHP using the installer version. This will walk you through a basic PHP install.
 3.  Unzip and overlay the contents of your php directory that you specified in the basic install with the contents of the full binary package. The full package contains the dll files for PHP to work with various products, including Oracle.
For both Windows or Unix, do the following:
 •  Edit your php.ini file and uncomment (remove the semicolon) for the line that reads php_oci8.dll. Warning - this dll is incompatible with php_oracle.dll running at the same time. php_oracle.dll must be commented out.
 •  Make sure your extension directory variable in php.ini references the path where the dll files are located, e.g. extension_dir = "c:/php/extensions/".
Top
 
How can I determine the current php.ini settings?

A phpinfo.php file is provided as part of the QLR Manager install package and will be located in the main install directory. Executing this file from the browser, e.g. my_domain/qlr_directory/phpinfo.php, will return information about the server configuration. Scroll down to the section entitled Configuration PHP Core to view the php.ini settings.

Top
 
What are the optimal php.ini settings to work with QLR Manager?
The PHP Core configuration settings can be changed by editing the server's php.ini file. Adjusting the following 3 settings will help ensure QLR Manager functions properly on your server. If you're running on a shared hosting environment, check with your Hosting Service (ISP) about modifying these settings. Some ISPs provide solutions where the php.ini file or entries in an .htaccess file can be read from the hosted domain to override the server's default php.ini settings.
max_execution_time   Should be set from a minimum of 60 seconds to as long as 90 seconds to support large, sophisticated queries. Beyond 90 seconds, the browser may timeout waiting for a response from the server.
memory_limit The Enterprise Edition with chart support enabled should be set to a minimum 32M.
The Enterprise Edition without chart support, or other editions, should be set to a minimum 16M.
PHP GD support If you intend to create charts and download PDFs, GD support must be enabled in PHP. Please see the Product Installation topic in the QLR User's Guide about Chart support and Graphics manipulation with PHP.
safe_mode With this mode set to OFF, QLR Manager will adjust memory allocation and execution time as needed to execute large queries or longer running macros.
session.use_trans_sid   This setting should be "0" or "Off". With this value set to "1" or "On", you may experience frequent session expirations, particularly with the Report Tools window.
Top
 
How do I configure Suhosin to work with QLR Manager?

Suhosin is an add-on protection system for PHP installations. The presence of a Suhosin Patch can be detected by executing phpinfo.php and searching the page for "suhosin". The default values for suhosin.post.max_vars and suhosin.request.max_vars limit requests to 200 variables. These settings are not sufficient to run QLR Manager and it is recommended these values be increased to 2000 variables.

Top
 
Can I use my browser's Back and Forward buttons?

In general, yes you can. Some browsers behave differently than others. The most stable browser for using these buttons is Internet Explorer. It can be very useful to use Back and Forward when paging back and forth between page sets in a large report. Be aware that you may page back to a screen that is in a different "page state". An example might be that you ran a query to generate a report, paged back to the query page, and then try to return to the report page via the Report tab. The query page may not recognize that a report exists, because you have paged back to its state prior to running the query.

Top
 
If I create Queries and Layouts using the Trial version, will they be lost if I buy the product?

No. You will be able to install, or upgrade your version of QLR Manager without loosing any of your data. If you decide to Purchase a non-expiring license. you simply upgrade your trial license.

Top
 
What is the maximum number of rows I can display from the results of a query?

QLR Manager displays reports in blocks of pages, or "page sets". The number of rows in a page set is defined as the reportRows value in the qlr.ini file created when QLR Manager is installed. If the block size is set to 500 (default value), then 500 rows can be displayed at one time. QLR Manager can create up to 1,000 page sets for a report. Therefore, using this reportRows setting, 500,000 rows of data can be displayed. If queries do generate more than the allowable maximum rows, you can either use the "Group" Action in the Layout panel to compress rows, or Group the data in your query with the SQL "Group By" function. Navigation links (First, Back, More, Last) are provided above the report output to move between page sets.

The value established during installation and recorded in the qlr.ini file becomes the default for the installation. There is also a "Max displayed rows" control in the Report Body section of the Layout panel that will override the installation default. If this value is increased, more report rows will be displayed per page set. The compromise is the time your browser will take to render larger page sets. The slower rendering speed can be very noticeable with slower network connections.

The Max displayed rows value can be increased to produce one continuous set of report pages. This may be desirable to print the output or to produce a PDF. If the Layout is saved as the same name as its associated query or wizard, it will be automatically applied when the query, wizard or menu item is executed.

Top
 
When I start QLR Manager, I see a message that says "Cannot continue. Could not connect to the QLR Manager database."

The probable cause is that your database engine is not running on your server. Check to make sure you have started the database engine.

Top
 
Can I issue "alter session" commands in Oracle to change my session configuration?
Not directly, but there is a special query a user can create called "user session" that accomplishes the same thing. If a query exists with the name of "user session", its contents will be executed when the  Run Query  button is clicked, prior to executing the query in the Query panel. This allows for the setting of database commands, such as "alter session" commands in Oracle. An example of the contents of a user session query is:

alter session set nls_date_format = 'DD-MON-YY HH24:MI:SS';

Since QLR Manager supports batch query processing, multiple commands can be placed into this query, separated by a semicolon(;). Each User ID may have a "user session" query. This technique also works for MySQL commands, such as "set".

Top
 
Why does my browser stall on large reports or output with charts?

This may be due to a memory limitation in PHP. QLR Manager attempts to alter memory allocation at runtime for memory intensive operations, such as creating charts. If your browser still hangs or produces incomplete output, this is probably because QLR Manager was unable to increase the memory allocation. See optimal php.ini settings for more information.

Top
 
How can I print a large report to a printer or PDF writer?

QLR Manager Version 5.1.2 introduced the capability of setting the Max displayed rows in the Report Body section of the Layout panel. This provides a method of overriding the installation default for the total number of report rows that will be displayed for each block of pages, or "page set". By entering a value that is greater than the total numbers of rows expected to be produced by the query, one continuous set of pages will be produced. Using the Print displayed output option in the Report tools pop-up, the entire report can be printed or sent to a PDF writer. Saving a layout with the same name as its associated query or wizard will automatically apply the layout when the query is executed.

When sending the output to a PDF writer such as Adobe Acrobat or CutePDF (available free from www.cutepdf.com), it is usually desirable to produce the PDF in full color. There is a Print black & white control in the Report Body section of the Layout panel that must be deselected. In addition, the default installation for most browsers prevents printing background colors to conserve ink. The printing selections for your browser may have to be changed to print to a PDF writer in full color. More information about these browser settings can be found in our User's Guide.

Top
 
How can I print mailing labels from my database?

Mailing labels can be printed from Microsoft Word using an imported CSV file downloaded from QLR Manager. Begin by authoring a query to select the desired address records from your database. Include the appropriate columns in the report to generate mailing labels such as, name, street, city, state, and zip code. Generate the report and launch Report Tools. Open the section for Download as Data File and select "Include column headers" and "CSV". Click Create and download the file to your local PC.

Launch Microsoft Word and select from the Tools menu:
 •  Letters and Mailings
 •  Mail Merge Wizard...
The Mail Merge controls will appear in the right pane:
Step 1 of 6 - Select document type: Labels. (click Next: Starting document)
Step 2 of 6 - Select starting document: Select Use the current document. Label options can also be specified. (click Next: Select recipients)
Step 3 of 6 - Select recipients: Use an existing list and Browse to where the CSV file downloaded from QLR Manager is saved. (click Next: Arrange your labels)
Step 4 of 6 - Arrange your labels: Complete the steps below. (click Next: Preview your labels)
• Assign the Address block...
Replicate labels by clicking the "Update all labels" button
Step 5 of 6 - Preview your labels: Edit recipient list... if desired. (click Next: Complete the merge)
Step 6 of 6 - Complete the merge: Print... or Edit individual labels...
Top