Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_WARNING)
mkdir(): File exists Whoops\Exception\ErrorException thrown with message "mkdir(): File exists" Stacktrace: #13 Whoops\Exception\ErrorException in /var/www/html/public/lib/filestorage/file_system_filedir.php:97 #12 mkdir in /var/www/html/public/lib/filestorage/file_system_filedir.php:97 #11 file_system_filedir:__construct in /var/www/html/public/lib/filestorage/file_storage.php:81 #10 file_storage:setup_file_system in /var/www/html/public/lib/filestorage/file_storage.php:62 #9 file_storage:__construct in /var/www/html/public/lib/moodlelib.php:6381 #8 get_file_storage in /var/www/html/public/local/lernhive_pathways/classes/service/pathway_service.php:757 #7 local_lernhive_pathways\service\pathway_service:pathway_image_url in /var/www/html/public/local/lernhive_pathways/classes/dashboard/pathway_catalog_provider.php:133 #6 local_lernhive_pathways\dashboard\pathway_catalog_provider:get_offerings in /var/www/html/public/local/lernhive_pathways/classes/hook_callbacks.php:99 #5 local_lernhive_pathways\hook_callbacks:contribute_catalog_offerings in /var/www/html/public/lib/classes/hook/manager.php:323 #4 call_user_func in /var/www/html/public/lib/classes/hook/manager.php:323 #3 core\hook\manager:dispatch in /var/www/html/public/local/lernhive/classes/dashboard/catalog_registry.php:97 #2 local_lernhive\dashboard\catalog_registry:collect in /var/www/html/public/local/lernhive/classes/dashboard/catalog_registry.php:74 #1 local_lernhive\dashboard\catalog_registry:collect_page in /var/www/html/public/local/lernhive/classes/output/catalog_page.php:132 #0 local_lernhive\output\catalog_page:export_for_template in /var/www/html/public/local/lernhive/catalog.php:140
Stack frames (14)
13
Whoops\Exception\ErrorException
…/public/lib/filestorage/file_system_filedir.php:97
12
mkdir
…/public/lib/filestorage/file_system_filedir.php:97
11
file_system_filedir __construct
…/public/lib/filestorage/file_storage.php:81
10
file_storage setup_file_system
…/public/lib/filestorage/file_storage.php:62
9
file_storage __construct
…/public/lib/moodlelib.php:6381
8
get_file_storage
…/public/local/lernhive_pathways/classes/service/pathway_service.php:757
7
local_lernhive_pathways\service\pathway_service pathway_image_url
…/public/local/lernhive_pathways/classes/dashboard/pathway_catalog_provider.php:133
6
local_lernhive_pathways\dashboard\pathway_catalog_provider get_offerings
…/public/local/lernhive_pathways/classes/hook_callbacks.php:99
5
local_lernhive_pathways\hook_callbacks contribute_catalog_offerings
…/public/lib/classes/hook/manager.php:323
4
call_user_func
…/public/lib/classes/hook/manager.php:323
3
core\hook\manager dispatch
…/public/local/lernhive/classes/dashboard/catalog_registry.php:97
2
local_lernhive\dashboard\catalog_registry collect
…/public/local/lernhive/classes/dashboard/catalog_registry.php:74
1
local_lernhive\dashboard\catalog_registry collect_page
…/public/local/lernhive/classes/output/catalog_page.php:132
0
local_lernhive\output\catalog_page export_for_template
…/public/local/lernhive/catalog.php:140
/var/www/html/public/lib/filestorage/file_system_filedir.php
 
        // Make sure the file pool directory exists.
        if (!is_dir($this->filedir)) {
            if (!mkdir($this->filedir, $this->dirpermissions, true)) {
                // Permission trouble.
                throw new file_exception('storedfilecannotcreatefiledirs');
            }
 
            // Place warning file in file pool root.
            if (!file_exists($this->filedir.'/warning.txt')) {
                file_put_contents($this->filedir.'/warning.txt',
                        'This directory contains the content of uploaded files and is controlled by Moodle code. ' .
                        'Do not manually move, change or rename any of the files and subdirectories here.');
                chmod($this->filedir . '/warning.txt', $this->filepermissions);
            }
        }
 
        // Make sure the trashdir directory exists too.
        if (!is_dir($this->trashdir)) {
            if (!mkdir($this->trashdir, $this->dirpermissions, true)) {
                // Permission trouble.
                throw new file_exception('storedfilecannotcreatefiledirs');
            }
        }
    }
 
    /**
     * Get the full path for the specified hash, including the path to the filedir.
     *
     * @param string $contenthash The content hash
     * @param bool $fetchifnotfound Whether to attempt to fetch from the remote path if not found.
     * @return string The full path to the content file
     */
    protected function get_local_path_from_hash($contenthash, $fetchifnotfound = false) {
        return $this->get_fulldir_from_hash($contenthash) . '/' .$contenthash;
    }
 
    /**
     * Get a remote filepath for the specified stored file.
     *
/var/www/html/public/lib/filestorage/file_system_filedir.php
 
        // Make sure the file pool directory exists.
        if (!is_dir($this->filedir)) {
            if (!mkdir($this->filedir, $this->dirpermissions, true)) {
                // Permission trouble.
                throw new file_exception('storedfilecannotcreatefiledirs');
            }
 
            // Place warning file in file pool root.
            if (!file_exists($this->filedir.'/warning.txt')) {
                file_put_contents($this->filedir.'/warning.txt',
                        'This directory contains the content of uploaded files and is controlled by Moodle code. ' .
                        'Do not manually move, change or rename any of the files and subdirectories here.');
                chmod($this->filedir . '/warning.txt', $this->filepermissions);
            }
        }
 
        // Make sure the trashdir directory exists too.
        if (!is_dir($this->trashdir)) {
            if (!mkdir($this->trashdir, $this->dirpermissions, true)) {
                // Permission trouble.
                throw new file_exception('storedfilecannotcreatefiledirs');
            }
        }
    }
 
    /**
     * Get the full path for the specified hash, including the path to the filedir.
     *
     * @param string $contenthash The content hash
     * @param bool $fetchifnotfound Whether to attempt to fetch from the remote path if not found.
     * @return string The full path to the content file
     */
    protected function get_local_path_from_hash($contenthash, $fetchifnotfound = false) {
        return $this->get_fulldir_from_hash($contenthash) . '/' .$contenthash;
    }
 
    /**
     * Get a remote filepath for the specified stored file.
     *
/var/www/html/public/lib/filestorage/file_storage.php
        $this->setup_file_system();
    }
 
    /**
     * Complete setup procedure for the file_system component.
     *
     * @return file_system
     */
    public function setup_file_system() {
        global $CFG;
        if ($this->filesystem === null) {
            require_once($CFG->libdir . '/filestorage/file_system.php');
            if (!empty($CFG->alternative_file_system_class)) {
                $class = $CFG->alternative_file_system_class;
            } else {
                // The default file_system is the filedir.
                require_once($CFG->libdir . '/filestorage/file_system_filedir.php');
                $class = file_system_filedir::class;
            }
            $this->filesystem = new $class();
        }
 
        return $this->filesystem;
    }
 
    /**
     * Return the file system instance.
     *
     * @return file_system
     */
    public function get_file_system() {
        return $this->filesystem;
    }
 
    /**
     * Calculates sha1 hash of unique full path name information.
     *
     * This hash is a unique file identifier - it is used to improve
     * performance and overcome db index size limits.
     *
/var/www/html/public/lib/filestorage/file_storage.php
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 * @since     Moodle 2.0
 */
