Ask not what osTicket community can do for you - ask what you can do for osTicket community

Go Back   osTicket Forums > osTicket 1.6.x > Installation and Setup Help

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-22-2012, 03:59 AM
Johans Johans is offline
Junior Member
 
Join Date: Jun 2012
Posts: 5
Question Import and export

Hi,
I have export my osticket set up and i need to transferred to my local server. what settings do i need to change aside from DB user, DB name, DB password?

I am new here.. i hope some one will give me straight and detailed answered.
Reply With Quote
  #2  
Old 06-27-2012, 03:44 PM
ntozier's Avatar
ntozier ntozier is offline
Moderator
 
Join Date: Jan 2010
Location: NH USA
Posts: 1,655
Default

Short version would be:

1. use the tools that you have to export your database.
2. copy the osticket folders and files.
3. on your new host put the osticket files and folders.
4. create your DB, username, and password in MySQL.
5. import your data base into the new version of mysql.
6. edit your /include/settings.php and update line 39. [note this could be called ost-config.php or ostconfig.php]. If you changed the db name, username, password edit those lines also.
__________________
ntozier
OST Forum Mod - tmib.net - System Admin
Reply With Quote
  #3  
Old 06-27-2012, 08:53 PM
Johans Johans is offline
Junior Member
 
Join Date: Jun 2012
Posts: 5
Question

Quote:
Originally Posted by ntozier View Post
Short version would be:

1. use the tools that you have to export your database.
2. copy the osticket folders and files.
3. on your new host put the osticket files and folders.
4. create your DB, username, and password in MySQL.
5. import your data base into the new version of mysql.
6. edit your /include/settings.php and update line 39. [note this could be called ost-config.php or ostconfig.php]. If you changed the db name, username, password edit those lines also.
Thank you for your response.. i follow the instruction but i get this msg. "Fatal Error: Contact system adminstrator." - any ideal?
Reply With Quote
  #4  
Old 06-28-2012, 11:16 AM
ntozier's Avatar
ntozier ntozier is offline
Moderator
 
Join Date: Jan 2010
Location: NH USA
Posts: 1,655
Default

Not specifically. But if you check the php logs it might point you in the right direction. Also when you setup your mysql username and password did you give it permissions to the database you created?
__________________
ntozier
OST Forum Mod - tmib.net - System Admin
Reply With Quote
  #5  
Old 06-28-2012, 08:13 PM
Johans Johans is offline
Junior Member
 
Join Date: Jun 2012
Posts: 5
Question

Quote:
Originally Posted by ntozier View Post
Not specifically. But if you check the php logs it might point you in the right direction. Also when you setup your mysql username and password did you give it permissions to the database you created?
permission is created.. where do i find that php logs? which path?
Reply With Quote
  #6  
Old 06-29-2012, 11:38 AM
ntozier's Avatar
ntozier ntozier is offline
Moderator
 
Join Date: Jan 2010
Location: NH USA
Posts: 1,655
Default

That depends entirely on your os, version of php, and how you have PHP configured, etc. You really have two options for finding it.

1. You can create a test.php and put the following in it:

Code:
<?php phpinfo(); ?>
Then view it on the web server through a browser and it will tell you where your error log and php.ini is located.

2. You can look in your php.ini.

In Linux it's usually some where in /etc. My Debian server has it located in /etc/php5/apache2/php.ini

Under Windows it can vary greatly also. On my Windows box mine is located in C:\Program Files\PHP\php.ini
__________________
ntozier
OST Forum Mod - tmib.net - System Admin
Reply With Quote
  #7  
Old 11-15-2012, 05:41 AM
jimmyeao jimmyeao is offline
Junior Member
 
Join Date: May 2012
Posts: 9
Default

Quote:
Originally Posted by ntozier View Post
Short version would be:

1. use the tools that you have to export your database.
2. copy the osticket folders and files.
3. on your new host put the osticket files and folders.
4. create your DB, username, and password in MySQL.
5. import your data base into the new version of mysql.
6. edit your /include/settings.php and update line 39. [note this could be called ost-config.php or ostconfig.php]. If you changed the db name, username, password edit those lines also.

you may also need to edit main.inc.php and make sure the 3rd line below points to your root web folder
Code:
#Set Dir constants
    if(!defined('ROOT_PATH')) define('ROOT_PATH','./'); //root path. Damn directories
    define('ROOT_DIR','/var/www' . '/'); #Get real path for root dir ---linux and windows
Reply With Quote


Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:09 AM.