Mysidia Adoptables v1.3.6 Beta is ready

Forum
Last Post
Threads / Messages
Well today I have a good news for all of you. The Beta version of Mys v1.3.6 is ready, and it comes with these new updates:

1. Full Fledged MVC architecture with proper data models
2. PHP 7/8 and MySQL 8 compatibility
3. Custom Smarty Templates
4. New Password Hashing using BCrypt
5. Miscellaneous QoL Updates

As you see, Mys v1.3.6 does not introduce new features, and all the updates are effectively QoL updates or bug fixes. The new version is compatible with PHP 7/8, it currently runs smoothly on my PHP 7.4 server. The minimum PHP version has also been bumped up to PHP 5.4, so you wont be able to use Mysidia v1.3.6 if you are stuck on PHP 5.3 server. Once the official release is ready, new accounts on MysidiaHost will be using PHP 7.4 by default.

You may download the Beta version of Mys v1.3.6 from this link below:


Note: This is not the stable release which will come out in about 2 weeks. It is for users who wish to experiment with new features in Mys v1.3.6, as well as testing it for bugs and other issues that will be fixed in the official release. It currently does not have an upgrader from Mys v1.3.5, nor do I guarantee that the MyBB integration is working yet. I will also release an RC version in about 7-10 days, which should be the one last step before the stable release at the end of August. Stay tuned.

Comments

So far it's looking good, no E notices all over the place, I'm loving it!
You are welcome. I've decided to modernize the script and I am using the Netbeans IDE which catches all unused or uninitialized variables, thus the notice errors go away. It should be compatible with PHP 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 and 8.0, while I somehow managed to make it compatible with MySQL 5.6, 5.7 and 8.0 as well.
 
Last edited:
I have a placeholder species in place and adopted 10 eggs, setting their growth time very low. I have alternates for it too to see if alternates work. I'll let you know if I run into any errors or snags. I'll also try to breed them for the same reason. This way you have an extra pair of eyes helping out. So far this is running perfectly on my WAMP server which is updated to the most recent version.
 
I have a placeholder species in place and adopted 10 eggs, setting their growth time very low. I have alternates for it too to see if alternates work. I'll let you know if I run into any errors or snags. I'll also try to breed them for the same reason. This way you have an extra pair of eyes helping out. So far this is running perfectly on my WAMP server which is updated to the most recent version.
Thats great, thanks a lot. I wont be able to test all the cases for alternate forms and breeding due to the limited sets of adoptables species/sprites I have on the demo site, this will be very helpful from you.
 
Look amazing!! I will let you know if I encounter any bugs playing around with the code. I can't wait for the stable release in a couple weeks!
 
Just installed on XAMPP with PHP8. Fatal error is thrown on the register page:

Fatal error: Declaration of Resource\GUI\Container\RadioList::add(Resource\GUI\Component\RadioButton $radio, $index = -1) must be compatible with Resource\GUI\Container::add(Resource\GUI\Component $component, $index = -1) in C:\xampp\htdocs\resource\gui\container\radiolist.php on line 47
 
On /messages/newpm page:

Fatal error: Uncaught Error: Call to a member function getUsername() on null in C:\xampp\htdocs\view\main\messagesview.php:89 Stack trace: #0 C:\xampp\htdocs\resource\core\frontcontroller.php(120): View\Main\MessagesView->newpm() #1 C:\xampp\htdocs\index.php(78): Resource\Core\FrontController->render() #2 C:\xampp\htdocs\index.php(84): IndexController->run() #3 C:\xampp\htdocs\index.php(88): IndexController::main() #4 {main} thrown in C:\xampp\htdocs\view\main\messagesview.php on line 89

^^^Occurs when clicking the "send a new PM" link. Clicking the "click here to send a new message" at the bottom is the wrong link (sends you to /newpm instead of /messages/newpm).

If sending a PM to an already specified user, the newpm page works fine. For instance, localhost/messages/newpm/1 works fine, but localhost/messages/newpm/ throws a fatal error.

These are the only errors I've found so far.
 
One last comment I apologize for all the messages haha. The RadioList error happens again on any page using the RadioList class it seems, not sure if it happens on PHP7 but I've been getting it with PHP8. I got it again on /account/profile:

Fatal error: Declaration of Resource\GUI\Container\RadioList::add(Resource\GUI\Component\RadioButton $radio, $index = -1) must be compatible with Resource\GUI\Container::add(Resource\GUI\Component $component, $index = -1) in C:\xampp\htdocs\resource\gui\container\radiolist.php on line 47
 
That makes sense thank you, it works fine now!

I also fixed the new PM fatal error. In /view/main/messagesview.php, I added the following line above line 89:
$username = ($recipient !== NULL) ? $recipient->getUsername() : "";

And changed line 89 to the following:
$pmForm->add(new TextField("recipient", $username, 50));
 
That makes sense thank you, it works fine now!

I also fixed the new PM fatal error. In /view/main/messagesview.php, I added the following line above line 89:
$username = ($recipient !== NULL) ? $recipient->getUsername() : "";

And changed line 89 to the following:
$pmForm->add(new TextField("recipient", $username, 50));

Yeah I fixed the messageview too, glad the radiolist is working for you now. I also realized that the siggy aint working, took me a while to figure out what went wrong and its also fixed for the RC release.
 
  • Forum Contains New Posts
  • Forum Contains No New Posts

Blog entry information

Author
Hall of Famer
Views
2,012
Comments
11
Last update

More entries in Mysidia

More entries from Hall of Famer

Forum statistics

Threads
4,295
Messages
33,186
Members
1,606
Latest member
kandriamage
BETA

Latest Threads

Latest Posts

Top