Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error - Class '\Bootstrap\Theme' not found #4

Open
bhcruz opened this issue Aug 26, 2015 · 3 comments
Open

error - Class '\Bootstrap\Theme' not found #4

bhcruz opened this issue Aug 26, 2015 · 3 comments

Comments

@bhcruz
Copy link

bhcruz commented Aug 26, 2015

I can't load the framework.
See the debug info:

error - Class '\Bootstrap\Theme' not found

.../CCF\vendor\clancats\core\src\classes\CCViewController.php:70
{
$this->_layout = ClanCats::$config->get( 'viewcontroller.theme.default_layout' );
}

    $theme_class = "\\".$this->_theme."\\Theme";
    $this->theme = $theme_class::create( $this->_layout );

    // assign the theme to the view before render
    CCView::share( 'theme', $this->theme );
}
@mario-deluna
Copy link
Member

Hi I need more information to be able to debug the issue:

  • Operating System
  • PHP Version

Also please provide the output of CCOrbit::ships() you can simply open a cli php cli in your project folder to do so.

Thanks!

@bhcruz
Copy link
Author

bhcruz commented Aug 26, 2015

Hi Mario.
I'm running on Win 10 with apache:
Apache/2.4.10 (Win32) OpenSSL/1.0.1h PHP/5.6.5

I just created project with composer, corrected my environment to '*.local' => 'development' and set 'profiler' => array('enabled' => true,).

How can I get this output with cli?

run \CCOrbit::ships()
Could not find controller \CCOrbit

See: https://gist.github.com/bhcruz/021f80a22a3631da40f8

@mario-deluna
Copy link
Member

This seems to be an Windows Issue... im currently in the US and have no access to a windows machine to debug the issue. Please stand by, Im going to fix this when im back in Europe.

Just in case you might want to take a look at virtual box and vagrant to create an virtual linux environment. That would make things much easier :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants