Mysidia Adoptables v1.3.4[Security Release]

Last Post
Threads / Messages
Not open for further replies.

Hall of Famer

Staff member
Dec 15, 2008
United States
Mysidian Dollar
It's been a while since Mys v1.3.3 was released, and Mys v1.3.4 is finally ready to release. It is a significant improvement over Mys v1.3.3, and every user is encouraged to upgrade unless you have a heavily customized site. Mys v1.3.4 introduces the following new features:

1. Improved Object Oriented Architecture: Since the very beginning of Mys v1.3.0, the script has been moving towards the direction of OOP. Mys v1.3.4 takes another lead at separating controller and view from each other. From now on you will see both controller files from root directory and view files from view directory. This separation of concern will make programming flow more elegant and easy to follow. The introduction of PHP Collections Framework(PCF) also enforces good OOP practice.

2. Trade System Overhaul: Lately I wrote three blogposts about the new trade system, which is a lot more advanced than the old one. Admins now have full control of trades proposed on their sites. It's possible to trade multiple adopts/items, make public/partial trade offers, or even have staff members moderate trades. Of course, you can always set a list of restrictions for trade proposals so that it will not be abused.

3. Improved Theme/CSS Editor: This is a new feature I've already completed back in May 2013. The new theme editor allows admins to create header and body template files through ACP, as well as the css file for each theme. You will still need to manually upload image files such as banners and icons though. It is also possible to create additional CSS and Javascript for specific pages, the CSS editor does the trick for you.

4. Customizable Widget System: After Mys v1.3.3 introduced the basic site module system for sidebars, Mys v1.3.4 takes another leap for a complete customizable Widget System. You can now create modules for more than just sidebars, while you can even add your own widgets(such as a possible right-sidebar or your own navtabs/menu) to the site. With this, the script is starting to look more and more like a CMS for admins.

5. Enhanced Adopt-Level Control: One complaint about the old scripts is that managing adopt levels is difficult and tedious. In Mys v1.3.4, however, you can create multiple levels for each adoptable at the same time. You can also fully edit or even delete adopt levels at ease. The level settings, on the other hand, enables admins to control the behavior of the levelup.php page conveniently. You may specify adopt leveling pattern for quick population of levels for each newly created adoptables, its just this simple.

6. Miscellaneous Glitches Fixes: Mys v1.3.3 has a good number of bugs that require attention. In Mys v1.3.4, the following glitches are no longer present: (1) Profile Tabs incompatible with Dropdown Menu; (2) Cannot delete adoptables through ACP; (3) Adoption Center shows Fatal Error without available Petds; (4) Users can donate to themselves to earn money; (5) Baby Adopts with parents cannot breed; (6) Certain Item Functions not working properly.

Installation Guide:
1. Use ftp to Upload the entire folder Mysidia Adoptables v1.3.4 to your preferred directory, and change the name to whatever you like.
2. Change the CMD of folder "picuploads" to 777, together with its subfolders, this is required to enable user uploading images. Also change the CMD of the subfolders "cache", "compile" and "config" in your template folder to 777.
3. Rename the file config_adopts to config.php, otherwise the script will tell you config.php does not exist.
4. Access the installer script at "", follow the instructions and proceed.
5. Congrats, you've successfully installed Mys v1.3.4, cheers!

Note: The value pepper code can be generated from a website called:, it can be of any length and may contain symbols.Make sure to delete the file install/index.php after running this script, or your site is potentially at danger if this file is accessed by someone else. Also make sure your server is running on PHP 5.3.0+ and supports PDO, the latter is especially important.

Upgrade Guide:
An upgrader from mys v1.3.3 is available, and should be easy to use. To upgrade, simply upload all script files to your folder and overwrite the existing ones. The config file is named config_adopts.php by default, so your old config file should be safe. Now run the upgrade.php script to complete this task, shouldnt take more than 10 secs.

Do not use the upgrader if you have a site with heavily modified script! Mys v1.3.4 also has many significant changes over Mys v1.3.3, I am not sure if old addons/plugins will work but conversion should not be difficult no matter what. What can be sure is that the upgrader will not do its job if your script is highly customized, in this case you need to upgrade manually.

Forum Integration Guide:

