Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Mysidia Adoptables Official Announcement (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=2)
-   -   Mysidia Adoptables v1.3.3[Security Release] (http://www.mysidiaadoptables.com/forum/showthread.php?t=4057)

Hall of Famer 03-28-2013 03:21 PM

I see, there are two possible solutions to this problem. First of all, you can edit the script in class_sidebar.php, go to the method 'public function getSidebar()' and edit whatever you want inside. On the other hand, you can disable the default sidebar in ACP, and create a new module with html or php code specified.

GuardiansWish 03-28-2013 05:58 PM

Okay I'm not seeing public function getSidebar()

I'm getting things like public function setModule($module) and public function getMoneyBar() but no public function getSidebar()

Hall of Famer 03-28-2013 06:33 PM

Oh sorry, its getLinksBar(). XD

GuardiansWish 03-28-2013 07:03 PM

Okay, I see that now, but I don't know where to input the image.

AlexC 03-28-2013 08:50 PM

Hey HoF, I'm getting a funny error with my forum link... I have it in the sidebar, pointing to /forum, which is where the script is located, but I keep getting directed back to what I believe is the homepage? The address bar still says the proper url, but I'm not seeing my forum. I also tried /forum/index.php with the same result, and I edited the template to point to "http://rattiesftw.com/forum/" and "http://rattiesftw.com/forum/index.php" with no result either.

I believe somewhere you mentioned that the new url format automatically formatted links to match the new standard - is it possible that is the problem here?

Hall of Famer 03-28-2013 09:01 PM

Well your forum needs to have its own .htaccess file, if you are running mybb forum you should have one but it may be in .txt format. If you are running other forums, you will have to find a way to get a custom .htaccess file that works.

GuardiansWish 03-28-2013 09:18 PM

Quote:

Originally Posted by GuardiansWish (Post 26550)
Okay, I see that now, but I don't know where to input the image.

Don't know if you saw this or not ^^

AlexC 03-29-2013 07:57 AM

That seems to have done the trick, thank you very much!

Hall of Famer 03-30-2013 11:46 PM

Quote:

Originally Posted by GuardiansWish (Post 26554)
Don't know if you saw this or not ^^

Well this thread is supposed to be newbie Q/As. If you get further requests on advanced questions on how to improve your site, it's better to start another thread.

bobbybig 04-04-2013 12:36 AM

I did a fresh install new files and database followed the install/index.php all the way through the steps and got to the "view your website" link. When I click on the link I get a 500 error on the site. It shows in the url that I am on the url link for the index of the site, but all it does is stack up on the error_log file.

The single error is

[03-Apr-2013 22:38:14] PHP Fatal error: Call to undefined method File::getExtension() in /home4/lazygam2/public_html/steambots/classes/class_file.php on line 51

I have checked the class_file.php and followed it to line 51. This tells me that there is some problem in the file defines for the site, but the site is on a sub domain so I can not install it in a file location other than in the main sub domain location, but it doesn't want to except the file location unless it is defined or something like that.

I have followed the development of this script since its 1.0.1 version, and have always enjoyed this script. I wanted to update the use of the smarty template plugin myself but seeing as this is the direction this development was going I put it off. Now I can't even use the script and I don't know what to do about it.

Here is the url to the site

http://steambots.lazygamerz.com/index.php

link to the error log

http://steambots.lazygamerz.com/error_log

I hope there is something that can be done to fix this problem.

Hall of Famer 04-04-2013 10:38 AM

It seems to me that your server does not have SPL library enabled, or that your server is not running PHP 5.3.x. The SplFileInfo class has a method getExtension which is inherited in Mysidia's file class, this method is only available on servers running PHP 5.3.6 or above.

If your server is running PHP version between 5.3.0 to 5.3.6, I can try to get it to work for you with some minor edits. However, if it is PHP 5.2.x you will have to upgrade your PHP or change hosting service.

bobbybig 04-04-2013 01:01 PM

will get back to you on pho on hosting ASAP. I know this is minor hiccup kind of thing.

Quote:

Originally Posted by Hall of Famer (Post 26628)
It seems to me that your server does not have SPL library enabled, or that your server is not running PHP 5.3.x. The SplFileInfo class has a method getExtension which is inherited in Mysidia's file class, this method is only available on servers running PHP 5.3.6 or above.

If your server is running PHP version between 5.3.0 to 5.3.6, I can try to get it to work for you with some minor edits. However, if it is PHP 5.2.x you will have to upgrade your PHP or change hosting service.

Thank you after reviewing your comment and checking server settings I have changed the hosting php to 5.4 php and was able to get the code installed error free. I am thrilled to see this project moving to object orientation and smarty plug-in use I am excited to see what great things can be done with wanted areas of interest now. The sky is no where near the limits for this now :) keep up the great work.

Hall of Famer 04-04-2013 01:44 PM

You are very welcome, you do not need PHP 5.4 to run the script though, as I believe PHP 5.3+ should be good enough. I've had people running into problems 'cause they were using PHP 5.2, cant help much when this happens lol.

And best luck with your adoptables site.

