Phalcon Framework 3.2.0

Galactium\Space\Modules\Exception: Module: "pages"" not found in registered modules

/data/www/zipbolt/vendor/galactium/space/src/Modules/Manager.php (169)
#0Galactium\Space\Modules\Manager->get(pages)
/data/www/zipbolt/application/Events/ApplicationListener.php (68)
<?php
 
/**
 * Copyright (c) 2017. Grigoriy Ivanov
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
 
/**
 * Galactium @ 2017
 * File: ApplicationListener.php
 * @author Grigoriy Ivanov
 */
 
namespace Galactium\Events;
 
 
use Phalcon\Application;
use Phalcon\DiInterface;
use Phalcon\Events\EventInterface;
use Phalcon\Http\ResponseInterface;
use Phalcon\Logger\AdapterInterface;
 
class ApplicationListener
{
 
    /**
     * @var DiInterface
     */
    protected $di;
 
    /**
     * ApplicationListener constructor.
     * @param $di
     */
    public function __construct(DiInterface $di)
    {
        $this->di = $di;
    }
 
    public function boot(EventInterface $event, Application $application)
    {
 
        /**@var AdapterInterface $logger */
        $logger = $this->di->get('logger');
        //$logger->begin();
 
    }
 
    public function viewRender()
    {
        return false;
    }
 
    public function beforeStartModule(EventInterface $event, Application $application, string $moduleName)
    {
        $this->di->set('module', function () use ($moduleName) {
            return $this->get('modulesManager')->get($moduleName);
        });
 
        $this->di->get('module')->registerProtectedServices();
    }
 
    public function beforeSendResponse(EventInterface $event, Application $application, ResponseInterface $response)
    {
 
        /**@var AdapterInterface $logger */
        $logger = $application->getDI()->get('logger');
      //  $logger->commit();
 
    }
 
 
}
#1Galactium\Events\ApplicationListener->Galactium\Events\{closure}()
#2Phalcon\Di\Service->resolve(null, Object(Phalcon\Di\FactoryDefault))
#3Phalcon\Di->get(module)
/data/www/zipbolt/application/Events/ApplicationListener.php (71)
<?php
 
/**
 * Copyright (c) 2017. Grigoriy Ivanov
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
 
/**
 * Galactium @ 2017
 * File: ApplicationListener.php
 * @author Grigoriy Ivanov
 */
 
namespace Galactium\Events;
 
 
use Phalcon\Application;
use Phalcon\DiInterface;
use Phalcon\Events\EventInterface;
use Phalcon\Http\ResponseInterface;
use Phalcon\Logger\AdapterInterface;
 
class ApplicationListener
{
 
    /**
     * @var DiInterface
     */
    protected $di;
 
    /**
     * ApplicationListener constructor.
     * @param $di
     */
    public function __construct(DiInterface $di)
    {
        $this->di = $di;
    }
 
    public function boot(EventInterface $event, Application $application)
    {
 
        /**@var AdapterInterface $logger */
        $logger = $this->di->get('logger');
        //$logger->begin();
 
    }
 
    public function viewRender()
    {
        return false;
    }
 
    public function beforeStartModule(EventInterface $event, Application $application, string $moduleName)
    {
        $this->di->set('module', function () use ($moduleName) {
            return $this->get('modulesManager')->get($moduleName);
        });
 
        $this->di->get('module')->registerProtectedServices();
    }
 
    public function beforeSendResponse(EventInterface $event, Application $application, ResponseInterface $response)
    {
 
        /**@var AdapterInterface $logger */
        $logger = $application->getDI()->get('logger');
      //  $logger->commit();
 
    }
 
 
}
#4Galactium\Events\ApplicationListener->beforeStartModule(Object(Phalcon\Events\Event), Object(Phalcon\Mvc\Application), pages)
#5Phalcon\Events\Manager->fireQueue(Array([0] => Object(Galactium\Events\ApplicationListener)), Object(Phalcon\Events\Event))
#6Phalcon\Events\Manager->fire(application:beforeStartModule, Object(Phalcon\Mvc\Application), pages)
#7Phalcon\Mvc\Application->handle()
/data/www/zipbolt/index.php (45)
<?php
/**
 * ---------------------------------------------------------------
 * GALACTIUM CONTENT MANAGEMENT SYSTEM
 * ---------------------------------------------------------------
 * Galactium - CMS based on Phalcon PHP Framework.
 */
