#51
|
||||
|
||||
This works great, however how can I make this the index page?
|
#52
|
||||
|
||||
I get a fatal error when I try to create news. How do I fix this?
|
#53
|
||||
|
||||
What does the error say?
__________________
|
#54
|
||||
|
||||
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
|
#55
|
||||
|
||||
It looks like you're missing ACPNewsView.php. Is it in the view folder?
__________________
|
#56
|
||||
|
||||
Quote:
Yep I have it. AdminCP and then the View folder in there. :/ |
#57
|
||||
|
||||
When you open the file, does it have this near the top:
PHP Code:
PHP Code:
__________________
|
#58
|
||||
|
||||
Quote:
PHP Code:
|
#59
|
||||
|
||||
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.
__________________
|
#60
|
||||
|
||||
Quote:
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 |
|
|
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 |
What's New? |
What's Hot? |
What's Popular? |