Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.3.x Mods

Notices

Reply
 
Thread Tools Display Modes
  #51  
Old 01-13-2017, 12:23 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 81,254
SilverDragonTears is on a distinguished road
Default

This works great, however how can I make this the index page?
__________________

Check out SilvaTales
Reply With Quote
  #52  
Old 02-27-2018, 06:22 AM
goofyunicorn's Avatar
goofyunicorn goofyunicorn is offline
Kelpie
 
Join Date: Feb 2018
Location: Unicorn Land
Posts: 101
Gender: Female
Credits: 12,731
goofyunicorn is on a distinguished road
Default

I get a fatal error when I try to create news. How do I fix this?
Reply With Quote
  #53  
Old 02-27-2018, 08:19 AM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 63,771
Dinocanid is on a distinguished road
Default

What does the error say?
__________________
Reply With Quote
  #54  
Old 02-27-2018, 09:56 AM
goofyunicorn's Avatar
goofyunicorn goofyunicorn is offline
Kelpie
 
Join Date: Feb 2018
Location: Unicorn Land
Posts: 101
Gender: Female
Credits: 12,731
goofyunicorn is on a distinguished road
Default

Quote:
Originally Posted by Dinocanid View Post
What does the error say?
Fatal error: Uncaught exception 'Exception' with message 'Fatal Error: Class ACPNewsView either does not exist, or has its include path misconfigured!' in /home/beausavi/public_html/classes/class_loader.php:83 Stack trace: #0 [internal function]: Loader->load('ACPNewsView') #1 /home/beausavi/public_html/classes/class_controller.php(135): spl_autoload_call('ACPNewsView') #2 /home/beausavi/public_html/classes/class_appcontroller.php(115): Controller->loadView(Object(Resource\Native\String)) #3 /home/beausavi/public_html/classes/class_frontcontroller.php(71): AppController->getView() #4 /home/beausavi/public_html/admincp/index.php(108): FrontController->getView() #5 /home/beausavi/public_html/admincp/index.php(113): AdminCP::main() #6 {main} thrown in /home/beausavi/public_html/classes/class_loader.php on line 83
Reply With Quote
  #55  
Old 02-27-2018, 10:06 AM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 63,771
Dinocanid is on a distinguished road
Default

It looks like you're missing ACPNewsView.php. Is it in the view folder?
__________________
Reply With Quote
  #56  
Old 02-27-2018, 10:14 AM
goofyunicorn's Avatar
goofyunicorn goofyunicorn is offline
Kelpie
 
Join Date: Feb 2018
Location: Unicorn Land
Posts: 101
Gender: Female
Credits: 12,731
goofyunicorn is on a distinguished road
Default

Quote:
Originally Posted by Dinocanid View Post
It looks like you're missing ACPNewsView.php. Is it in the view folder?

Yep I have it. AdminCP and then the View folder in there. :/
Reply With Quote
  #57  
Old 02-27-2018, 10:54 AM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 63,771
Dinocanid is on a distinguished road
Default

When you open the file, does it have this near the top:
PHP Code:
class ACPNewsView extends View
or this?:
PHP Code:
class NewsView extends View
__________________
Reply With Quote
  #58  
Old 02-27-2018, 10:57 AM
goofyunicorn's Avatar
goofyunicorn goofyunicorn is offline
Kelpie
 
Join Date: Feb 2018
Location: Unicorn Land
Posts: 101
Gender: Female
Credits: 12,731
goofyunicorn is on a distinguished road
Default

Quote:
Originally Posted by Dinocanid View Post
When you open the file, does it have this near the top:
PHP Code:
class ACPNewsView extends View
or this?:
PHP Code:
class NewsView extends View
PHP Code:
class NewsView extends View
It has this!
Reply With Quote
  #59  
Old 02-27-2018, 11:03 AM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 63,771
Dinocanid is on a distinguished road
Default

Oh! You put it in the wrong place then. (I figured that might be the issue, since both files have the exact same name)
Just copy-paste the code for the view file under the "Part 4: The AdminCP" section of the OP and it should work.
"ACPNewsView" needs to be in the view subfolder located in the adminCP folder, while "NewsView" needs to go in the main view folder located under public_html.
__________________
Reply With Quote
  #60  
Old 02-27-2018, 11:16 AM
goofyunicorn's Avatar
goofyunicorn goofyunicorn is offline
Kelpie
 
Join Date: Feb 2018
Location: Unicorn Land
Posts: 101
Gender: Female
Credits: 12,731
goofyunicorn is on a distinguished road
Default

Quote:
Originally Posted by Dinocanid View Post
Oh! You put it in the wrong place then. (I figured that might be the issue, since both files have the exact same name)
Just copy-paste the code for the view file under the "Part 4: The AdminCP" section of the OP and it should work.
"ACPNewsView" needs to be in the view subfolder located in the adminCP folder, while "NewsView" needs to go in the main view folder located under public_html.
It still doesn't come up. New error I think:

Fatal error: Uncaught exception 'Exception' with message 'Fatal Error: Class ACPNewsView either does not exist, or has its include path misconfigured!' in /home/beausavi/public_html/classes/class_loader.php:83 Stack trace: #0 [internal function]: Loader->load('ACPNewsView') #1 /home/beausavi/public_html/classes/class_controller.php(135): spl_autoload_call('ACPNewsView') #2 /home/beausavi/public_html/classes/class_appcontroller.php(115): Controller->loadView(Object(Resource\Native\String)) #3 /home/beausavi/public_html/classes/class_frontcontroller.php(71): AppController->getView() #4 /home/beausavi/public_html/admincp/index.php(108): FrontController->getView() #5 /home/beausavi/public_html/admincp/index.php(113): AdminCP::main() #6 {main} thrown in /home/beausavi/public_html/classes/class_loader.php on line 83
Reply With Quote
Reply

Thread Tools
Display Modes

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
News Feed Yuki Night Suggestions and Feature Requests 0 01-30-2013 12:04 AM
Implementing A News Feed Yuki Night Questions and Supports 0 01-29-2013 05:25 PM
News feed script? Aasixx Staff Central 3 06-18-2012 03:06 AM
Adopts News Bloodrun Addons/Mods Graveyard 71 06-18-2009 02:13 PM
News 12345 Questions and Supports 9 05-10-2009 03:13 PM


All times are GMT -5. The time now is 09:04 AM.

Currently Active Users: 675 (0 members and 675 guests)
Threads: 4,080, Posts: 32,024, 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