PDA

View Full Version : Mysidia Installation Tutorials


AlexC
03-25-2012, 08:02 AM
Hello new (or returning) members. :3 This is getting posted here instead of in the Tutorial forum because this is generally the first place people go with problems... not overly logical, but it works.

I have provided some tutorials on how to install the site - over time more will be added (in the correct forum) about how to do other things on the site, such as adding adoptables, pages, links, etc.

I know people learn in different ways, so I have provided three different variations - written, screenshot and video. If anyone is having any trouble understanding anything, they can post here and I'll try to answer your questions as quickly as possible.

Click the links or scroll down - whichever you prefer.

[+] Written Version (http://www.mysidiaadoptables.com/forum/showpost.php?p=22218&postcount=2)
[+] Screenshot Version (http://www.mysidiaadoptables.com/forum/showpost.php?p=22219&postcount=3)
[+] Video Version (http://www.mysidiaadoptables.com/forum/showpost.php?p=22220&postcount=4)

AlexC
03-25-2012, 08:03 AM
Written Installation Tutorial

If written instructions are your thing, then you're in luck, because a redo of the original install tutorial has now been written. If you'd like, the original is here: Installing the MAS (http://www.mysidiaadoptables.com/forum/showthread.php?t=1663)

GETTING STARTED

STEP 1: Download the following programs/scripts: Latest Mysidia Adoptable Script (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=2), Latest MyBB Forum Script (http://www.mybb.com/downloads) and FileZilla FTP Program (http://filezilla-project.org/).

STEP 2: Find a host, such as X10hosting (http://x10hosting.com/) or Gemstone Hosting (http://99webs.info/gemstonehosting/index.html). Sign up and log in once the account is ready.

STEP 3: Go to your control panel and find your section with MySQL Databases. Create one database, and one user - then, if needed, assign the user to the database and give it all permissions.

STEP 4: Go to filezilla and enter in your domain for host and your username and login for the rest - you may have to check your FTP section in your control panel for the login, but most of the time it is the details you have to login or the username you selected. Ignore the port option. Then click connect!

STEP 5: Drag the unzipped contents of the mysidia script into your public_html folder and wait for them to upload.

STEP 6: Once everything is uploaded, go to your FileManager and find your "config.php" file - it will be in the "inc" folder. Select the file and change the permissions to "777". Then go to the "picuploads" folder and do the same to the "gif", "png", "jpg" folders.

STEP 7: Now go to yoursite.com/install. Walk through the install process. Enter in all of the details for the database you created - if you don't know your host, use "localhost", but be sure to check on your database page.

STEP 8: After you're finished, delete the "install" folder from the FileManager. Then go to the "inc" folder and change the permissions for the "config.php" file back to "644".

STEP 9: Go your site now and enjoy! You've installed the script!

BONUS STEPS: Installing the forum! (there will be a complete tutorial in the near future)

STEP 1: Make a directory or folder in your FileManager, name it forum or something along those lines.

STEP 2: Drag the unzipped script into your html_public > "forum" folder in FileZilla and let it upload.

STEP 3: Create a second database and use this to install the forum.

STEP 4: After installing the forum, log in and turn off user registration.

STEP 5: Then go into "inc" > "config_forum.php". Enter in all of the details for your new database. Tada, you should be done!

(I know that was bad - I suck at writing out tutorials - use the video tutorial instead!)

AlexC
03-25-2012, 08:04 AM
Screenshot version here - coming soon!

AlexC
03-25-2012, 08:05 AM
Video Installation Tutorial

Some people learn best through visuals, so here we've provided a walk-through in video mode.

VIDEO TUTORIAL (http://www.youtube.com/watch?v=IFk8wjZXaYw)

More tutorials may be provided at a later date using other hosts if people are having trouble figuring it out. This tutorial is about ten minutes long and shows how to use filezilla, the install wizard, and mysql databases. If followed, you should be able to install the script perfectly. Please excuse the quickness of some parts of awkward editing if seen - I had to dramatically cut the length.

Tequila
03-25-2012, 09:05 AM
Great work! I'm pinning this thread until it's no longer accurate. ;3

AlexC
03-25-2012, 09:12 AM
I just messaged HoF about that - thanks though! :3 I'll have some more tutorials up as soon as I can.

Tequila
03-25-2012, 10:19 AM
I just messaged HoF about that - thanks though! :3 I'll have some more tutorials up as soon as I can.

I was just browsing the site and saw it. So no worries. ;3

superdude44
04-21-2012, 11:28 AM
when i try to install it i get a 404 error saying that it cannot fine /install/index.php (port80)

Hall of Famer
04-21-2012, 11:49 AM
Well this is not a glitch, and I believe you should be able to figure it out as an advanced programmer.

superdude44
04-21-2012, 11:59 AM
I never marked that down. i have no knowledge of php. i know css fairly well and i've gotten down HTML great. but i have no memory of marking it down as an advanced php coder. but i really do need help. i am currently very confused..

SkyWing
03-07-2013, 05:46 AM
Okay, I have one, big, fancy question that might require a whole new tutorial x3

So, I am going to use iPower (Or so I believe-I'm not sure if it will work.)
But this would just get me a domain and get the script up. I don't know/think it will work, though, unless it has it's own template and stuff. DreamWeaver might be my main tool to get the script working.

Thank you for this thread x3

Twinkle And Kessie
06-28-2013, 03:21 AM
When I download the latest script of Mysida Adoptables, I'm missing the config.php file, and I can't get to the installation step, I can barely see the website, until it says 404 not found in the browser.

Eagle9615
06-28-2013, 11:37 AM
@Twinkle and Kessie
The latest version of the script doesn't have a config.php file. To get it you need to rename config_adopts.php to config.php. :happyc:

Twinkle And Kessie
07-13-2013, 05:00 PM
Thank you for letting me know! :usedusedused: I'll try it now.

Hall of Famer
07-14-2013, 02:26 AM
Well yeah you need to rename config_adopts.php to config.php before installing the script. This is to prevent old users from mistakenly overwriting their old script files when upgrading their sites, which applies to Mys v1.3.2 and earlier versions.

NobodysHero
12-25-2013, 03:08 PM
For those of us who took this site's suggestion and are hosting your site through x10hosting, you can install MyBB through their website maker.

I'm creating a post on how to do that, in case it may be useful to some of ya. ^.^

FRivArt
01-23-2014, 03:00 PM
Has the matter of installing via the website installer been done? Because I keep running into a fatal error trying to start from the public_html, but if I don't start from public_html, it fails to find the Smarty folder, assuming it's always in the main, it looks like.

Warning: require(/home/frivartx/public_html/inc/smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/frivartx/public_html/adopts/classes/class_mysidia.php on line 326

Fatal error: require(): Failed opening required '/home/frivartx/public_html/inc/smarty/Smarty.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/frivartx/public_html/adopts/classes/class_mysidia.php on line 326

Hall of Famer
01-23-2014, 03:10 PM
Your config.php is not working properly. It seems to me that you need to have adopts or /adopts as script path, but I assume that field is empty?

FRivArt
01-24-2014, 12:40 PM
Yeah. I finally figured out what I was writing wrong. I have more off days than on days; took me a few weeks to do it right X'3;

Nice to know it'll install right, although for now, I'm just testing different hosts~

Pacchiru
07-18-2014, 08:19 AM
I have a question c: Does this tutorial still work well with the newest script? Or is it recommended to choose another hosting site instead of the ones listed?

Hwona
07-18-2014, 09:24 AM
I think this should work. :3

Pacchiru
07-19-2014, 02:02 AM
For some reason x10hosting won't allow me to make an account because of where I'm from D: Is there another recommended hosting site I can use? The one in the tutorial seems to be unavailable.

Hwona
07-19-2014, 08:47 AM
Umm, I believe Nemesis on here has his own hosting. :3

squiggler
07-19-2014, 02:01 PM
Yup, just check out their forum here: http://99webs.org/
You have to participate to get points, and it's 10 points a month for hosting.

AndromedaKerova
11-07-2014, 04:47 PM
I tried to go to the main page of my site after installing it all which appeared to be done correctly.

I get this error:
Parse error: syntax error, unexpected T_STRING in /home/a6129902/public_html/classes/resource/native/objective.php on line 3

*Edit*
Opened the file and line 3 is this:
namespace Resource\Native;

Do I remove namespace because the lower lines don't have that in front?

*Edit2*
I tried to go to my site's main link (chibifurs.netne.net) and it doesn't load anything. Just takes me to:
http://error404.000webhost.com/?

Hall of Famer
11-07-2014, 06:48 PM
umm what is the version of PHP on your webhost?

AndromedaKerova
11-07-2014, 06:51 PM
PHP version 5.2.*

Not really sure what the star is for but that's what it says.

Hall of Famer
11-08-2014, 03:02 AM
Well the official installation guide states this:


Also make sure your server is running on PHP 5.3.0+ and supports PDO, the latter is especially important.


So PHP 5.2 is not supported by the script, and never will be. You need to find a way to upgrade to PHP 5.3, some webhosts provide ways to choose the PHP versions. Ask 000webhost if this is possible, and if not you may need to switch to other webhosts such as x10hosting.

AndromedaKerova
11-08-2014, 11:23 AM
I decided to use x10hosting but I can't understand how to make FileZilla connect to it.

I created the database and assigned the user but I've tried various usernames, passwords and hosts and nothing lets it connect.

x10hosting has a horrible interface. Its pretty much 3 basic icons. None of the usual stuff I see on other hosts so I don't see how to check the host name or anything. For all I know, I'm putting in the wrong things into FileZilla.

Hall of Famer
11-08-2014, 11:31 AM
Did you try using yoursite.com or ftp.yoursite.com as host? x10hosting's ftp host information is usually very easy to identify and follow. If you still are confused, send me a private message and let me know what information you received from x10hosting. I will try to help you there. ^^

StarTheNightfury
02-16-2015, 11:44 AM
This confuses me soooo much. Can someone help me understand this? :ohnoes:

Um the gemstone hosting won't work, and the other one is glitchy, is there any other web hosting sites that are alike?

Hall of Famer
02-16-2015, 03:27 PM
Actually x10hosting will work you just fine, all you have to do is to change something in your path class file.

Shex
02-25-2015, 11:09 AM
I hope I can ask here:
I accidently set the rights of the inc directory to 777 instead of the config.php, which rights should it normally have? Was it 755?

Plus which config should i change? config_adopts and config_forums?

Hall of Famer
02-25-2015, 11:21 AM
Well it does not matter whether its 777 or 755, but for security reason its better to keep config folder to 755. The file you need to change is config_adopts.php, edit file name to config.php and it should work.

Shex
02-25-2015, 11:43 AM
Thank you! Yeah, now it works :)

AndromedaKerova
04-13-2015, 05:17 PM
I got stuck offline for a long time and my site got deleted.
I redid everything and reinstalled.
It said I had installed everything correctly but when I tried to go to my site, all I get is a weird error.


Warning: require(home/chibifurs.elementfx.com/inc/smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/chibifu2/public_html/classes/class_mysidia.php on line 326

Warning: require(home/chibifurs.elementfx.com/inc/smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/chibifu2/public_html/classes/class_mysidia.php on line 326

Fatal error: require(): Failed opening required 'home/chibifurs.elementfx.com/inc/smarty/Smarty.class.php' (include_path='.:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php') in /home/chibifu2/public_html/classes/class_mysidia.php on line 326

This is what is in my class_mysidia.php for that section:
public function getTemplate(){
$templateClass = "inc/smarty/Smarty.class.php";
require $this->path->getRoot().$templateClass;

$this->template = new Template($this->path);
Registry::set(new String("template"), $this->template, TRUE, TRUE);
return $this->template;
}

Hwona
04-13-2015, 05:55 PM
I got stuck offline for a long time and my site got deleted.
I redid everything and reinstalled.
It said I had installed everything correctly but when I tried to go to my site, all I get is a weird error.


Warning: require(home/chibifurs.elementfx.com/inc/smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/chibifu2/public_html/classes/class_mysidia.php on line 326

Warning: require(home/chibifurs.elementfx.com/inc/smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/chibifu2/public_html/classes/class_mysidia.php on line 326

Fatal error: require(): Failed opening required 'home/chibifurs.elementfx.com/inc/smarty/Smarty.class.php' (include_path='.:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php') in /home/chibifu2/public_html/classes/class_mysidia.php on line 326

This is what is in my class_mysidia.php for that section:
public function getTemplate(){
$templateClass = "inc/smarty/Smarty.class.php";
require $this->path->getRoot().$templateClass;

$this->template = new Template($this->path);
Registry::set(new String("template"), $this->template, TRUE, TRUE);
return $this->template;
}
I actually had this problembefore... it got fixed after I asked the host to turn off error messages or something.

AndromedaKerova
04-13-2015, 06:11 PM
I actually had this problembefore... it got fixed after I asked the host to turn off error messages or something.

Turning my error messages just leads to a blank page.
I tried the various blank page fixes and they do nothing.
Lucky I used to love that show, blankety blank huh coz that's all I get.

Hall of Famer
04-13-2015, 07:59 PM
If you are on x10hosting, keep in mind that you need to modify the root path in class file.

AndromedaKerova
04-13-2015, 08:37 PM
If you are on x10hosting, keep in mind that you need to modify the root path in class file.

Yeah. I modified my root path as per one of the fixes.
$this->root = "home/chibifurs.elementfx.com/public_html/";

AnanoKimi
10-31-2015, 01:36 AM
so I followed all the steps for x10hosting and have a feeling I should be seeing some weird little default site but when I go to my websites domain/address its just blank. Is it supposed to show some default style website that I can edit/overwrite with my own CSS or is that not included and it wont show anything until I add in my own CSS or whatever is needed to make the website work/look good.

Hall of Famer
10-31-2015, 05:27 AM
umm I see, its very strange, some users struggle with x10hosting and it may need a bit of tweak. Alternatively, you can have me hosting your website for you, its free and will be guaranteed to work. The only restriction is that you must be actively developing your site. If you are comfortable with this, send me a PM.

AnanoKimi
10-31-2015, 10:51 AM
Well I'm not very familiar with coding things like mysql or php, I have basic knowledge of html and CSS so I was hoping to host my site somewhere I could play and learn with the script at my leisure. I either learn by absolutely messing up or having someone walk me through every step of the way and answering questions I may have along the way. I figured since the latter is not available, I'd go with the first option and just jump right into it and see how badly I can mess things up before I have to redo everything again :D

So if hosting through you means I have to have something constantly in development then I'd have to kindly decline. I'll toy around with what I've done and see what I can do. Worst thing that can happen is something that isn't running gets deleted. :3

Kyttias
10-31-2015, 10:55 AM
@AnanoKimi - Check out WAMP (here's my guide (http://www.mysidiaadoptables.com/forum/showthread.php?t=4774)) - you can "self host" via your own computer to play with PHP and MySQL. Depending on your Internet Service Provider and the router you have, you can even do port forwarding to share your in-development site with friends. :3

AnanoKimi
10-31-2015, 11:01 AM
@AnanoKimi - Check out WAMP (here's my guide (http://www.mysidiaadoptables.com/forum/showthread.php?t=4774)) - you can "self host" via your own computer to play with PHP and MySQL. Depending on your Internet Service Provider and the router you have, you can even do port forwarding to share your in-development site with friends. :3

It sounds like mincraft self server where you download files and host from your own computer so long as you leave the client running on your end. That was a fun nightmare because neither me and my boyfriend knew entirely how to code in the user permissions since you basically had to do those from scratch with no guideline as to what meant what and did what trhough that client. Fun times.

More downloading and confusion for me it seems :D

EDIT: OOOOOP I'll try this later. I don't feel like hanging up skype just yet :D

xShadow
12-10-2016, 12:50 AM
When I do the /install thing I get 404 not found error. Help?