메뉴 건너뛰기

플러그인 - 테마 만들었는데 에러뜨네요

다음처럼 플러그인 및 테마 만들었는데 웹접속시 에러가 납니다.. 어떻게 해결해야 할까요 ㅠㅠ 제가 프로그래머가 아니라서 모르겠네요

qtlakes@server25 [~/public_html]# php artisan make:plugin qtlakes qtlakes\XePlugins\\test 'qtlakes'
Could not open input file: composer.phar
Plugin is created and activated successfully.
See ./plugins/qtlakes directory. And open http://www.qtlakes.co.nz/plugin/qtlakes in your browser.
Input and modify your plugin information in ./plugins/qtlakes/composer.json file.
qtlakes@server25 [~/public_html]# php artisan make:theme qtlakes/theme 'qtlakes-theme'
[New theme info]
  plugin:        qtlakes
  path:          qtlakes/theme
  class file:    qtlakes/theme/Theme.php
  class name:    qtlakesXePlugins\test\Theme
  id:            theme/qtlakes@theme
  title:         qtlakes-theme
  description:   The Theme supported by Qtlakes plugin.

 Do you want to add theme? [yes|no]:
 > yes

Could not open input file: composer.phar
Theme is created successfully.
 

에러 내용

```javascript
1/1NotImplementedException in PluginRegister.php line 192:xe::interfaceNotImplemented

in PluginRegister.php line 192
at PluginRegister->setComponentInfo(array('class' => 'qtlakesXePlugins\test\Theme\Theme', 'name' => 'qtlakes-theme', 'description' => 'The Theme supported by Qtlakes plugin.', 'id' => 'theme/qtlakes@theme')) in PluginRegister.php line 73
at PluginRegister->addByEntity(object(PluginEntity))
at call_user_func_array('parent::addByEntity', array(object(PluginEntity))) in ProxyTrait.php line 104
at Proxy_Xpressengine_Plugin_PluginRegister->_proxyTargetCall('addByEntity', array(object(PluginEntity)))
at call_user_func_array(array(object(Proxy_Xpressengine_Plugin_PluginRegister), '_proxyTargetCall'), array('addByEntity',array(object(PluginEntity)))) in ProxyTrait.php line 89
at Proxy_Xpressengine_Plugin_PluginRegister->Xpressengine\Interception\Proxy\{closure}(object(PluginEntity))
at call_user_func_array(object(Closure), array(object(PluginEntity))) in ProxyInvocationHandler.php line 96
at ProxyInvocationHandler->__invoke(object(PluginEntity))
at call_user_func_array(object(ProxyInvocationHandler), array(object(PluginEntity))) in ProxyInvocationHandler.php line 74
at ProxyInvocationHandler->callProxy(array(object(PluginEntity)), object(Closure)) in ProxyTrait.php line 91
at Proxy_Xpressengine_Plugin_PluginRegister->_proxyMethodCall('addByEntity', array(object(PluginEntity))) inProxy_Xpressengine_Plugin_PluginRegister.php line 15
at Proxy_Xpressengine_Plugin_PluginRegister->addByEntity(object(PluginEntity)) in PluginHandler.php line 374
at PluginHandler->bootPlugin(object(PluginEntity))
at call_user_func_array('parent::bootPlugin', array(object(PluginEntity))) in ProxyTrait.php line 104
at Proxy_Xpressengine_Plugin_PluginHandler->_proxyTargetCall('bootPlugin', array(object(PluginEntity)))
at call_user_func_array(array(object(Proxy_Xpressengine_Plugin_PluginHandler), '_proxyTargetCall'), array('bootPlugin',array(object(PluginEntity)))) in ProxyTrait.php line 89
at Proxy_Xpressengine_Plugin_PluginHandler->Xpressengine\Interception\Proxy\{closure}(object(PluginEntity))
at call_user_func_array(object(Closure), array(object(PluginEntity))) in ProxyInvocationHandler.php line 96
at ProxyInvocationHandler->__invoke(object(PluginEntity))
at call_user_func_array(object(ProxyInvocationHandler), array(object(PluginEntity))) in ProxyInvocationHandler.php line 74
at ProxyInvocationHandler->callProxy(array(object(PluginEntity)), object(Closure)) in ProxyTrait.php line 91
at Proxy_Xpressengine_Plugin_PluginHandler->_proxyMethodCall('bootPlugin', array(object(PluginEntity))) inProxy_Xpressengine_Plugin_PluginHandler.php line 55
at Proxy_Xpressengine_Plugin_PluginHandler->bootPlugin(object(PluginEntity)) in PluginHandler.php line 358
at PluginHandler->bootPlugins()
at call_user_func_array('parent::bootPlugins', array()) in ProxyTrait.php line 104
at Proxy_Xpressengine_Plugin_PluginHandler->_proxyTargetCall('bootPlugins', array())
at call_user_func_array(array(object(Proxy_Xpressengine_Plugin_PluginHandler), '_proxyTargetCall'), array('bootPlugins', array())) in ProxyTrait.php line 89
at Proxy_Xpressengine_Plugin_PluginHandler->Xpressengine\Interception\Proxy\{closure}()
at call_user_func_array(object(Closure), array()) in ProxyInvocationHandler.php line 96
at ProxyInvocationHandler->__invoke()
at call_user_func_array(object(ProxyInvocationHandler), array()) in ProxyInvocationHandler.php line 74
at ProxyInvocationHandler->callProxy(array(), object(Closure)) in ProxyTrait.php line 91
at Proxy_Xpressengine_Plugin_PluginHandler->_proxyMethodCall('bootPlugins', array()) in Proxy_Xpressengine_Plugin_PluginHandler.php line 50
at Proxy_Xpressengine_Plugin_PluginHandler->bootPlugins() in PluginServiceProvider.php line 159
at PluginServiceProvider->App\Providers\{closure}(object(Application))
at call_user_func(object(Closure), object(Application)) in compiled.php line 1825
at Application->fireAppCallbacks(array(object(Closure), object(Closure), object(Closure))) in compiled.php line 1803
at Application->boot() in compiled.php line 2139
at BootProviders->bootstrap(object(Application)) in compiled.php line 1587
at Application->bootstrapWith(array('Illuminate\Foundation\Bootstrap\DetectEnvironment', 'App\Bootstrappers\LoadConfiguration', 'Illuminate\Foundation\Bootstrap\ConfigureLogging', 'Illuminate\Foundation\Bootstrap\HandleExceptions', 'Illuminate\Foundation\Bootstrap\RegisterFacades', 'Illuminate\Foundation\Bootstrap\RegisterProviders', 'Illuminate\Foundation\Bootstrap\BootProviders')) in compiled.php line 2303
at Kernel->bootstrap() in Kernel.php line 65
at Kernel->bootstrap() in compiled.php line 2256
at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2240
at Kernel->handle(object(Request)) in index.php line 56
```

composer update 치면 이리 나옵니다

qtlakes@server25 [~/public_html]# composer update
Warning: This development build of composer is over 60 days old. It is recommended to update it by running "/usr/local/bin/composer self-update" to get the latest version.
The "xpressengine/installer" plugin was skipped because it requires a Plugin API version ("1.1.*") that does not match your Composer installation ("1.0.0"). You may need to run composer update with the "--no-plugins" option.
> Xpressengine\Plugin\Composer\Composer::init
xpressengine-installer: running in fix mode
xpressengine-installer: Plugin composer file[storage/app/composer.plugins.json] is written
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package xpressengine-plugin/qtlakes could not be found in any version, there may be a typo in the package name.
  Problem 2
    - xpressengine/installer dev-develop requires composer-plugin-api 1.1.* -> no matching package found.
    - xpressengine/installer dev-develop requires composer-plugin-api 1.1.* -> no matching package found.
    - Installation request for xpressengine/installer dev-develop -> satisfiable by xpressengine/installer[dev-develop].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
 

포럼의 다른 글