Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Tutorials and Tips (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=27)
-   -   Installing the MAS (http://www.mysidiaadoptables.com/forum/showthread.php?t=1663)

Lyrastrae 07-29-2013 07:48 PM

Thank you very much Tequila!

Phoeniix 10-28-2013 01:20 AM

hi, im really new to this and i have tried both tutorials with 0 success with is rather frustrating.

Tut 1- Stuck at 10- The FileZilla wont recongnize the Host-User and pass and it wont connect

with Tut 2-
I cant upload the Zip file because it says (Data Error)


i completely stumped. :BIGO:

Hall of Famer 10-28-2013 01:33 AM

Chibi's tutorial is for Mys v1.2.x, search for Gloometh's tutorial for Mys v1.3.x and see if it helps you better.

Phoeniix 10-28-2013 03:30 AM

i did that and no help. i got to after i install the script

antillia.comxa.com/index.php


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

MikiHeart 10-28-2013 06:40 AM

I have the same user as Phoeniix. Fresh install on a paid host.
I even tried redownloading the files and retrying.

I have an idea on what it might be. I'm going to mess around and see if it changes anything.

Edit:

I suspect it may have something to do with php versions. Because I had this issue in the past I believe. What php version does the script need/run on?

I get the follow errors on these php versions.

4.4.9:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/REMOVED/index.php on line 15

5.0.5 - 5.1.6 - 5.2.17 - 5.2.17 with Suhosin patch:

Parse error: parse error, unexpected T_STRING in /home/REMOVED/classes/resource/native/objective.php on line 3

5.3.27 - 5.4.17:

Fatal error: Class 'InputComponent' not found in /home/REMOVED/classes/class_textcomponent.php on line 17

Hall of Famer 10-28-2013 09:50 AM

Well the script requires PHP 5.3 or above(or more precisely, PHP 5.3.9+, but it's easy to get around so long as you use PHP 5.3), it does not work with PHP 4 or PHP 5.2. I wonder why you are getting the class not found error on PHP 5.3.27-5.4.17 though, as far as I know the script runs on these versions of PHP.

MikiHeart 10-28-2013 09:42 PM

I've installed php on my computer and I'm going to start doing some more testing with php versions.

Hall of Famer 10-28-2013 11:19 PM

U are free to do so, but I believe it's clear what versions of PHP is required for this script. PHP 5.3 and 5.4 should be able to run this script without issues, there is no support for PHP 5.2 unfortunately.

MikiHeart 10-28-2013 11:29 PM

I have access to php 5.3 and 5.4. You say it should be able to run, but it's not o-o

I'm not trying to get it to work on php 5.2. I'm trying to get it to work in general.

Hall of Famer 10-28-2013 11:33 PM

Umm this is weird, u said u are running the script on ur own computer? Are u sure u have enabled most PHP extensions? I saw that ur having this class not found error, it may have something to do with the loader class not doing it's job. Do u have spl extensions enabled? Is the spl's autoload_register function working properly?

MikiHeart 10-28-2013 11:47 PM

I've tried both on my computer and on my paid hosting service. The errors I posted were on my hosting service.

Hall of Famer 10-28-2013 11:50 PM

Umm that's so strange, as far as I know the script runs on most webhosts, the class not found error u posted was honestly the very first time I've ever heard of. If u don't mind, please do keep testing the script on ur server and lemme know if u find out why the script ain't working on ur webhost. I'd be curious to find out the cause of this error.

erica65404 12-14-2013 04:13 PM

When i enter my host user and password on filezilla that i got from ooowebhost, it says it can't connect to the server

AlexC 12-14-2013 04:17 PM

Quote:

Originally Posted by erica65404 (Post 28609)
When i enter my host user and password on filezilla that i got from ooowebhost, it says it can't connect to the server

First - you're not using "localhost" as the host, correct?

That web host has a page for their FTP program, I can't remember exactly where on the page. It should have all of your details, double-check that you're entering the correct details.

What is the exact message you're getting when it doesn't connect? Is it saying it can't find the server, there are too many connections...?

erica65404 12-14-2013 04:27 PM

it shows 2 errors. error: connection timed out and error: Could not connet to server.
I followed the deirections. It game me this information:

MySQL database will be created in 1 minute. Use these details for your PHP scripts:

$mysql_host = "host";
$mysql_database = "database";
$mysql_user = "user";
$mysql_password = "password";

I changed the values for this post, but I used the actual values on filezilla. I was also sent an email with account details and file upload details. All of these showed the same error messages.

erica65404 12-14-2013 04:29 PM

the upload details contained FTP hostname, username, and password. That didn't work either.

AlexC 12-14-2013 04:35 PM

Please edit your post instead of double posting.

With the ones you posted, those are your mySQL details, not your FTP details.

MySQL is your database, it resides on your server and is used to store information. You'll need that for installing the script. FTP stands for "Files to Program", if I remember correctly, and is a remote way to access your file manager. Only your FTP details can be put into filezilla.

I'm signing up for 000webhost to see if I can find your details easier.

erica65404 12-14-2013 04:46 PM

Oh thank you so much. Turns out I was using the wrong password... sorry for the inconvenience!

AlexC 12-14-2013 04:53 PM

Alright, that's good to hear! Tell us if you have any more questions~

IntoRain 12-14-2013 05:05 PM

Quote:

Originally Posted by AlexC (Post 28613)
FTP stands for "Files to Program",

It's "File Transfering Protocol". Just like HTTP is "Hypertext Transfer Protocol". Web is all protocol based, so every "TP" is most likely a transfer protocol

AlexC 12-14-2013 06:06 PM

Quote:

Originally Posted by IntoRain (Post 28616)
It's "File Transfering Protocol". Just like HTTP is "Hypertext Transfer Protocol". Web is all protocol based, so every "TP" is most likely a transfer protocol

Ah, that sounds more right. xD I have such trouble with abrivations.

gloryKAT 04-09-2014 08:05 PM

I probably asked this before, but:

I have this error:

Could not connect to database, the following error has occurred:
SQLSTATE[HY000] [1045] Access denied for user 'glorykat'@'localhost' (using password: YES)

How do I solve this?

Kyttias 04-09-2014 09:29 PM

Quote:

Originally Posted by gloryKAT (Post 29619)
I probably asked this before, but:

I have this error:

Could not connect to database, the following error has occurred:
SQLSTATE[HY000] [1045] Access denied for user 'glorykat'@'localhost' (using password: YES)

How do I solve this?

This sort of error can plague any user working with any framework setup that connects to MySQL, because the problem here lies with the username/password you're trying to connect to the database with. I personally can't advise much beyond triple checking your configuration for Mysidia to make sure it is trying to use the correct details, checking your MySQL through PHPMyAdmin to make sure that you can indeed log in with that same username/password combination, and then checking your permissions for that user - to make sure the user has access to all the functions of the database.

After browsing around the web trying to find some help for troubleshooting, all I found was the following vague gems:
  • Sometimes you have to use localhost not 127.0.0.1 for this to work.
  • Is the password in quotes?
  • This might be worth a read since you're on localhost (presumably through WAMP or similar). But it may be rather very irrelevant to this situation.

And whether you attempt this first or last, you can always try creating a new user in PHPMyAdmin, just to make sure you did it properly the first time.

tahbikat 04-09-2014 09:32 PM

Do you get this when logging in? I had the exact same issue. You need to make sure your database info for the site and forums are correct and match.

View this thread to see how to -hopefully- solve this issue: http://www.mysidiaadoptables.com/for...ead.php?t=4396

gloryKAT 04-10-2014 10:15 AM

Thanks :3

I put in the wrong database password, so I couldn't get in.

gloryKAT 04-10-2014 05:06 PM

another problem:


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

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

Kyttias 04-10-2014 05:58 PM

Quote:

Originally Posted by gloryKAT (Post 29625)
another problem:


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

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

What's the directory path in your config file look like?

gloryKAT 04-10-2014 05:59 PM

directory path?

how do i figure that out XD

all that's in there is this:

<?php
//Mysidia Adoptables Site Configuration File

define('DBHOST', 'localhost'); //DB Hostname
define('DBUSER', 'foxmerev_gloryka'); //DB Username
define('DBPASS', '***********'); //DB Password
define('DBNAME', 'foxmerev_main'); //Your database name
define('DOMAIN', 'foxmerevale.x10.mx'); //Your domain name (No http, www or . )
define('SCRIPTPATH', ''); //The folder you installed this script in
define('PREFIX', 'adopts_prefix');
?>

went into classes and found this:

}

/**
* The getTemplate method, will be added later once smarty or another template engine such as Twig is implemented.
* @access public
* @return Template
*/
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;
}

