Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-02-2011, 05:44 AM
personq personq is offline
Member
 
Join Date: Jan 2011
Posts: 2
Credits: 796
personq
Default 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:


Is it normal, or did I do something wrong with the installation?
Reply With Quote
  #2  
Old 01-02-2011, 07:01 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 485,988
Hall of Famer is on a distinguished road
Default RE: Help with installing script

umm which version of RA are you using? Just curious.
Reply With Quote
  #3  
Old 01-02-2011, 11:55 PM
personq personq is offline
Member
 
Join Date: Jan 2011
Posts: 2
Credits: 796
personq
Default RE: Help with installing script

The Rusnak PHP Adoptables Script. Why?.........................................
Reply With Quote
  #4  
Old 01-03-2011, 08:48 AM
Tequila's Avatar
Tequila Tequila is offline
The Grim One
 
Join Date: Jan 2009
Location: Souther Tier, New York State
Posts: 1,356
Gender: Female
Credits: 109,438
Tequila is on a distinguished road
Default 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?
Reply With Quote
  #5  
Old 01-04-2011, 01:05 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 38,384
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default 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.
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
Reply With Quote
  #6  
Old 01-04-2011, 01:14 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 485,988
Hall of Famer is on a distinguished road
Default 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.
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
A little help with installing the MAS Script, Phoeniix Questions and Supports 5 10-26-2020 05:42 PM
Installing the MAS ChibiMaestro Tutorials and Tips 212 04-01-2016 02:01 PM
Installing the Script help? Clessidra Questions and Supports 2 12-07-2012 10:54 PM
Problems Installing Script Abronsyth Questions and Supports 12 08-26-2011 07:32 AM


All times are GMT -5. The time now is 09:30 PM.

Currently Active Users: 885 (0 members and 885 guests)
Threads: 4,081, Posts: 32,029, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636