Activity Stream
48,167 MEMBERS
61011 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1.     
    #1
    Member

    Default How to install paste

    Hello guyz just willing to install
    Paste 1.0 or any other pastebin on my website........so how can i install that???
    i want like this
    domain.com/paste
    KINGTHE_ALI Reviewed by KINGTHE_ALI on . How to install paste Hello guyz just willing to install Paste 1.0 or any other pastebin on my website........so how can i install that??? i want like this domain.com/paste Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Respected Member
    It is very simple and has clear instructions in the readme file.

    Just create your folder paste and copy files from this download http://sourceforge.net/projects/phpaste/
    Update your database (or create a new datbase) following the instructions. U[date the confi file with database information and you are ready.

  4.     
    #3
    Member
    i've done with every thing but it's still showing (Unable to connect to database) i've created table as well and cofigure it as well but still Unable to connect to database

  5.     
    #4
    Respected Member
    You have entered the correct host name, the user name that has full access and the complete database name in the config file??
    Check in your cpanel if you have one to match that those are correct.

    If you think they are correct then add them to this php script and upload it to your piblic_html folder using ftp or file manager and run it from the command line like this changing all the DB information including localhost if you need .. :
    Code: 
    http;//yoursite.com/testdb.php
    Code: 
    <?php
    function ss_error($message) 
    {
      echo  $message."<br>";
      die();
    }
    
    // set up database information 
    
    $ss_dbhost = "localhost" ;
    $ss_dbuser = "my_uusername";
    $ss_dbpass = "my_databasepassword";
    $ss_dbname = "my_databasename";
    
      if(!($ss_lnk = mysql_connect($ss_dbhost, $ss_dbuser, $ss_dbpass))) {
        ss_error("can not connect to MySql using $ss_dbhost using user $ss_dbuser");
        return;
      }
      if(!mysql_select_db($ss_dbname, $ss_lnk)) {
        ss_error("can not select database $ss_dbname");
        return;
      }
    ?>
    save this in a file called testdb.php and upload to server..

  6.     
    #5
    Member
    i did as you mentioned but i got a blank page.......nothing in it......

  7.     
    #6
    Member
    Website's:
    imdber.org justpaste.me
    Have you checked your error logs?

  8.     
    #7
    Banned
    Website's:
    ArcaServer.com
    edit the index.php file and add this line above the require_once statment
    Code: 
    error_log("Just before the require start.php", 3, "/home/[your username]/public_html/errors.log");
    now refresh, it will create errors.log in /home/[your username]/public_html/errors.log paste error logs for us,
    i guess it is permission problem.

  9.     
    #8
    Member
    finally did it....i was doing blender.....
    MySQL database
    $CONF['dbhost']='localhost';
    $CONF['dbname']='mysqldatabase';
    $CONF['dbuser']='mysqluser';
    $CONF['dbpass']='databasepassword'
    by mistake i put detail in ['dbhost'] , ['dbname'], ['dbuser'], ['dbpass'] while i've to put that info in 'localhost', 'mysqldatabase' ......

    thank you very much guyz for your help and specially Lock Down

    but it's running very bad.......while site is loading fine
    Code: 
    http://releaselog.eu/paste/index.php
    and also it's not creating any paste ............saying nothing found.......and i checked table and i can't browse the table it's saying Table seems to be empty

  10.     
    #9
    Respected Member
    You are welcome.

    Looks like the database is lagging a lot. Use mysqltuner to see if it offers any solutions.

    Also use top to see what resources you are using.

  11.     
    #10
    Member
    bro dunno how to use mysqltuner

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Paste 1.0 templete
    By KINGTHE_ALI in forum Webmaster Discussion
    Replies: 2
    Last Post: 28th Oct 2012, 04:31 PM
  2. [Selling] WordPress instalation + Plugin install + Theam install service(free for biginers)
    By senseseo in forum Completed Transactions
    Replies: 4
    Last Post: 16th Oct 2011, 02:09 PM
  3. [Hiring] [Copy-Paste] Job
    By viruz99 in forum Completed Transactions
    Replies: 5
    Last Post: 25th Sep 2011, 11:22 AM
  4. How to copy paste in VPS
    By masterlog in forum Server Management
    Replies: 8
    Last Post: 11th May 2011, 08:37 PM
  5. Need someone to do Copy/Paste job.
    By 3ROk3N in forum Completed Transactions
    Replies: 18
    Last Post: 18th May 2010, 02:28 PM

Tags for this Thread

BE SOCIAL