/*
 * ---------------------------------------------------------------
 * DEFINE CONSTANTS
 * ---------------------------------------------------------------
 *
 */
 
$start_time = microtime(true);
define('CMS_BOOTSTRAP', dirname(__FILE__) . DIRECTORY_SEPARATOR);
define('CMS_FOLDER', __DIR__);
define('Galactium', true);
 
/*
 * ---------------------------------------------------------------
 * Start debug
 * ---------------------------------------------------------------
 *
 */
$debug = new \Phalcon\Debug();
$debug->listen();
 
/*
 * ---------------------------------------------------------------
 * Require autoload
 * ---------------------------------------------------------------.
 */
 
require CMS_FOLDER . '/vendor/autoload.php';
 
/*
 * ---------------------------------------------------------------
 * Handle Application
 * ---------------------------------------------------------------
 *
 */
$core = new \Galactium\Bootstrap();
 
$core->application()->handle()->send();
 
$end_time = microtime(true);
 
 
function convert($size)
{
    $unit=array('Б','Кб','Мб','Гб','tb','pb');
    return @round($size/pow(1024,($i=floor(log($size,1024)))),2).' '.$unit[$i];
}
 
$memory_limit = ini_get('memory_limit');
if (preg_match('/^(\d+)(.)$/', $memory_limit, $matches)) {
    if ($matches[2] == 'M') {
        $memory_limit = $matches[1] * 1024 * 1024; // nnnM -> nnn MB
    } else if ($matches[2] == 'K') {
        $memory_limit = $matches[1] * 1024; // nnnK -> nnn KB
    }
}
 
$ok = ($memory_limit >= 640 * 1024 * 1024); // at least 64M?
 