which appears to be part of my problem because it cant call upon smarty (it's not there)

okay i edited smarty and now this occurs:

Warning: require(/home/foxmerev/public_html/lang/lang_global.php): failed to open stream: No such file or directory in /home/foxmerev/public_html/classes/class_language.php on line 78

Fatal error: require(): Failed opening required '/home/foxmerev/public_html/lang/lang_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/foxmerev/public_html/classes/class_language.php on line 78

gloryKAT 04-10-2014 07:03 PM

nevermind ^-^ i managed to fix it.

mattinc 05-14-2014 08:38 PM

Fatal Error
 
I have a fatal error when clicking the - "You will need to log in to your installation of Mysidia Adoptables before you can access the ADMINCP.

This is what I get when I click Log In:

Fatal error: Class 'AppController' not found in /home/a3397944/public_html/login.php on line 3

Everything has been installed .. I'm confused. Help.

.matt

krazykat1980 05-17-2014 12:52 AM

@mattinc

What is the url to your site?

Is it like mysite.com or is it like mysite.com/pets?

If it's like the second example then your problem is the 'script path' in config.php.... in that situation the 'script path' would be the part after the .com (in the example I show, script path would be '/pets')

svmajesie 07-20-2014 09:12 PM

Original issue I posted about appears to be fixed, I can log into my account but I am not able to get into the admin control panel. Also, the site doesn't load right and I think it's the result of being on a subdomain. If anyone has any settings suggestions for subdomain installation, I would really appreciate it!

my site is: messengers.godspack.com

EDIT: After messing around with things, now I can't log in. Buh. I use Godaddy for my hosting, everything is technically in the godspack.com/messengers folder because it's a subdomain. Can't seem to get anything to work!


EDIT2: Have tried changing the config.php file to this:

<?php
//Mysidia Adoptables Site Configuration File

define('DBHOST', 'messengersadopt.db.12382978.hostedresource.com'); //DB Hostname
define('DBUSER', 'messengersadopt'); //DB Username
define('DBPASS', '******'); //DB Password
define('DBNAME', 'messengersadopt'); //Your database name
define('DOMAIN', 'godspack.com'); //Your domain name (No http, www or . )
define('SCRIPTPATH', '/messengers'); //The folder you installed this script in
define('PREFIX', 'adopts_');
?>

Now the site LOOKS correct when you go to godspack.com/messengers but if you attempt to log in, it just takes you to a 404 page. In fact, all links don't function correctly. BUH.

Missy Master 07-24-2014 09:29 AM

I'm on subdomains and it works great, but only after I worked with the .htaccess file.

Did you try the fix I had added to your other post? Let us know :)

