Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Help with installing script (http://www.mysidiaadoptables.com/forum/showthread.php?t=1633)

personq 01-02-2011 04:44 AM

Help with installing script
 
Umm... Ok so I've downloaded the script, transferred it using an FTP software CHOMDED the the files needed to be CHOMD, then I went to the install folder and clicked "index.php" I went there and entered all the things in the boxes, etc. But when I clicked the button on top of the page there were random texts like:

"; //Write the config.php file... $file = fopen('../inc/config.php', 'w'); fwrite($file, $configdata); fclose($file); //Connect to the database and insert the default data..... include("../inc/functions.php"); connect(); $query = "CREATE TABLE ".$prefix."content (page varchar(20), title varchar(75), date varchar(15), content varchar(15000), level varchar(50))"; mysql_query($query); $query = "INSERT INTO ".$prefix."content (page, title, date, content, level) VALUES ('index', 'This is the index page', 'Jan-10-1999', 'This is a sample article. All of this text you can change in the script admin control panel.','')"; mysql_query($query); $query = "INSERT INTO ".$prefix."content (page, title, date, content, level) VALUES ('tos', 'This is the Terms of Service Page', 'Jan-10-1999', 'Put your terms of service here. All of this text you can change in the script admin control panel.','')"; mysql_query($query); $query = "CREATE TABLE ".$prefix."settings (name varchar(20), value varchar(350))"; mysql_query($query); $query = "INSERT INTO ".$prefix."settings (name, value) VALUES ('themeurl', 'templates/default/template.html')"; mysql_query($query); $query = "INSERT INTO ".$prefix."settings (name, value) VALUES ('browsertitle', 'Rusnak PHP Adoptables Script Fresh Install')"; mysql_query($query); $query = "INSERT INTO ".$prefix."settings (name, value) VALUES ('sitename', 'Your site name goes here.')"; mysql_query($query); $query = "INSERT INTO ".$prefix."settings (name, value) VALUES ('admincontact', 'any@email.com')"; mysql_query($query); $query = "INSERT INTO ".$prefix."settings (name, value) VALUES ('slogan', 'Test Slogan')"; mysql_query($query); $query = "INSERT INTO ".$prefix."settings (name, value) VALUES ('gdimages', 'yes')"; mysql_query($query); $query = "INSERT INTO ".$prefix."settings (name, value) VALUES ('usealtbbcode', 'no')"; mysql_query($query); $query = "INSERT INTO ".$prefix."settings (name, value) VALUES ('systememail', 'any@email.com')"; mysql_query($query); $query = "CREATE TABLE ".$prefix."users (uid INT NOT NULL AUTO_INCREMENT PRIMARY KEY, username varchar(20) UNIQUE, password varchar(100), email varchar(60), usergroup INT, newmessagenotify varchar(10), membersince varchar(20), isbanned INT, website varchar(80), profilepic varchar(80), aim varchar(80), yahoo varchar(80), msn varchar(80))"; mysql_query($query); $query = "CREATE TABLE ".$prefix."groups (gid INT NOT NULL AUTO_INCREMENT PRIMARY KEY, groupname varchar(20) UNIQUE, canadopt varchar(10), canpm varchar(10), cancp varchar(10), canmanageadopts varchar(10), canmanagecontent varchar(10), canmanageads varchar(10), canmanagesettings varchar(10), canmanageusers varchar(10))"; mysql_query($query); $query = "INSERT INTO ".$prefix."groups VALUES ('', 'rootadmins', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes')"; mysql_query($query); $query = "INSERT INTO ".$prefix."groups VALUES ('', 'admins', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes')"; mysql_query($query); $query = "INSERT INTO ".$prefix."groups VALUES ('', 'registered', 'yes', 'yes', 'no', 'no', 'no', 'no', 'no', 'no')"; mysql_query($query); $query = "INSERT INTO ".$prefix."groups VALUES ('', 'artists', 'yes', 'yes', 'yes', 'yes', 'yes', 'no', 'no', 'no')"; mysql_query($query); $query = "CREATE TABLE ".$prefix."owned_adoptables (aid INT NOT NULL AUTO_INCREMENT PRIMARY KEY, type varchar(40), name varchar(40), owner varchar(40), currentlevel INT, totalclicks INT, code INT, imageurl varchar(120), usealternates varchar(10), tradestatus varchar(15), isfrozen varchar(10))"; mysql_query($query); $query = "CREATE TABLE ".$prefix."adoptables (id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, type varchar(40), description varchar(300), eggimage varchar(120), whenisavail varchar(50), promocode varchar(50), freqcond varchar(50), number INT, datecond varchar(50), date varchar(20), adoptscond varchar(20), moreless varchar(20), morelessnum INT, levelgrle varchar(25), grlelevel INT, alternates varchar(10), altoutlevel INT, altchance INT)"; mysql_query($query); $query = "CREATE TABLE ".$prefix."levels (adoptiename varchar(50), thisislevel INT, requiredclicks INT, primaryimage varchar(120), alternateimage varchar(120), rewarduser varchar(10), promocode varchar(25))"; mysql_query($query); $query = "CREATE TABLE ".$prefix."vote_voters (date varchar(30), username varchar(50), ip varchar(50), adoptableid int(10))"; mysql_query($query); $query = "CREATE TABLE ".$prefix."filesmap (id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, serverpath varchar(150), wwwpath varchar(200), friendlyname varchar(50))"; mysql_query($query); $query = "CREATE TABLE ".$prefix."acp_hooks (id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, linktext varchar(150), linkurl varchar(200), pluginname varchar(50), pluginstatus INT)"; mysql_query($query); $query = "CREATE TABLE ".$prefix."themes (id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, themename varchar(150), themeurl varchar(200))"; mysql_query($query); $query = "INSERT INTO ".$prefix."themes VALUES ('', 'Default', 'templates/default/template.html')"; mysql_query($query); $query = "CREATE TABLE ".$prefix."links (id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, linktext varchar(150), linkurl varchar(200))"; mysql_query($query); $query = "INSERT INTO ".$prefix."links VALUES ('', 'Home', 'index.php')"; mysql_query($query); $query = "INSERT INTO ".$prefix."links VALUES ('', 'Adopt', 'adopt.php')"; mysql_query($query); $query = "INSERT INTO ".$prefix."links VALUES ('', 'My Adopts', 'myadopts.php')"; mysql_query($query); $query = "INSERT INTO ".$prefix."links VALUES ('', 'My Account', 'account.php')"; mysql_query($query); $query = "INSERT INTO ".$prefix."links VALUES ('', 'Message Center', 'messages.php')"; mysql_query($query); $query = "INSERT INTO ".$prefix."links VALUES ('', 'Top 10', 'stats.php')"; mysql_query($query); $query = "CREATE TABLE ".$prefix."ads (id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, adname varchar(50), text varchar(1650), page varchar(50), impressions INT, actualimpressions INT, date varchar(50), status varchar(15), user varchar(45), extra varchar(100))"; mysql_query($query); $query = "CREATE TABLE ".$prefix."messages (id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, fromuser varchar(50), touser varchar(1650), status varchar(20), datesent varchar(25), messagetitle varchar(100), messagetext varchar(2500))"; mysql_query($query); $query = "CREATE TABLE ".$prefix."passwordresets (id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, username varchar(20), email varchar(50), code varchar(70), ip varchar(30), date varchar(20))"; mysql_query($query); //Now we output a form so they can create an admin user... echo "

So is it normal or what?

Then I continued with the installation, and finished. But the new script I installed could only be accessed if I replace the www. with ftp. since my site would go to an error page and say it didn't exist on my site and my petsite looked like this:
http://img341.imageshack.us/img341/5791/48421178.png

Is it normal, or did I do something wrong with the installation?

Hall of Famer 01-02-2011 06:01 AM

RE: Help with installing script
 
umm which version of RA are you using? Just curious.

personq 01-02-2011 10:55 PM

RE: Help with installing script
 
The Rusnak PHP Adoptables Script. Why?.........................................

Tequila 01-03-2011 07:48 AM

RE: Help with installing script
 
There was recently a new update to the script are you using that one or the first one?

Also do you have your MySQL databases set up?

Kaeliah 01-04-2011 12:05 PM

RE: Help with installing script
 
Odd that it would stop working at that point on the page... I have no idea quite honestly but it seems like you didn't install it properly. I'm not sure what went wrong though.

Hall of Famer 01-04-2011 12:14 PM

RE: Help with installing script
 
Well it may have something to do with your host if you are sure that you've followed the installation manual correctly. Contact your host and see if they have something up for ya.


All times are GMT -5. The time now is 12:23 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.