Jump to content

Kloxo large database upload workaround: Difference between revisions

From TetraWiki
Created page with "category:Mobilepedia category:KLOXO '''ISSUE''':- There is an Issue with Kloxo that it hangs/freezes whenever client uploads File larger than 100mb . '''Resolution''..."
 
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 14: Line 14:
Step 2 :-  now we have configuration file  inside this location  
Step 2 :-  now we have configuration file  inside this location  
             '''config.inc.php'''
             '''config.inc.php'''
[[category:Tetra Clients]]
 
[[category:kloxo]]




open this file with and look for these parameters :-
open this file with and look for these parameters :-


'''$cfg['UploadDir'] = '';'''       
$cfg['UploadDir'] = '';    
'''$cfg['SaveDir'] = '';'''
$cfg['SaveDir'] = '';




Line 28: Line 27:


Let us take one example of configuration done for 107.167.181.187 server , here username for FTP user is iwmp_mobi with home directory /home/iwmp_mobi/
Let us take one example of configuration done for 107.167.181.187 server , here username for FTP user is iwmp_mobi with home directory /home/iwmp_mobi/
'''$cfg['UploadDir'] = '/home/iwmp_mobi/';'''
 
'''$cfg['SaveDir'] = '/home/iwmp_mobi/';'''
 
$cfg['UploadDir'] = '/home/iwmp_mobi/';
$cfg['SaveDir'] = '/home/iwmp_mobi/';
 


After doing this entry save the file and restart httpd .
After doing this entry save the file and restart httpd .

Latest revision as of 11:23, 6 June 2015


ISSUE:- There is an Issue with Kloxo that it hangs/freezes whenever client uploads File larger than 100mb .

Resolution :- As there is limition with kloxo , we are going to edit phpMyAdmin configuration .


Step 1 :- Let us first go to configuration directory of PhpMyAdmin

           cd  /usr/local/lxlabs/kloxo/httpdocs/thirdparty/phpMyAdmin


Step 2 :- now we have configuration file inside this location

           config.inc.php


open this file with and look for these parameters :-

$cfg['UploadDir'] = ;      
$cfg['SaveDir'] = ;


Now we have to change the path for UploadDir and SaveDir //please note UploadDir will be used while Import and SaveDir will be used while Export //


Let us take one example of configuration done for 107.167.181.187 server , here username for FTP user is iwmp_mobi with home directory /home/iwmp_mobi/


$cfg['UploadDir'] = '/home/iwmp_mobi/';
$cfg['SaveDir'] = '/home/iwmp_mobi/';


After doing this entry save the file and restart httpd .

This will enable PhpMyAdmin to Look inside /home/iwmp_mobi for .sql files while Import .

while importing we just have to select "Select from the web server upload directory "

Client is Using Core-FTP to transfer database file directly to /home/iwmp_mobi/ directory .