Mysidia Adoptables v1.3.3[Security Release]

Forum
Last Post
Threads / Messages
Status
Not open for further replies.
http://www.bellesombres.com is my site and http://www.bellesombres.com/levelup/daycare is what the default link is for the daycare.

The only bits I've changed were in the footer, and the theme.

Did you and Famer ever get this figured out?

I noticed the levelop/daycare also, and it only shows
"this is the index page
This is a sample article. All of this text you can change in the script admin control panel."

Also clicking logout shows "/login/logout" and it also only shows
"this is the index page
This is a sample article. All of this text you can change in the script admin control panel."
instead of logging out.
 
Yes, I've sorted out the problem on Iris' site. The fact is that the URL Router aint working properly for sites with empty script path. It appears to be a mistake on my side, as the function str_replace() is mistakenly replacing every instance of forward slash '/ ' with blank space. On my demo site I have a script path concatenated to a forward slash, so it is not an issue. For this reason I have yet to be able to detect this glitch until Iris told me about it.

To resolve this, download the class_router.php file in this attachment and upload it to your server's directory /classes and replaces the old class_router.php. This should fix your problem. I've also updated the download links so new users do not have to go through this. I am terribly sorry for all these, I should've known that whats working out for me may not be working for other users. Perhaps it is a good idea to release a beta version of the script before the supposed stable release starting from Mys v1.4.0...
 

Attachments

  • class_router.php
    5.8 KB · Views: 30
Ah, ok thanks it works now :) Now to modify this script to do what I want it to do...xD

Edit: How would I make it so the registration page shows a disabled message? With v1.3.2 I just commented most of the pages script out then added an addcontent with the message I wanted.
 
Last edited:
Eep, found another URL problem...when trying to go from any /levelup/ page to a different page it does something funky and gives me this url:
http://bellesombres.com/levelup/click/adopt

I was trying to go to the adopt page after I clicked my adoptable. Also, when I adopt a pet and try to feed it, it goes to this url:
http://bellesombres.com/levelup/2

Instead of http://bellesombres.com/levelup/click/2

EDIT:
Okay, this just happens on the links I added manually to my side bar by creating a new module...

And now, for some odd reason, I get this error when trying to go to the /adopt page...even though it was working a few moments ago.
Fatal error: Call to a member function count() on a non-object in /home/bellesom/public_html/classes/abstract/abstract_guicontainer.php on line 392
 
Last edited:
Looks to me that you added a module that does not work. Can you posted the code you used in the module? That may be the problem.
 
I just used the html portion:
Code:
<strong>Navigate</strong>
<ul>
<li><a href=index>Home</a></li>
<li><a href=forum>Forum</a></li></ul>
<strong>Adopts</strong>
<ul>
<li><a href=adopt>Adopt</a></li>
<li><a href=pound>Pound</a></li>
<li><a href=shop>Market</a></li>
<li><a href=promo>Promo</a></li>
<li><a href=breeding>Breeding</a></li></ul>
<strong>Explore</strong>
<ul>
<li><a href=trade>Trade</a></li>
<li><a href=levelup/daycare>Clickery</a></li>
<li><a href=stats>Stats</a></li>
<li><a href=search>Search</a></li></ul>
<strong>Community</strong>
<ul>
<li><a href=shoutbox>Shout</a></li>
<li><a href=profile>Members</a></li>
<li><a href=tos>Terms</a></li></ul> </ul>

Any ideas..? For the url problem or the /adopt page problem?
 
Well there is a problem using html when it involves url, especially when you are using relative url. Try adding a slash at the beginning of your url so that it becomes absolute url, this will probably solve your issue. Note that the relative url begins at the last forward slash found on your current location.
 
Mmkay, I'll try that out shortly...

...anyways, what about my /adopt page error? I deleted the navbar module for now, but I get this error when trying to go to /adopt:
Fatal error: Call to a member function count() on a non-object in /home/bellesom/public_html/classes/abstract/abstract_guicontainer.php on line 392

Would you like me to post my abstract_guicontainer.php?
 
There is nothing wrong with the code in abstract_guicontainer.php file unless you have modified it yourself. The error lies in your adopt.php file if you have it on your page, I am assuming you have created a few adoptables but none are available to adopt at this point? This can be a tricky one, and definitely is possibly a glitch.
 
Okay just did a fresh and clean install of this on sim-pets.com-- everything seemed to go fine with the install, but every page I try to go to says not found - register, log in, all of them -- so to test it out I typed out login.php to see if it would go there that way:

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

( this was just a last resort to test it )

I did upload the new router class page as instructed but no go just even trying to log in:

The requested URL /login was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I did change config_adopts to what it needs to be, and I even checked in file manager that these pages are there - they are - I've made no mods at all and using nothing besides a totally fresh install of 1.3.3.

the address is: http://sim-pets.com

thanks for help, I'm likely just missing something. The index page does load fine, just can't go anywhere else lol.
 
Well the URL format has changed, do not use .php at the end of yor site URL or you receive this class appcontroller not found error.
 
Well the URL format has changed, do not use .php at the end of yor site URL or you receive this class appcontroller not found error.

When I add .php to a link, it just shows:
"this is the index page
This is a sample article. All of this text you can change in the script admin control panel."

as the content on any page with .php at the end, and it also has the site theme.
 
Ah okay got it--- well just trying to log in at all, I get this:




The requested URL /login was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.




Same for all the other pages I try to go to...
 
You were dead on right!! That solved it, it looks to be working perfectly, now to go check it all out! :)

Thanks for your work on all this H o F!! This looks utterly epic!!

Anyone else having this issue, its the .htaccess file! Make sure it gets loaded :)
 
When I go to install this version to the site for a clean slate (I ended up remoing all my old stuff for various reasons), I am getting this error when I go to put in my database info and hit next:

Could not connect to database, the following error has occurred:
SQLSTATE[28000] [1045] Access denied for user 'adopts4'@'localhost' (using password: YES)
 
Apparently the username is incorrect for your database, does the user exist or have permission to use the database?
 
Nope, there must be some kind of mistakes with your database credentials. Either you specified the wrong database name, or that the user is invalid. If you were using the old database, its better to empty all tables before installing the script. Also check config.php to see if there's anything abnormal there.
 
Never mind, I was a silly panda. I forgot to add the Chibifurs_ part of the database name...

Thank you for being patient with me. It means the world.
 
Status
Not open for further replies.

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,274
Messages
33,115
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top