Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Project U-232
Reply
  #1  
Old 22nd October 2013, 13:22
DooM's Avatar
DooM DooM is offline
Senior Member
 
Join Date: Feb 2009
United Kingdom
Posts: 118
Default A little help at installing
I've bought a VPS and a domain name to start a torrent tracker for some friends. I have uploaded U-232 and followed step by step the installation instructions but after I filled all the information needed in the installation procces, I get this error:
Code:
Cant select database
Can someone help me?

I attached a printscreen.
Attached Thumbnails
da da da.jpg  
__________________
* Ubuntu Linux User since 2009 *
Reply With Quote
  #2  
Old 27th October 2013, 21:45
GameMaster GameMaster is offline
Elite
 
Join Date: Jun 2013
United Kingdom
Posts: 55
Default
Quote:
Originally Posted by DooM View Post
I've bought a VPS and a domain name to start a torrent tracker for some friends. I have uploaded U-232 and followed step by step the installation instructions but after I filled all the information needed in the installation procces, I get this error:
Code:
Cant select database
Can someone help me?

I attached a printscreen.
what version of u-232 have you got??
Reply With Quote
  #3  
Old 28th October 2013, 00:02
KrackerMan's Avatar
KrackerMan KrackerMan is offline
Senior Member
 
Join Date: Aug 2010
United States
Posts: 109
Default
Quote:
Originally Posted by DooM View Post
I've bought a VPS and a domain name to start a torrent tracker for some friends. I have uploaded U-232 and followed step by step the installation instructions but after I filled all the information needed in the installation procces, I get this error:
Code:
Cant select database
Can someone help me?

I attached a printscreen.
Have you created a database yet? Also have you filled in the correct information for your database such as username, password, name of database?

Also I don't believe you can run memcached on a vps so you will not be able to install V1-V3 of U232.

Last edited by KrackerMan; 28th October 2013 at 00:06. Reason: Adding more info
Reply With Quote
  #4  
Old 28th October 2013, 00:50
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,242
Default
well, if he has command terminal su axx maybe he can install memcache with no problem.
but if the VPS is shared, so only ftp&cpanel axx, then you've got some problems.
Reply With Quote
  #5  
Old 28th October 2013, 01:29
GameMaster GameMaster is offline
Elite
 
Join Date: Jun 2013
United Kingdom
Posts: 55
Default
Quote:
Originally Posted by KrackerMan View Post
Have you created a database yet? Also have you filled in the correct information for your database such as username, password, name of database?

Also I don't believe you can run memcached on a vps so you will not be able to install V1-V3 of U232.
You can run Memcached on a VPS, i got it running on two VPS's :)
Reply With Quote
  #6  
Old 29th October 2013, 17:46
DooM's Avatar
DooM DooM is offline
Senior Member
 
Join Date: Feb 2009
United Kingdom
Posts: 118
Default Re
Trust me guys, memcached is installed correctly. Same thing about MySQL. I have created the database and filled the infos correctly. I think the problem is somewhere between the connection u232 <-> mysql server. Can this be a problem?

BTW, Gazelle works fine!
__________________
* Ubuntu Linux User since 2009 *
Reply With Quote
  #7  
Old 29th October 2013, 17:55
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,242
Default
edit the files yourself and don't use the installer :)
pretty simple solution
Reply With Quote
  #8  
Old 30th October 2013, 15:46
DooM's Avatar
DooM DooM is offline
Senior Member
 
Join Date: Feb 2009
United Kingdom
Posts: 118
Default
I'll start all over again 'till it works! Thanks for your help and your time guys!
__________________
* Ubuntu Linux User since 2009 *
Reply With Quote
  #9  
Old 30th October 2013, 21:31
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,242
Default
if the problem is serverside, starting again won't help
did you chmod 777 the install directory ? + files inside?
Reply With Quote
  #10  
Old 31st October 2013, 14:50
Bigjoos's Avatar
Bigjoos Bigjoos is offline
U-232 Dev
 
Join Date: May 2008
United Kingdom
Posts: 244
Default
U-232 V3 is a 5 minute to install and run source code, if not then you have missing dependences or your server is mis configured to take that source. Now the only possible way it can't select the database is possibly your installing on a windows server and you have not edited install/functions/database.php

PHP Code:
function db_insert()
{
    global 
$root$INSTALLER09;
    
$out '<fieldset><legend>Database</legend>';
    require_once (
$root.'include/config.php');
    
$q sprintf('/usr/bin/mysql -h %s -u %s -p%s %s < %sinstall/extra/install.sql'$INSTALLER09['mysql_host'], $INSTALLER09['mysql_user'], $INSTALLER09['mysql_pass'], $INSTALLER09['mysql_db'], $root); //== Linux
    //$q = sprintf('c:\AppServ\MySQL\bin\mysql -h %s -u %s -p%s %s < %sinstall/extra/install.sql',$INSTALLER09['mysql_host'],$INSTALLER09['mysql_user'],$INSTALLER09['mysql_pass'],$INSTALLER09['mysql_db'],$root);  //== Win - remember to set your path up correctly - atm its set for appserv
    
exec($q$o);
    if (!
count($o)) {
        
$out.= '<div class="readable">Database was imported</div><div class="info" style="text-align:center"><input type="button" value="Finish" onclick="window.location.href=\'?step=3\'"/></div>';
        
file_put_contents('step2.lock'1);
    } else 
$out.= '<div class="notreadable">There was an error while importing the database<br/>'.$o.'</div>';
    
$out.= '</fieldset>';
    print (
$out);

Its clearly commented for that, it could be exec function is disabled on the server, looking at error logs helps in these matters, knowing your hardware well helps a lot as well, just slow down and look at what your trying to do first, list here what errors you get and you'll get answers, but I can assure you its not the code, its the server that has the problem.
Reply With Quote
The Following User Says Thank You to Bigjoos For This Useful Post:
DooM (26th November 2013)
Reply

Tags
installing

Thread Tools

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 +2. The time now is 12:58. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.