First of all, make sure you have both fresh installation of Mysidia Adoptables and MyBB forum. Open the file /inc/config_forums.php, enter each empty field for the database info of your MyBB forum. Then Change the variable mybbenabled from 0 to 1. The very last step is to disable registration on the forum. It is all said and done, new users will have accounts created from both the adoptables site and the forum from now on. In Mys v1.3.4 they also log into site and forum accounts simultaneously! The forum stats is automatically updated whenever a new registration is completed, so there is no need for admins to update forum stats in ACP from now on. Note the forum integration has been upgraded and thus it should work with the latest version of MyBB. Lemme know immediately if it does not, I will take action asap.

Download Links(both .rar and .zip are provided):

4Shared Links:

Rar version:

Zip Version:

With Mys v1.3.4's release, it is about time to call Mys v1.3.x series end of life. This means that from now on the development team will be focusing on the next major version, Mys v1.4.0, which will be drastically different from Mys v1.3.x. Mys v1.3.x demonstrates a step by step process to convert a purely procedural script to OO script, it definitely isnt easy, which is part of the reasons why development has not been as fast as the old days. Nonetheless, all the efforts we've spent in the past few months have proved to be fruitful. The script is ready to move on the next big stage, and I promise a completely different picture from what you've already seen in the old Mys script. There will be no further development for Mys v1.3.x series. Still, within the 3-5 days after Mys v1.3.4's release I will be fixing glitches un-detected from my beta site, its possible a patched version will be available if the bugs are fatal.

Mys v1.4.0 will come with a full-fledged MVC architecture, it is projected to be highly object oriented. The new script will introduce several big new features such as Stats, ClanGroup, Multi-Alternate Images and ACP Overhaul, while other minor new features are still open for members to suggest/request. Please follow my blogposts if you are interested in these new stuff. You may also wish to reply to the Mys v1.4.0 features suggestions thread if you have a specific request to make. Since not all new features have been pre-determined for Mys v1.4.0 at this moment, anything is possible.

Have a great week everyone, I hope you enjoy the latest work from Mysidia Adoptables Dev Team.

Hall of Famer
August 26, 2013
This is amazing! The new trade system looks really, really nice, can't wait to use it on my site! ;v; The new organization of the code is even more awesome, it makes it a ton easier to edit things quickly. Thank you so much for all your hard work on this script, with each new security release it becomes even more amazing!

Although just one thing - I'm not sure the script works with php 5.3 anymore. ^^' I installed it with version 5.3.27, and a fatal error was returned when trying to view the site. Upon changing my php version to 5.4, the site went back to working just fine. c:
Last edited:
Thanks for your comment pachooroosh, I also appreciate your contribution for the updated MyBB integration. ^^

Oh are you sure? What was the error message about? I will have to fix it if its the case, as most webhosts do not offer PHP 5.4. The script is in no position to require PHP 5.4 compatibility until at least another 2 major releases.(till Mys v1.6.0 I think)
No problem! Glad I could help out. :D
This was the error message I received with PHP 5.3 running:

PHP Fatal error:  Uncaught exception 'Exception' with message 'Fatal Error: Class IView either does not exist, or has its include path misconfigured!' in /classes/class_loader.php:83
Stack trace:
#0 [internal function]: Loader->load('IView')
#1 /classes/class_controller.php(135): spl_autoload_call('IView')
#2 /classes/class_frontcontroller.php(72): Controller->loadView(Object(Resource\Native\String))
#3 /index.php(73): FrontController->getView()
#4 /index.php(78): IndexController::main()
#5 {main}
  thrown in /classes/class_loader.php on line 83
No problem! Glad I could help out. :D
This was the error message I received with PHP 5.3 running:

PHP Fatal error:  Uncaught exception 'Exception' with message 'Fatal Error: Class IView either does not exist, or has its include path misconfigured!' in /classes/class_loader.php:83
Stack trace:
#0 [internal function]: Loader->load('IView')
#1 /classes/class_controller.php(135): spl_autoload_call('IView')
#2 /classes/class_frontcontroller.php(72): Controller->loadView(Object(Resource\Native\String))
#3 /index.php(73): FrontController->getView()
#4 /index.php(78): IndexController::main()
#5 {main}
  thrown in /classes/class_loader.php on line 83