class file_storage {
 
    /** @var string tempdir */
    private $tempdir;
 
    /** @var file_system filesystem */
    private $filesystem;
 
    /**
     * Constructor - do not use directly use {@link get_file_storage()} call instead.
     */
    public function __construct() {
        // The tempdir must always remain on disk, but shared between all ndoes in a cluster. Its content is not subject
        // to the file_system abstraction.
        $this->tempdir = make_temp_directory('filestorage');
 
        $this->setup_file_system();
    }
 
    /**
     * Complete setup procedure for the file_system component.
     *
     * @return file_system
     */
    public function setup_file_system() {
        global $CFG;
        if ($this->filesystem === null) {
            require_once($CFG->libdir . '/filestorage/file_system.php');
            if (!empty($CFG->alternative_file_system_class)) {
                $class = $CFG->alternative_file_system_class;
            } else {
                // The default file_system is the filedir.
                require_once($CFG->libdir . '/filestorage/file_system_filedir.php');
                $class = file_system_filedir::class;
            }
            $this->filesystem = new $class();
        }
/var/www/html/public/lib/moodlelib.php
 *
 * @return ?file_storage
 */
function get_file_storage($reset = false) {
    global $CFG;
 
    static $fs = null;
 
    if ($reset) {
        $fs = null;
        return;
    }
 
    if ($fs) {
        return $fs;
    }
 
    require_once("$CFG->libdir/filelib.php");
 
    $fs = new file_storage();
 
    return $fs;
}
 
/**
 * Returns local file storage instance
 *
 * @return file_browser
 */
function get_file_browser() {
    global $CFG;
 
    static $fb = null;
 
    if ($fb) {
        return $fb;
    }
 
    require_once("$CFG->libdir/filelib.php");
 
/var/www/html/public/local/lernhive_pathways/classes/service/pathway_service.php
        return null;
    }
 
    /**
     * Return the URL of a pathway's own cover image, or null when it has none.
     *
     * The image is stored via the Moodle File API in the system context under
     * the 'pathwayimage' filearea (itemid = pathway id). Catalogue cards prefer
     * this over the derived first-course image.
     *
     * @param int $pathwayid
     * @return string|null
     */
    public static function pathway_image_url(int $pathwayid): ?string {
        if ($pathwayid <= 0) {
            return null;
        }
 
        $context = context_system::instance();
        $fs = get_file_storage();
        $files = $fs->get_area_files(
            $context->id,
            'local_lernhive_pathways',
            'pathwayimage',
            $pathwayid,
            'itemid, filepath, filename',
            false
        );
        foreach ($files as $file) {
            if ($file->is_directory()) {
                continue;
            }
            return \moodle_url::make_pluginfile_url(
                $file->get_contextid(),
                $file->get_component(),
                $file->get_filearea(),
                $file->get_itemid(),
                $file->get_filepath(),
                $file->get_filename()
            )->out(false);
/var/www/html/public/local/lernhive_pathways/classes/dashboard/pathway_catalog_provider.php
 
        if (empty($pathways)) {
            return [];
        }
 
        $stepcounts = self::step_counts(array_keys($pathways));
        $steptypes = self::step_types(array_keys($pathways));
        $assignments = self::assignments_for_user(array_keys($pathways), $userid);
        $firstcourses = self::first_course_ids(array_keys($pathways));
 
        $offerings = [];
        foreach ($pathways as $pathway) {
            $pid = (int) $pathway->id;
            $offerings[] = self::pathway_to_offering(
                $pathway,
                $stepcounts[$pid] ?? 0,
                $steptypes[$pid] ?? [],
                $assignments[$pid] ?? null,
                $firstcourses[$pid] ?? null,
                pathway_service::pathway_image_url($pid)
            );
        }
 
        return $offerings;
    }
 
    /**
     * Returns available pathway catalogue facets for a user.
     */
    public static function get_facets(int $userid): array {
        if ($userid <= 0 || !self::is_ready()) {
            return [];
        }
 
        $context = context_system::instance();
        if (!has_capability('local/lernhive_pathways:viewcatalogue', $context, $userid)) {
            return [];
        }
 
        try {
/var/www/html/public/local/lernhive_pathways/classes/hook_callbacks.php
            }
        );
    }
 
    /**
     * Contribute the "My programmes" section to block_lernhive_my.
     *
     * @param collect_sections $hook Dashboard collection hook.
     */
    public static function contribute_my_sections(collect_sections $hook): void {
        $hook->add_sections(my_pathways_section_provider::get_sections($hook->userid));
    }
 
    /**
     * Contribute visible pathway offerings to the central learning catalogue.
     *
     * @param collect_offerings $hook
     */
    public static function contribute_catalog_offerings(collect_offerings $hook): void {
        $hook->add_offerings(pathway_catalog_provider::get_offerings($hook->userid, $hook->filter));
    }
 
    /**
     * Contribute Pathways-owned catalogue facets.
     *
     * @param collect_facets $hook
     */
    public static function contribute_catalog_facets(collect_facets $hook): void {
        $hook->add_facets(pathway_catalog_provider::get_facets($hook->userid));
    }
 
    /**
     * Name the pathway on the login and signup page (task38).
     *
     * Only for the public catalogue detail page, and only when a logged-out
     * visitor may see that pathway there; the name never comes from the URL.
     *
     * @param resolve_offer_name $hook
     */
    public static function resolve_login_offer_name(resolve_offer_name $hook): void {
/var/www/html/public/lib/classes/hook/manager.php
        if (empty($callbacks)) {
            // Nothing is interested in this hook.
            return $event;
        }
 
        foreach ($callbacks as $callback) {
            // Note: PSR-14 states:
            // If passed a Stoppable Event, a Dispatcher
            // MUST call isPropagationStopped() on the Event before each Listener has been called.
            // If that method returns true it MUST return the Event to the Emitter immediately and
            // MUST NOT call any further Listeners. This implies that if an Event is passed to the
            // Dispatcher that always returns true from isPropagationStopped(), zero listeners will be called.
            // Ergo, we check for a stopped event before calling each listener, not afterwards.
            if ($event instanceof StoppableEventInterface) {
                if ($event->isPropagationStopped()) {
                    return $event;
                }
            }
 
            call_user_func($callback, $event);
        }
 
        // Developers need to be careful to not create infinite loops in hook callbacks.
        return $event;
    }
 
    /**
     * Initialise list of all callbacks for each hook.
     */
    private function init_standard_callbacks(): void {
        global $CFG;
 
        $this->allcallbacks = [];
        $this->alldeprecations = [];
 
        // @codeCoverageIgnoreStart
        $shouldcache = $this->should_cache();
        if ($shouldcache) {
            $cache = $this->get_cache();
 
/var/www/html/public/lib/classes/hook/manager.php
        if (empty($callbacks)) {
            // Nothing is interested in this hook.
            return $event;
        }
 
        foreach ($callbacks as $callback) {
            // Note: PSR-14 states:
            // If passed a Stoppable Event, a Dispatcher
            // MUST call isPropagationStopped() on the Event before each Listener has been called.
            // If that method returns true it MUST return the Event to the Emitter immediately and
            // MUST NOT call any further Listeners. This implies that if an Event is passed to the
            // Dispatcher that always returns true from isPropagationStopped(), zero listeners will be called.
            // Ergo, we check for a stopped event before calling each listener, not afterwards.
            if ($event instanceof StoppableEventInterface) {
                if ($event->isPropagationStopped()) {
                    return $event;
                }
            }
 
            call_user_func($callback, $event);
        }
 
        // Developers need to be careful to not create infinite loops in hook callbacks.
        return $event;
    }
 
    /**
     * Initialise list of all callbacks for each hook.
     */
    private function init_standard_callbacks(): void {
        global $CFG;
 
        $this->allcallbacks = [];
        $this->alldeprecations = [];
 
        // @codeCoverageIgnoreStart
        $shouldcache = $this->should_cache();
        if ($shouldcache) {
            $cache = $this->get_cache();
 
/var/www/html/public/local/lernhive/classes/dashboard/catalog_registry.php
            return self::collect_page($userid, $filter, $sortid, $lastpage, $perpage);
        }
        return [
            'offerings' => array_slice($result['offerings'], $page * $perpage, $perpage),
            'total' => $result['total'],
            'page' => $page,
        ];
    }
 
    /**
     * Dispatch the hook, filter, sort and count.
     *
     * @param int $userid Viewer id.
     * @param search_filter $filter Filter, possibly with a window.
     * @param string $sortid Sort mode id.
     * @return array{offerings:offering_data[],total:int}
     */
    private static function collect(int $userid, search_filter $filter, string $sortid): array {
        $hook = new collect_offerings($userid, $filter);
        di::get(hook_manager::class)->dispatch($hook);
 
        $offerings = $hook->get_offerings();
        $offerings = self::apply_visibility_filters($userid, $offerings, $filter);
 
        $option = self::sort_option($userid, $sortid);
        usort($offerings, static function (offering_data $a, offering_data $b) use ($option): int {
            $result = $option->compare($a, $b);
            return $result !== 0 ? $result : [$a->sourcecomponent, $a->id] <=> [$b->sourcecomponent, $b->id];
        });
 
        // Providers that reported a full count (they applied the visibility
        // rules themselves) count with it; every other provider with what
        // survived the filters above.
        $totals = $hook->get_totals();
        $total = array_sum($totals);
        foreach ($offerings as $offering) {
            if (!array_key_exists($offering->sourcecomponent, $totals)) {
                $total++;
            }
        }
/var/www/html/public/local/lernhive/classes/dashboard/catalog_registry.php
     * Merging the sorted heads of every provider yields the same first
     * `($page + 1) * $perpage` offerings as sorting everything.
     *
     * @param int $userid Viewer id, 0 for the public catalogue.
     * @param search_filter $filter Resolved filter values.
     * @param string $sortid Sort mode id.
     * @param int $page Zero-based page.
     * @param int $perpage Offerings per page.
     * @return array{offerings:offering_data[],total:int,page:int} The page (clamped to the last one) and the total.
     */
    public static function collect_page(
        int $userid,
        search_filter $filter,
        string $sortid,
        int $page,
        int $perpage
    ): array {
        $perpage = max(1, $perpage);
        $page = max(0, $page);
        $result = self::collect($userid, $filter->with_window($sortid, ($page + 1) * $perpage), $sortid);
        $lastpage = max(0, (int) ceil($result['total'] / $perpage) - 1);
        if ($page > $lastpage) {
            // A stale deep link past the end shows the last page instead of nothing.
            return self::collect_page($userid, $filter, $sortid, $lastpage, $perpage);
        }
        return [
            'offerings' => array_slice($result['offerings'], $page * $perpage, $perpage),
            'total' => $result['total'],
            'page' => $page,
        ];
    }
 
    /**
     * Dispatch the hook, filter, sort and count.
     *
     * @param int $userid Viewer id.
     * @param search_filter $filter Filter, possibly with a window.
     * @param string $sortid Sort mode id.
     * @return array{offerings:offering_data[],total:int}
     */
/var/www/html/public/local/lernhive/classes/output/catalog_page.php
            ? new \moodle_url($this->baseurl)
            : new \moodle_url('/local/lernhive/catalog.php');
        foreach ($params as $name => $value) {
            $url->param($name, $value);
        }
        return $url;
    }
 
    /**
     * Export the catalogue template context.
     *
     * @param \renderer_base $output Renderer instance.
     * @return array<string,mixed> Template context.
     */
    public function export_for_template(\renderer_base $output): array {
        $sortid = (string) ($this->rawparams['sort'] ?? 'relevance');
        // Real paging over the whole result (task36): providers build cards
        // only for the window, the counts come from their full match counts.
        // A host without paging shows the first page.
        $result = catalog_registry::collect_page($this->userid, $this->filter, $sortid, $this->page ?? 0, self::PER_PAGE);
        $offerings = $result['offerings'];
        $matchcount = $result['total'];
        $totalcount = catalog_registry::collect_page($this->userid, new search_filter(), $sortid, 0, 1)['total'];
        $pagingbar = '';
        if ($this->page !== null && $matchcount > self::PER_PAGE) {
            $pagingbar = $output->render(new \paging_bar(
                $matchcount,
                $result['page'],
                self::PER_PAGE,
                $this->url($this->rawparams)
            ));
        }
        $sortoptions = catalog_registry::collect_sort_options($this->userid);
        $selectedsort = catalog_registry::sort_option($this->userid, $sortid);
 
        // Preserve any non-search params (e.g. format=, category=) across the
        // search-submit so a click on the search button does not silently drop
        // an active tag-driven filter.
        $extras = [];
        foreach ($this->rawparams as $name => $value) {
/var/www/html/public/local/lernhive/catalog.php
 
// View switcher (cards | month) — shared with the full-view catalogue block,
// see `catalog_view`.
$togglebase = new moodle_url('/local/lernhive/catalog.php', $rawparams);
echo catalog_view::view_toggle($togglebase, $view);
 
if ($view === catalog_view::VIEW_MONTH) {
    $monthhtml = catalog_view::month_html(
        $OUTPUT,
        $PAGE,
        $togglebase,
        $filter,
        $rawparams,
        $calendartime,
        (int) ($rawparams['expand'] ?? 0)
    );
    $renderable = new catalog_page($userid, $filter, $rawparams, $monthhtml, null, $dateerror);
    echo $OUTPUT->render_from_template(
        'local_lernhive/catalog_page',
        $renderable->export_for_template($OUTPUT)
    );
} else {
    $renderable = new catalog_page($userid, $filter, $rawparams, null, null, $dateerror, $page);
    echo $OUTPUT->render_from_template(
        'local_lernhive/catalog_page',
        $renderable->export_for_template($OUTPUT)
    );
}
 
echo html_writer::end_div();
echo $OUTPUT->footer();
 

Environment & details:

Key Value
time 1225497600
view month
empty
empty
empty
Key Value
USER stdClass Object ( [id] => 0 [mnethostid] => 1 [access] => Array ( [ra] => Array ( [/1] => Array ( [6] => 6 ) ) [time] => 1793365026 [rsw] => Array ( ) ) [enrol] => Array ( [enrolled] => Array ( ) [tempguest] => Array ( ) ) [sesskey] => B5HAGUPxlg [preference] => Array ( ) )
SESSION stdClass Object ( [isnewsessioncookie] => 1 [cachestore_session] => Array ( [default_session-core/coursecat] => Array ( [__lastaccess__u0_de9727a00274af9378c516ac106c7d38] => Array ( [0] => 1793365026 [1] => 1793365026 ) [u0_de9727a00274af9378c516ac106c7d38_260b57ae1c3966b1910137be05eb286db0e0c867] => Array ( [0] => 1793365026.9876-6ae49422f11f21.38146387 [1] => 1793365026 ) [u0_de9727a00274af9378c516ac106c7d38_0878690aecf796a687f345a5cf7ce17a758a13e6] => Array ( [0] => Array ( [2] => Array ( [name] => Admin User [path] => /2 ) [58] => Array ( [name] => Praxisbeispiele [path] => /58 ) [59] => Array ( [name] => Einstieg und Pflichtwissen [path] => /58/59 ) [60] => Array ( [name] => Zusammenarbeit und Führung [path] => /58/60 ) [61] => Array ( [name] => Kunden, Produkt und Daten [path] => /58/61 ) [62] => Array ( [name] => Seminarveranstaltungen [path] => /62 ) [63] => Array ( [name] => Vorlagen [path] => /63 ) [64] => Array ( [name] => Nugget-Pool [path] => /64 ) ) [1] => 1793365026 ) [u0_de9727a00274af9378c516ac106c7d38_eae4bdad609813f1131741916a481c2b05ca4ee3] => Array ( [0] => Array ( ) [1] => 1793365026 ) [u0_de9727a00274af9378c516ac106c7d38_f94cf60b9b9490154c92b9fc367aa7e1af8368de] => Array ( [0] => Array ( [0] => 2 [1] => 58 [2] => 62 [3] => 63 [4] => 64 ) [1] => 1793365026 ) ) [default_session-core/navigation_cache] => Array ( [__lastaccess__u0_de9727a00274af9378c516ac106c7d38] => Array ( [0] => 1793365026 [1] => 1793365026 ) ) [default_session-theme_boost_union/flavours] => Array ( [__lastaccess__u0_de9727a00274af9378c516ac106c7d38] => Array ( [0] => 1793365026 [1] => 0 ) [u0_de9727a00274af9378c516ac106c7d38_lastinvalidation-ab95758982f7eb97b18eb12d60b3d0cb] => Array ( [0] => 1793365026.9876-6ae49422f11f21.38146387 [1] => 0 ) [u0_de9727a00274af9378c516ac106c7d38_0-ab95758982f7eb97b18eb12d60b3d0cb] => Array ( [0] => [1] => 0 ) ) ) [theme_boost_union_menu_purgesessioncache] => 1 [theme_boost_union_prevlang] => en )
Key Value
HTTP_HOST dev.lernhive.de
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_VIA 2.0 Caddy
HTTP_X_FORWARDED_FOR 216.73.216.206
HTTP_X_FORWARDED_HOST dev.lernhive.de
HTTP_X_FORWARDED_PROTO https
HTTP_X_REAL_IP 216.73.216.206
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LD_LIBRARY_PATH /usr/local/instantclient
SERVER_SIGNATURE <address>Apache/2.4.66 (Debian) Server at dev.lernhive.de Port 80</address>
SERVER_SOFTWARE Apache/2.4.66 (Debian)
SERVER_NAME dev.lernhive.de
SERVER_ADDR 172.23.0.2
SERVER_PORT 443
REMOTE_ADDR 172.23.0.3
DOCUMENT_ROOT /var/www/html/public
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /var/www/html/public
SERVER_ADMIN webmaster@localhost
SCRIPT_FILENAME /var/www/html/public/local/lernhive/catalog.php
REMOTE_PORT 36906
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING time=1225497600&view=month
REQUEST_URI /local/lernhive/catalog.php?time=1225497600&view=month
SCRIPT_NAME /local/lernhive/catalog.php
PHP_SELF /local/lernhive/catalog.php
REQUEST_TIME_FLOAT 1793365026.9616
REQUEST_TIME 1793365026
argv Array ( [0] => time=1225497600&view=month )
argc 1
HTTPS on
Key Value
MOODLE_DOCKER_DBUSER moodle
MOODLE_DOCKER_DBNAME moodle
MOODLE_DOCKER_TIMEOUT_FACTOR 1
HOSTNAME f5ad226f3b16
PHP_VERSION 8.3.30
APACHE_CONFDIR /etc/apache2
PHP_INI_DIR /usr/local/etc/php
GPG_KEYS 1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
PHP_LDFLAGS -Wl,-O1 -pie
MOODLE_DOCKER_RUNNING 1
PWD /var/www/html
APACHE_DOCUMENT_ROOT /var/www/html/public
MOODLE_DOCKER_WEB_PORT 127.0.0.1:8000
APACHE_LOG_DIR /var/log/apache2
LANG C
PHP_SHA256 67f084d36852daab6809561a7c8023d130ca07fc6af8fb040684dd1414934d48
TARGETPLATFORM linux/amd64
MOODLE_DOCKER_DBTYPE pgsql
MOODLE_DOCKER_WEB_HOST localhost
APACHE_PID_FILE /var/run/apache2/apache2.pid
PHPIZE_DEPS autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
MOODLE_DOCKER_BROWSER firefox
PHP_URL https://www.php.net/distributions/php-8.3.30.tar.xz
APACHE_RUN_GROUP www-data
APACHE_LOCK_DIR /var/lock/apache2
SHLVL 0
PHP_CFLAGS -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
MOODLE_DOCKER_DBPASS m@0dl3ing
LD_LIBRARY_PATH /usr/local/instantclient
APACHE_RUN_DIR /var/run/apache2
APACHE_ENVVARS /etc/apache2/envvars
APACHE_RUN_USER www-data
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHP_ASC_URL https://www.php.net/distributions/php-8.3.30.tar.xz.asc
PHP_CPPFLAGS -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
0. Whoops\Handler\PrettyPageHandler
1. Whoops\Handler\CallbackHandler