illios Posted November 16, 2006 Share Posted November 16, 2006 hey this is my first time every getting a website....i am making a clan and i found some free scripts...found here:http://scripts.overdosed.net/i am not sure how to install the scripts onto my site?i have 1 mysql database avaliable.i am using:Operating system LinuxKernel version 2.6.9-42.0.3.ELsmpApache version 1.3.37 (Unix)PERL version 5.8.7PHP version 4.4.3MySQL version 4.1.21-standardcPanel Build 10.9.0-RELEASE 57Theme cPanel X v2.6.0cPanel Pro 1.0 (RC36)can some help me? Link to comment https://forums.phpfreaks.com/topic/27424-installing-script/ Share on other sites More sharing options...
fenway Posted November 16, 2006 Share Posted November 16, 2006 Count me out... if you're using someone else's scripts, contact them; otherwise, post whatever portion of the code that's got you confused, and we can work through it. Link to comment https://forums.phpfreaks.com/topic/27424-installing-script/#findComment-125709 Share on other sites More sharing options...
illios Posted November 17, 2006 Author Share Posted November 17, 2006 well this is my first time ever seeing mysql... the scripts are for a full functional login clan site....but the problem it i dont know how to install it....on the installation directions it says2) Import the db-skeleton.sql file into your database.i have no idea what that means since i am new to this...lemme know if this is the wrong forums for this kind of helpthx Link to comment https://forums.phpfreaks.com/topic/27424-installing-script/#findComment-126014 Share on other sites More sharing options...
fenway Posted November 17, 2006 Share Posted November 17, 2006 Well, phpMyAdmin should have a place for you to upload a .sql file; alternatively, if you have access to a CLI, you can just read it in directly. Link to comment https://forums.phpfreaks.com/topic/27424-installing-script/#findComment-126069 Share on other sites More sharing options...
illios Posted November 18, 2006 Author Share Posted November 18, 2006 ok... i logged in and went to inport.when i browsed the file and tried to upload i got this error:ErrorSQL query:-- phpMyAdmin SQL Dump-- version 2.6.4-pl3-- http://www.phpmyadmin.net-- -- Host: testbed.scripts.overdosed.net-- Generation Time: Feb 24, 2006 at 02:59 PM-- Server version: 5.0.18-- PHP Version: 4.4.2-- -- Database: `script_test`-- -- ---------------------------------------------------------- -- Table structure for table `diplomacy`-- CREATE TABLE `diplomacy` (`uid` varchar( 10 ) NOT NULL default 'None',`clan` text,`leader` text,`site` varchar( 30 ) default 'None',`status` tinyint( 1 ) NOT NULL default '0',`channel` text,`description` text,`date` date NOT NULL default '0000-00-00',`embassador` varchar( 20 ) NOT NULL default 'None',`log` text,`realm` tinyint( 1 ) NOT NULL default '0',`view` int( 10 ) NOT NULL default '0',PRIMARY KEY ( `uid` )) ENGINE = MYISAM ;MySQL said: Documentation#1046 - No database selected Link to comment https://forums.phpfreaks.com/topic/27424-installing-script/#findComment-126498 Share on other sites More sharing options...
fenway Posted November 19, 2006 Share Posted November 19, 2006 Just add a "USE yourDBName;" line at the beginning. Link to comment https://forums.phpfreaks.com/topic/27424-installing-script/#findComment-126830 Share on other sites More sharing options...
illios Posted November 21, 2006 Author Share Posted November 21, 2006 ok i got the .sql uploaded and it added a bunch of files to the myphp panel on the left.then i uploaded all the files to the ftp.but when i go to my website url it says "Unable to connect to the database server at this time."anything else i need to do? Link to comment https://forums.phpfreaks.com/topic/27424-installing-script/#findComment-127696 Share on other sites More sharing options...
fenway Posted November 21, 2006 Share Posted November 21, 2006 That's a PHP error, from what it sounds like .... are you sure the credentials are ok? Link to comment https://forums.phpfreaks.com/topic/27424-installing-script/#findComment-127714 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.