svmajesie 07-24-2014 12:01 PM

Quote:

Originally Posted by Annatar (Post 30811)
I'm on subdomains and it works great, but only after I worked with the .htaccess file.

Did you try the fix I had added to your other post? Let us know :)

At the moment, I got frustrated and just bought a second domain and did it that way. If Mysidia doesn't work out as an overall option, I got a programmer friend interested in helping with the project. Thank you!

ilrak 08-27-2014 10:34 PM

Hi! I'm brand new and am trying to get this site up and running, but I'm running into some issues. Hopefully this is the right place to ask! I used this tutorial to install MAS onto my site, hosted by x10. I got all the way to this page:

http://i134.photobucket.com/albums/q...7at91609PM.png

And then when I click on Log in, it takes me to a blank page. The other links take me to a page not found. I'm not sure what I did wrong, but hopefully someone can help me!

Thanks!

IntoRain 08-27-2014 10:54 PM

thepond.x10.mxmys

If you are using x10hosting, it should be thepond.x10.mx without "mys" at the end, I think

ilrak 08-27-2014 11:05 PM

Thanks. I went back and reinstalled so that the site name is http://www.thepond.x10.mx. I'm still getting a completely blank page when I try to log in though. :/ I'm so new to coding, I probably really messed up lol.

Derpstra 09-05-2014 11:44 AM

Is anybody else getting a blank page on a fresh install? Because I am. I have tried everything to correct it and I cannot find a solution.

Hall of Famer 09-05-2014 12:44 PM

I think x10hosting changed some settings that made this script malfunction on their servers. It used to happen before, when users were reporting issues with PDO class/object not found. Its strange though, as I was trying to fix ilrak's site but couldnt do it somehow. I will see what solution I can find for this issue.

Derpstra 09-10-2014 06:12 AM

Do you think you will have a solution soon, or would it be better to just switch webhosts at this point? I've been pretty faithful to X10hosting.


All times are GMT -5. The time now is 02:59 AM.

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