Strange, this does not seem to have anything to do against PHP 5.3 compatibility. There is no such class called IView anyway, wonder why your class loader is glitching. Do you still get this error if you switch back to PHP 5.3 right now? I'll have to wait till another member tries it again and reproduces this bug, and I will take further action if the glitch is confirmed.
Yep, I just tried reverting my php version and recieved the error again. ^^' Hmm, I wonder why it's doing that then. I checked through the code and couldn't find any reference to the nonexistant IView class besides in the error itself. :eek:
I see, so at least you are able to reproduce the error, weird. I hope other users give it a shot and see if they get the same thing, right now i really have no idea why you are getting this IView class not found error while the correct class name is View. The script until Mys v1.5.x is supposed to be compatible with PHP 5.3, so it can be considered a glitch if it does not work on PHP 5.3.27.
Just installed 1.3.4, the installation went smoothly but, for some reason, when I tried to visit my site I got a server error?

I was testing the script on my Ferrepets domain, and before (while I was running 1.3.3) it was working just fine. The server error only occurred after I installed 1.3.4...any ideas as to what would cause the server error?
A 500 server error? Umm this is getting ever complicated. If the two of you don't mind, shoot me a private message with your FTP info and I'd like to actually run a few tests on your sites/server to figure out why the errors occur. Everything appears to be working for me though, strange.
Abronsyth;; That happened to my site too; Did you check your error logs? If so, was it the same error? ^^

HoF;; Sent you a pm! c:

Maybe one of the functions you're using isn't supported by 5.3? The only thing I can think of is that some part of the code might be using a feature only php 5.4+ offers. ^^'
Your site is fixed, looks something is malfunctioning in the String class, but it has something to do with a PHP MultiByte String extension that I do not actually use. Removing dependency on this extension resolves everything. XD

For some reason you are missing .htaccess file from the adoptables directory. I tried to upload it but the ftp server wont allow me to, no idea why this happens. I even attempted to upload another file and rename to .htaccess, and surprisingly the file disappears. You will have to ask Nemesis for help, it is clearly a server configuration problem, nothing to do with the script itself. Sorry I cant be of more help.

Edit: I reuploaded the files for Mys v1.3.4 and the download links are updated. Hopefully this time it will work for everyone.
The .htaccess file is in there, but for some reason it's not showing up. I know because I went through and was sure to put it in myself after the 500 error occurred.

I just double checked and, as you can see here, the .htaccess file is in there.

I'll try reuploading and see if that works.
Does this mean the issue with people being able to adopt more than the set amount of adoptables is still present? o__o;
It isn't listed under bug fixes so I'm not sure.
Yay! I really want to update, but I'm kind of worried that it might break my site. :L
I tried installing the reuploaded files, but I'm still getting the 500 error. Not sure why this is happening :/
I tried installing the reuploaded files, but I'm still getting the 500 error. Not sure why this is happening :/

The .htaccess file is still missing? Looks like this is the cause of problems. I remember helping people running in Nemesis' hosting service before, and they didn't seem to have such issues. It's truly weird.

Another possibility is that the ownership of the files uploaded to your server is inconsistent. It rarely happens, but you may want to consider this too. If possible, shoot Nemesis an email asking him to enable all error reporting options, or even show you the logs for apache server.
Err, well when I check I can still see the .htaccess file, so it is present...this is just very odd. It doesn't work on my other host ( either. I contact Nemesis to see if it's just something I'm doing wrong while installing.
I see, thats so unfortunate. I will try to help out as much as I can, but a 500 server error is really difficult to debug since it does not tell you what's going wrong. For some webhosts the error log with apache server may give a hint, or at least hopefully. I do know that missing .htaccess file is one primary cause of 500 server error, or perhaps the file is present but the script/server is unable to load it? It's kinda strange, but from what I see through FTP your server does seem to have some problem with .htaccess and url-rewrite.
It's just very odd because I'm attempting this on two different hosts, and I seem to be getting the same errors on each. Nemesis said he'd give it a go to see if he can install it to get it working. I might try another host to see if it'd work. Don't know why it's being so difficult.
Not open for further replies.

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Latest member

Latest Threads

Latest Posts