AlexC 04-05-2013 08:20 AM

I seem to be having issues with the breeding script... I have adoptables that are level 1, (required level 1), male and female, but for whatever reason, they aren't showing up in the breeding center....

(god, what is it with me and glitches)

Hall of Famer 04-05-2013 08:32 AM

Well change the default value for field 'lastbred' in table prefix.owned_adoptables to 0 rather than NULL. I remember in older MySQL version a NULL value is automatically converted into 0 for integer fields, it does not seem to be doing this anymore.

If you dont know how to do this, I will post another solution that requires modification of the breeding script. It wont be hard, but still more tedious than just altering default value in phpmyadmin.

AlexC 04-05-2013 08:44 AM

I can totally do that, thank you!

Hall of Famer 04-05-2013 08:57 AM

No worries, I guess I should take users hosting packages into account in future releases.XD Still I wont revert back to PHP 5.2 support, but anything other than that is achievable. ^^

pachoofoosh 04-23-2013 05:50 PM

This is awesome! <3 I've installed it on my site, and so far have had no issues whatsoever.
This script is amazing and incredibly helpful to those wanting to make their own adoptable sites but lack the coding knowledge. Thank you so much for all your effort, support, and care put into this script; it does not go unappreciated. :D

Tequila 04-30-2013 09:49 PM

Do we still have the changes to be made for forum integration for phpBB or not? I don't want to fight with MyBB (it doesn't like me much... *shrugs*)

Hall of Famer 05-01-2013 05:54 AM

Well MyBB forum integration is the officially support bridge, sure in theory every forumware can work with this script. Perhaps someone made an unofficial bridge for PHPBB?

Tequila 05-01-2013 07:22 AM

I'll have to go digging then...

Hall of Famer 05-01-2013 07:25 AM

Yeah sounds that way to me. Perhaps I will design a generic forum integrator for Mys v1.4.0, depending on the workload. ^^

Tequila 05-01-2013 09:11 AM

Sounds good to me!

Quick question, can I turn off the mod_rewrite? It keeps trying to ignore the board?
(I ran a quick test, it redirected the forum to the main page...)

Hall of Famer 05-01-2013 09:30 AM

Well you just have to add a standard .htaccess file(which can come from the older script or the install folder) to the forum directory, and problem resolved. If you remove mod_rewrite, the adoptables script will stop working completely.

Tequila 05-01-2013 09:39 AM

Ok. Will do that. ;3

SilverDragonTears 05-07-2013 05:03 PM

I'm having issues with white pages. I don't have .php on the end?

I can't find the htaccess file in any of the upload folders.

Hall of Famer 05-07-2013 11:03 PM

White page usually means that there is a syntax error, did you edit the file?

SilverDragonTears 05-07-2013 11:20 PM

No but I figured it out. When I click on people's profiles I get : "Invalid Action Specified

You specified an invalid action that cannot be completed. "

SilverDragonTears 05-07-2013 11:31 PM

I figured that out... but why can't you view your own profile? Also breeding link takes me to the index page. Or at least says what the index page says.

I also can't get to my shop items when I click to enter a shop.

Arrrrrg. /inventory/uses when I click on an adopt to use an item on it goes to a white page.

Hall of Famer 05-08-2013 01:18 AM

I see. Dont think you cant view your own profile, no one has ever reported a glitch like this before, it clearly isnt a bug.

And did you try to upgrade the script? If so, I doubt it will work out for you easily, there will be significant amount of modification for you to do.

SilverDragonTears 05-08-2013 01:29 AM

No I installed this on a new domain. I haven't modified any part of it.

Hall of Famer 05-08-2013 03:33 AM

Thats weird, shouldnt have happened... Did you check the error log, there really is nothing on it? One possible way is to include the file in index.php and the syntax error message will show up. Thats how I test it on other users site if they give me ftp.

SilverDragonTears 05-08-2013 11:42 AM

I don't know where the error log is. And I don't know how to test it either.

Hall of Famer 05-09-2013 07:35 AM

I see, would you mind giving me ftp access so I can further evaluate whats going on there? A white page usually means a syntax error, but it's difficult to tell what it is now.

SilverDragonTears 05-09-2013 02:40 PM

Thanks HoF :) I reinstalled it and it's all magically working now. Weird how that works huh?

SilverDragonTears 05-10-2013 10:15 PM

So what happens if your offspring don't make it?

KaceKuma 05-15-2013 07:28 PM

I uploaded the script and followed the directions given. However my site keeps giving me internal server errors. I can't get to anything. I know I entered the database information correctly as when I access it all the tables were generated. What am I doing wrong? :/
My site is kerochee.com and here is a pic of the database showing that the tables are all there: http://i43.tinypic.com/333vivc.jpg
Help?:coloness:

Tequila 05-15-2013 07:55 PM

Could you post your config file? Black out your password though!

KaceKuma 05-15-2013 08:08 PM

http://i40.tinypic.com/a3fs77.png

Tequila 05-15-2013 08:40 PM

Hm...

Strange. Have you tried to reinstall it?


All times are GMT -5. The time now is 10:48 PM.

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