Results 1 to 10 of 15
-
12th Sep 2012, 08:30 AM #1OPMember
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/pasteKINGTHE_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
-
12th Sep 2012, 03:15 PM #2Respected 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.
-
12th Sep 2012, 05:31 PM #3OPMember
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
-
14th Sep 2012, 02:06 PM #4Respected 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; } ?>
-
14th Sep 2012, 05:29 PM #5OPMember
i did as you mentioned but i got a blank page.......nothing in it......
-
15th Sep 2012, 08:04 AM #6MemberWebsite's:
imdber.org justpaste.meHave you checked your error logs?
-
15th Sep 2012, 06:29 PM #7BannedWebsite's:
ArcaServer.comedit 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");
i guess it is permission problem.
-
16th Sep 2012, 07:24 AM #8OPMember
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
-
16th Sep 2012, 02:34 PM #9Respected 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.
-
18th Sep 2012, 06:54 AM #10OPMember
bro dunno how to use mysqltuner
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Paste 1.0 templete
By KINGTHE_ALI in forum Webmaster DiscussionReplies: 2Last Post: 28th Oct 2012, 04:31 PM -
[Selling] WordPress instalation + Plugin install + Theam install service(free for biginers)
By senseseo in forum Completed TransactionsReplies: 4Last Post: 16th Oct 2011, 02:09 PM -
[Hiring] [Copy-Paste] Job
By viruz99 in forum Completed TransactionsReplies: 5Last Post: 25th Sep 2011, 11:22 AM -
How to copy paste in VPS
By masterlog in forum Server ManagementReplies: 8Last Post: 11th May 2011, 08:37 PM -
Need someone to do Copy/Paste job.
By 3ROk3N in forum Completed TransactionsReplies: 18Last Post: 18th May 2010, 02:28 PM
themaCreator - create posts from...
Version 3.24 released. Open older version (or...