Blank pages in the PHP System for computer asset management of ITDB

Source: Internet
Author: User
Tags blank page
ITDB is a foreign company computer asset management system, found that the function is more comprehensive, the latest version is 1.8, official website address: itdb: itdb-1.8.tar.gz each page can print, the output is SystemRequirementsApache2.2onaposixsystem (linux, solaris, etc) (apache2

ITDB is a foreign company computer asset management system, found that the function is more comprehensive, the latest version is 1.8, official website address: itdb: itdb-1.8.tar.gz each page can print, the output is System Requirements Apache 2.2 on a posix system (linux, solaris, etc) (apache 2

ITDB is a foreign company computer asset management system, found that the function is more comprehensive, the latest version is 1.8, official website address: itdb: itdb-1.8.tar.gz

Each page can be printed, and the output is PDF, CSV, EXCEL, etc.


System Requirements
  • Apache 2.2 on a posix system (linux, solaris, etc) (apache 2.0 may also work)
  • Apache 2.2 and later versions can only be installed on linux, solaris, and other systems. (windows systems are not supported. For the reason, see the following section)
  • PHP> 5.2.x
  • PHP SQlite PDO, SQlite> 3.6.14.1
  • SQlite Database Support (not mysql database, I have provided suggestions to the author)
  • In some distributions, you may have to also install a package named "php-posix"
  • PHP needs to install php-posix library support (otherwise, a blank page will appear)

I doubt that it works under MSWindows due to SQlite not being very windows friendly. If I'm wrong and it does work, please inform me.

Installation instructions
  1. Extract the files in a web-exported directory (under the "DocumentRoot ")
    Decompress the file to the website directory.
  2. Rename pure. db to itdb. db (pure. db is a blank database)
    Change pure. db name to itdb. db
  3. Make the data/itdb. db fileANDThe data/directoryANDThe data/files/directory readable and writeable by the web server
    Read and Write Permissions using the data \ itdb. db and data Directories and data/files Directories
  4. Make translations/directory readable and writeable by the web server
    Translations/directory must have read and write permissions
  5. LoginAdmin/admin
    The default username and password are admin and admin.

If you need to find out which sqlite library is used by your apache/php installation, browse to itdb/phpinfo. php

The main functions are as follows:

? Items: specs, warranties, s/n, IP info, what other H/W relates/connects to this H/W, item status, event log, assignees
? Software: specs, license info ,...
? Relations: where each software is installed, license QTY, component relations, contract relations to software/hardware/invoices
? Invoices: purchase proofs depicting date, vendor, prices, attached documents
? Agents: Vendors, H/W & S/W Manufacturers, Buyers (for different Dpt), Contactors
? Locations: location of each asset: building, floor, room, rack, rack row, row depth
? Contracts: define custom contract types, like support & maintenance, SLA, etc. Track contract events.

? Files: attach documents to every main object entity (Items, Software, Invoices, Contracts
? Users: who has what or who is responsible for what
? Racks: display rack layout with items assigned to each rack row. (supports multiple items/rackrow ).
? Print labels: print label stickers for tag all your assets, with or without barcode, from phones and laptops to cooling units and ups. Easily define new label paper layouts through the GUI.
? One click backup: get a full backup of the ITDB installation and data in a .tar.gz from the main menu. To restore, just extract the backup file on the web server!
? All pages are printable: all screen pages/lists/reports print-out nicely, without menus, scrollbars and other clutter.
? Interface Translations: translation file support. You may create your own translations (v1.3)

The translation is as follows:

? Project: specification, guarantee, S/N, copyright information, and other types of H/W connected to/H/W, project status, Event Log, recipient
? Software: specification, license information ,...
? Link: software installation, License Quantity, component relationship, software/hardware/invoice of Contract Relationship
? Invoice: Description of purchase date, supplier, price, attached document
? AGENT: supplier, H/W & S/W manufacturer, importer (applicable to different departments), Contactor
? Location: Location of each asset: Building, floor, room, Rack, rack Row, Row depth
? Contract: defines custom contract types, such as support and maintenance, SLA, and other tracking contract events.

? Document: The document is attached to each primary object entity (Project, software, invoice, contract
? User: who uses or is responsible
? Rack: displays the items allocated to each rack row in the Rack Layout. (Supports multiple projects/rackrow ).

? One-click Backup: prevents the tar.gz data installed in the main menu and obtains a complete backup. Recover, just extract it from the backup file on the Web server!
? All pages can be printed: all the pages/lists/reports on the screen are printed out well without menus, scroll bars and other clutter.
? Interface Translation: Supports file translation. Can you create your own translation ?? (V1.3)

ITDB is a Web-based IT asset equipment management information system. IT is mainly applicable to IT devices, but not limited to IT devices.

ITDB 1.4 updates:

B: Check whether the rack size is exceeded when the rack installation project boundary

B: Correct translation errors. New translations cannot be used in previous versions.

I: translate more elements

I: replacing the TCPDF PDF library FPDF

I: Define the title image when previewing continuously

+: Clone project button. Similar to most attributes, except users, serial numbers, locations, intellectual property rights, associations, etc., create a new project

+: Tracking user changes: when the project's automatic log entry "Change User from X to Y", it changes the project's user.

+: Displays a warning. If the connected project has different statuses, users, or locations

+: In project editing, the rack is displayed only at the selected position.

+: The Rack is now available on its own list and editing webpage

+: Change the location of all items on the rack and update

+: The date format, currency, and language are now configured on the interface, but not ?? You need to edit the configuration file.

+: Translation page: add, edit Translation

Problem summary:

1. Blank pages
First, use phpinfo. php In the root directory to test whether php and sqlite support is not supported,

A. The SQlite database is not installed. For the solution, see

Ubuntu10.04 installation method:

0, sudo apt-get install apache2 libapache2-mod-php5 sqlite3

1. tar-xvf itdb-1.1.tar.gz

Sudo mv itdb/var/www

2. cd/var/www/itdb

Sudo mv pure. db itdb. db

3. sudo cp/etc/apache2/sites-available/default/etc/apache2/sites-available/itdb

Sudo nano/etc/apache2/sites-available/itdb

1> change DocumentRoot/var/www to DocumentRoot/var/www/itdb.

2> modify Is

3> modify Error/var/log/apache2/error. log to Error/var/log/apache2/error-itdb.log

4> modify CustomLog/var/log/apache2/access. log combined

CustomLog/var/log/apache2/access-itdb.log combined

Sudo a2dissite default & sudo a2ensite itdb

Sudo/etc/init. d/apache2 restart

4. cd/var/www/itdb

Sudo chown www-data itdb. db

Sudo chmod u + w itdb. db

5. cd/var/www

Sudo chown www-data itdb

Sudo chmod u + w itdb

Sudo chown www-data/var/www/itdb/files/

Sudo chmod u + w/var/www/itdb/files/

6. Modify the company name and company logo in sudo nano conf. php (the company name is directly changed in the background in the new version)

Does not support installation in the windows PHP environment, because the Code uses the posix_getpwuid () function, this function is unique to the linux system, see: http://www.php.net/manual/en/function.posix-getpwuid.php

On Windows, posix_getpwuid() is not implemented , but if you just want the username of the current user, you can use get_current_user().

Although the author provides Language Pack translation, but most of the translation is not complete, the interface default encoding is still UTF-8, after using the Chinese language pack, you must set the encoding for each page to view the page normally.

The Language Pack must be prepared by yourself. Use the excel strings to merge functions. CONCATENATE (A1, B1, C1)

0: black, 255: white #

0: black, 255: white #0: black, 255: white
About # About About # About
Accounting # Accounting Accounting # Accounting
Add Agent # Add proxy Add Agent # Add proxy
Add Contract # New Contract Add Contract # Add Contract
Add File # Add File Add File # Add a File

After creating a cnlanguage package in the background, find cn.txt in the translationsdirectory and paste the edited text in excel.

One comment.

Fatso2046

I have translated ITDB and changed it to a version that can be supported by Sqlite and MySQL, but the backup is not changed. MySQL can use phpmysqladmin to back up data.
: Baidu micro disk download: http://pan.baidu.com/share/link? Consumer id = 3446149004 & uk = 3187854935

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.