/*echo '<div class="ui menu attached"><div class="right menu">';
echo '<div class="item">'. $memory_limit .'</div>'; // val
echo '<div class="item">'. ($ok ? 1 : 0) .'</div>'; // ok
echo '<div class="item"><i class="server icon"></i>'. convert(memory_get_usage(true));
echo PHP_EOL .'</div>'; // 123 kb
echo '<div class="item"><i class="wait icon"></i>'. round(($end_time - $start_time), 5) .' сек</div>';
echo '</div></div>';*/
KeyValue
_url/zipbolt@zipbolt.ru
KeyValue
USERwww-data
HOME/var/www
SCRIPT_NAME/index.php
REQUEST_URI/zipbolt@zipbolt.ru
QUERY_STRING_url=/zipbolt@zipbolt.ru
REQUEST_METHODGET
SERVER_PROTOCOLHTTP/1.0
GATEWAY_INTERFACECGI/1.1
REDIRECT_QUERY_STRING_url=/zipbolt@zipbolt.ru
REDIRECT_URL/zipbolt@zipbolt.ru
REMOTE_PORT55590
SCRIPT_FILENAME/data/www/zipbolt/index.php
SERVER_ADMINwebmaster@localhost
CONTEXT_DOCUMENT_ROOT/data/www/zipbolt
CONTEXT_PREFIX
REQUEST_SCHEMEhttp
DOCUMENT_ROOT/data/www/zipbolt
REMOTE_ADDR54.81.8.73
SERVER_PORT80
SERVER_ADDR163.172.104.229
SERVER_NAMEzipbolt.ru
SERVER_SOFTWAREApache/2.4.18 (Ubuntu)
SERVER_SIGNATURE<address>Apache/2.4.18 (Ubuntu) Server at zipbolt.ru Port 80</address>\n
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HTTP_ACCEPTtext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENTCCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT_ENCODINGx-gzip, gzip, deflate
HTTP_HOSTzipbolt.ru
proxy-nokeepalive1
REDIRECT_STATUS200
FCGI_ROLERESPONDER
PHP_SELF/index.php
REQUEST_TIME_FLOAT1506125295.4265
REQUEST_TIME1506125295
SYSTEM_CACHE_DIR/system/cache/
SYSTEM_STORAGE_DIR/upload/
VIEW_DIR/resources/zipbolt/views/
DASHBOARD_VIEW_DIR/resources/dashboard/views/
VOLT_CACHE_DIR/system/cache/volt/
VOLT_COMPILE_ALWAYStrue
DB_USERNAMEroot
DB_PASSWORDljGH54325HJGbgref735r
DB_DATABASEzipbolt
DB_CHARSETutf8
DB_HOST127.0.0.1
DB_PORT3396
DB_ADAPTERmysql
DB_SCHEMApublic
MEMCACHED_HOST127.0.0.1
MEMCACHED_PORT11211
MEMCACHED_WEIGHT100
REDIS_HOST127.0.0.1
REDIS_PORT6379
REDIS_INDEX0
SESSION_DRIVERfile
SESSION_LIFETIME3600
SESSION_PREFIXsession__
SESSION_UNIQUE_IDgcms_
#Path
0/data/www/zipbolt/index.php
1/data/www/zipbolt/vendor/autoload.php
2/data/www/zipbolt/vendor/composer/autoload_real.php
3/data/www/zipbolt/vendor/composer/ClassLoader.php
4/data/www/zipbolt/vendor/composer/autoload_static.php
5/data/www/zipbolt/vendor/guzzlehttp/psr7/src/functions_include.php
6/data/www/zipbolt/vendor/guzzlehttp/psr7/src/functions.php
7/data/www/zipbolt/vendor/guzzlehttp/promises/src/functions_include.php
8/data/www/zipbolt/vendor/guzzlehttp/promises/src/functions.php
9/data/www/zipbolt/vendor/symfony/polyfill-mbstring/bootstrap.php
10/data/www/zipbolt/vendor/guzzlehttp/guzzle/src/functions_include.php
11/data/www/zipbolt/vendor/guzzlehttp/guzzle/src/functions.php
12/data/www/zipbolt/vendor/clue/stream-filter/src/functions.php
13/data/www/zipbolt/vendor/php-http/message/src/filters.php
14/data/www/zipbolt/vendor/swiftmailer/swiftmailer/lib/swift_required.php
15/data/www/zipbolt/vendor/swiftmailer/swiftmailer/lib/classes/Swift.php
16/data/www/zipbolt/vendor/tightenco/collect/src/Illuminate/Support/helpers.php
17/data/www/zipbolt/application/Bootstrap.php
18/data/www/zipbolt/vendor/vlucas/phpdotenv/src/Dotenv.php
19/data/www/zipbolt/vendor/vlucas/phpdotenv/src/Loader.php
20/data/www/zipbolt/application/config/providers.php
21/data/www/zipbolt/application/Services/Providers/BreadcrumbsServiceProvider.php
22/data/www/zipbolt/vendor/galactium/space/src/Di/ServiceProvider.php
23/data/www/zipbolt/application/Services/Providers/ConfigServiceProvider.php
24/data/www/zipbolt/application/config/application.php
25/data/www/zipbolt/application/config/database.php
26/data/www/zipbolt/application/config/session.php
27/data/www/zipbolt/application/config/filesystem.php
28/data/www/zipbolt/application/config/view.php
29/data/www/zipbolt/application/Services/Providers/CookiesServiceProvider.php
30/data/www/zipbolt/application/Services/Providers/DatetimeServiceProvider.php
31/data/www/zipbolt/application/Services/Providers/ModelsMetadataServiceProvider.php
32/data/www/zipbolt/application/Services/Providers/DbServiceProvider.php
33/data/www/zipbolt/application/Services/Providers/DispatcherServiceProvider.php
34/data/www/zipbolt/application/Services/Providers/EventsManagerServiceProvider.php
35/data/www/zipbolt/application/Services/Providers/FilesystemServiceProvider.php
36/data/www/zipbolt/application/Services/Providers/ModulesManagerServiceProvider.php
37/data/www/zipbolt/application/Services/Providers/RouterServiceProvider.php
38/data/www/zipbolt/application/Services/Providers/SessionServiceProvider.php
39/data/www/zipbolt/application/Services/Providers/SettingsManagerServiceProvider.php
40/data/www/zipbolt/application/Services/Providers/TransactionManagerServiceProvider.php
41/data/www/zipbolt/application/Services/Providers/VoltServiceProvider.php
42/data/www/zipbolt/application/Services/Providers/ViewServiceProvider.php
43/data/www/zipbolt/application/Services/Providers/SeoServiceProvider.php
44/data/www/zipbolt/application/Services/Providers/SwapServiceProvider.php
45/data/www/zipbolt/application/Services/Providers/MailServiceProvider.php
46/data/www/zipbolt/application/Services/Providers/LoggerServiceProvider.php
47/data/www/zipbolt/application/Services/Providers/RepositoriesFactoryServiceProvider.php
48/data/www/zipbolt/application/config/events.php
49/data/www/zipbolt/application/Events/DispatcherListener.php
50/data/www/zipbolt/application/Events/ApplicationListener.php
51/data/www/zipbolt/vendor/galactium/space/src/Modules/Manager.php
52/data/www/zipbolt/vendor/galactium/space/src/Modules/ManagerInterface.php
53/data/www/zipbolt/vendor/symfony/finder/Finder.php
54/data/www/zipbolt/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php
55/data/www/zipbolt/vendor/symfony/finder/Iterator/FilterIterator.php
56/data/www/zipbolt/vendor/symfony/finder/Comparator/NumberComparator.php
57/data/www/zipbolt/vendor/symfony/finder/Comparator/Comparator.php
58/data/www/zipbolt/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php
59/data/www/zipbolt/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php
60/data/www/zipbolt/vendor/symfony/finder/Iterator/DepthRangeFilterIterator.php
61/data/www/zipbolt/vendor/symfony/finder/Iterator/PathFilterIterator.php
62/data/www/zipbolt/vendor/symfony/finder/Iterator/MultiplePcreFilterIterator.php
63/data/www/zipbolt/vendor/symfony/finder/SplFileInfo.php
64/data/www/zipbolt/vendor/galactium/space/src/Modules/Module.php
65/data/www/zipbolt/vendor/galactium/space/src/Modules/ModuleInterface.php
66/data/www/zipbolt/application/Modules/Trash/Trash.php
67/data/www/zipbolt/application/Modules/Templates/Templates.php
68/data/www/zipbolt/application/Modules/Assets/Assets.php
69/data/www/zipbolt/application/Modules/Sitemap/Sitemap.php
70/data/www/zipbolt/application/Modules/Courses/Courses.php
71/data/www/zipbolt/application/Modules/Errors/Errors.php
72/data/www/zipbolt/application/Modules/Measures/Measures.php
73/data/www/zipbolt/application/Modules/Menus/Menus.php
74/data/www/zipbolt/application/Modules/Users/Users.php
75/data/www/zipbolt/application/Modules/Dashboard/Dashboard.php
76/data/www/zipbolt/application/Modules/Shop/Shop.php
77/data/www/zipbolt/application/Modules/Pages/Pages.php
78/data/www/zipbolt/application/Modules/Search/Search.php
79/data/www/zipbolt/application/Modules/Pages/Routes/PagesRoutes.php
80/data/www/zipbolt/application/Modules/Pages/Routes/PagesDashboardRoutes.php
81/data/www/zipbolt/application/Modules/Trash/Routes/TrashDashboardRoutes.php
82/data/www/zipbolt/application/Modules/Assets/Routes/AssetsDashboardRoutes.php
83/data/www/zipbolt/application/Modules/Sitemap/Routes/SitemapDashboardRoutes.php
84/data/www/zipbolt/application/Modules/Courses/Routes/CoursesDashboardRoutes.php
85/data/www/zipbolt/application/Modules/Courses/Routes/CoursesRoutes.php
86/data/www/zipbolt/application/Modules/Menus/Providers/MenusRepositoryServiceProvider.php
87/data/www/zipbolt/application/Modules/Users/Routes/UsersDashboardRoutes.php
88/data/www/zipbolt/application/Modules/Users/Routes/UsersRoutes.php
89/data/www/zipbolt/application/Modules/Users/Providers/AuthServiceProvider.php
90/data/www/zipbolt/application/Modules/Dashboard/Routes/DashboardRoutes.php
91/data/www/zipbolt/application/Modules/Shop/Routes/ShopDashboardRoutes.php
92/data/www/zipbolt/application/Modules/Shop/Routes/ShopRoutes.php
93/data/www/zipbolt/application/Modules/Shop/Routes/CartRoutes.php
94/data/www/zipbolt/application/Modules/Shop/Routes/ShopProducerRoutes.php
95/data/www/zipbolt/application/Modules/Shop/Providers/CartServiceProvider.php
96/data/www/zipbolt/application/Modules/Shop/Providers/CurrencyServiceProvider.php
97/data/www/zipbolt/application/Modules/Search/Routes/SearchDashboardRoutes.php
98/data/www/zipbolt/application/Modules/Search/Routes/SearchRoutes.php
99/data/www/zipbolt/application/Modules/Search/Providers/IndexerServiceProvider.php
100/data/www/zipbolt/vendor/galactium/space/src/Modules/Exception.php
101/data/www/zipbolt/vendor/galactium/space/src/Exception.php
Memory
Usage2097152