Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Community Board > Mysidia Adoptables Official Announcement

Notices

Closed Thread
 
Thread Tools Display Modes
  #21  
Old 03-20-2013, 01:08 AM
Hedgen's Avatar
Hedgen Hedgen is offline
Member
 
Join Date: Oct 2012
Posts: 36
Gender: Male
Credits: 5,796
Hedgen is on a distinguished road
Default

Quote:
Originally Posted by Abronsyth View Post
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.
__________________
I have some small tutorials Here that show things such as re-arranging the SIDEFEED and LINKSBAR, and redirecting people after login.
  #22  
Old 03-20-2013, 01:58 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 488,265
Hall of Famer is on a distinguished road
Default

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...
Attached Files
File Type: php class_router.php (5.8 KB, 30 views)
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
  #23  
Old 03-20-2013, 08:42 AM
Hedgen's Avatar
Hedgen Hedgen is offline
Member
 
Join Date: Oct 2012
Posts: 36
Gender: Male
Credits: 5,796
Hedgen is on a distinguished road
Default

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.
__________________
I have some small tutorials Here that show things such as re-arranging the SIDEFEED and LINKSBAR, and redirecting people after login.

Last edited by Hedgen; 03-20-2013 at 08:46 AM.
  #24  
Old 03-21-2013, 01:12 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 133,148
Abronsyth is on a distinguished road
Default

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
__________________
My Mods Site (1.3.4, 2020 Mods)

Last edited by Abronsyth; 03-21-2013 at 01:15 PM.
  #25  
Old 03-21-2013, 01:49 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 488,265
Hall of Famer is on a distinguished road
Default

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.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
  #26  
Old 03-21-2013, 02:09 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 133,148
Abronsyth is on a distinguished road
Default

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?
__________________
My Mods Site (1.3.4, 2020 Mods)
  #27  
Old 03-21-2013, 03:31 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 488,265
Hall of Famer is on a distinguished road
Default

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.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
  #28  
Old 03-23-2013, 10:01 AM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 133,148
Abronsyth is on a distinguished road
Default

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?
__________________
My Mods Site (1.3.4, 2020 Mods)
  #29  
Old 03-23-2013, 12:58 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 488,265
Hall of Famer is on a distinguished road
Default

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.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
  #30  
Old 03-23-2013, 05:16 PM
Missy Master's Avatar
Missy Master Missy Master is offline
Pet-Sim.Online
 
Join Date: Jan 2010
Posts: 475
Gender: Unknown/Other
Credits: 64,277
Missy Master is an unknown quantity at this point
Default

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.
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysidia Adoptables v1.3.1[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 109 08-24-2012 05:50 AM
Mysidia Adoptables v1.3.0[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 180 04-01-2012 11:16 PM
Mysidia Adoptables v1.2.0[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 21 03-22-2011 05:13 PM
Mysidia Adoptables v1.1.4[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 15 01-28-2011 12:48 PM
Mysidia Adoptables v1.1.3[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 27 01-26-2011 03:59 PM


All times are GMT -5. The time now is 08:51 AM.

Currently Active Users: 791 (0 members and 791 guests)
Threads: 4,081, Posts: 32,031, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636