[3.3][RC] Calendar Month View

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
leschek
Registered User
Posts: 838
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [3.2][BETA] Calendar Month View

Post by leschek »

This is part of the error log:

Code: Select all

Stack trace:
#0 /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php(88): Symfony\Component\Routing\Loader\YamlFileLoader->validate(Array, 'marttiphpbb_cal...', '/home/xxx/...')
#1 /home/xxx/public_html/phpBB3.2test/vendor/symfony/config/Loader/DelegatingLoader.php(40): Symfony\Component\Routing\Loader\YamlFileLoader->load('ext/marttiphpbb...', 'yaml')
#2 /home/xxx/public_html/phpBB3.2test/phpbb/routing/router.php(116): Symfony\Component\Config\Loader\DelegatingLoader->load('ext/martt in /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php on line 206
[14-Nov-2019 23:15:05 UTC] PHP Fatal error:  Uncaught InvalidArgumentException: The routing file "/home/xxx/public_html/phpBB3.2test/ext/marttiphpbb/calendarmonthview/config/routing.yml" contains unsupported keys for "marttiphpbb_calendarmonthview_page_controller": "pattern". Expected one of: "resource", "type", "prefix", "path", "host", "schemes", "methods", "defaults", "requirements", "options", "condition", "controller". in /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php:206
Stack trace:
#0 /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php(88): Symfony\Component\Routing\Loader\YamlFileLoader->validate(Array, 'marttiphpbb_cal...', '/home/xxx/...')
#1 /home/xxx/public_html/phpBB3.2test/vendor/symfony/config/Loader/DelegatingLoader.php(40): Symfony\Component\Routing\Loader\YamlFileLoader->load('ext/marttiphpbb...', 'yaml')
#2 /home/xxx/public_html/phpBB3.2test/phpbb/routing/router.php(116): Symfony\Component\Config\Loader\DelegatingLoader->load('ext/martt in /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php on line 206
[14-Nov-2019 23:15:16 UTC] PHP Fatal error:  Uncaught Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "marttiphpbb_calendarmonthview_page_controller" as such route does not exist. in /home/xxx/public_html/phpBB3.2test/cache/production/url_generator.php:45
Stack trace:
#0 /home/xxx/public_html/phpBB3.2test/phpbb/routing/router.php(168): phpbb_url_generator->generate('marttiphpbb_cal...', Array, 1)
#1 /home/xxx/public_html/phpBB3.2test/phpbb/routing/helper.php(148): phpbb\routing\router->generate('marttiphpbb_cal...', Array, 1)
#2 /home/xxx/public_html/phpBB3.2test/phpbb/controller/helper.php(114): phpbb\routing\helper->route('marttiphpbb_cal...', Array, true, false, 1)
#3 /home/xxx/public_html/phpBB3.2test/ext/marttiphpbb/calendarmonthview/event/menu_listener.php(54): phpbb\controller\helper->route('marttiphpbb_cal...', Array)
#4 /home/xxx/public_html/phpBB3.2test/vendor/symfony/event-dispatcher/EventDispatcher.php(214): marttiphpbb\calendarmonthview\event\menu_listene in /home/xxx/public_html/phpBB3.2test/cache/production/url_generator.php on line 45
[14-Nov-2019 23:17:00 UTC] PHP Fatal error:  Uncaught Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "marttiphpbb_calendarmonthview_page_controller" as such route does not exist. in /home/xxx/public_html/phpBB3.2test/cache/production/url_generator.php:45
Stack trace:
#0 /home/xxx/public_html/phpBB3.2test/phpbb/routing/router.php(168): phpbb_url_generator->generate('marttiphpbb_cal...', Array, 1)
#1 /home/xxx/public_html/phpBB3.2test/phpbb/routing/helper.php(148): phpbb\routing\router->generate('marttiphpbb_cal...', Array, 1)
#2 /home/xxx/public_html/phpBB3.2test/phpbb/controller/helper.php(114): phpbb\routing\helper->route('marttiphpbb_cal...', Array, true, false, 1)
#3 /home/xxx/public_html/phpBB3.2test/ext/marttiphpbb/calendarmonthview/event/menu_listener.php(54): phpbb\controller\helper->route('marttiphpbb_cal...', Array)
#4 /home/xxx/public_html/phpBB3.2test/vendor/symfony/event-dispatcher/EventDispatcher.php(214): marttiphpbb\calendarmonthview\event\menu_listene in /home/xxx/public_html/phpBB3.2test/cache/production/url_generator.php on line 45
[14-Nov-2019 23:19:48 UTC] PHP Fatal error:  Uncaught InvalidArgumentException: The routing file "/home/xxx/public_html/phpBB3.2test/ext/marttiphpbb/calendarmonthview/config/routing.yml" contains unsupported keys for "marttiphpbb_calendarmonthview_page_controller": "pattern". Expected one of: "resource", "type", "prefix", "path", "host", "schemes", "methods", "defaults", "requirements", "options", "condition", "controller". in /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php:206
Stack trace:
#0 /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php(88): Symfony\Component\Routing\Loader\YamlFileLoader->validate(Array, 'marttiphpbb_cal...', '/home/xxx/...')
#1 /home/xxx/public_html/phpBB3.2test/vendor/symfony/config/Loader/DelegatingLoader.php(40): Symfony\Component\Routing\Loader\YamlFileLoader->load('ext/marttiphpbb...', 'yaml')
#2 /home/xxx/public_html/phpBB3.2test/phpbb/routing/router.php(116): Symfony\Component\Config\Loader\DelegatingLoader->load('ext/martt in /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php on line 206
[14-Nov-2019 23:19:53 UTC] PHP Fatal error:  Uncaught InvalidArgumentException: The routing file "/home/xxx/public_html/phpBB3.2test/ext/marttiphpbb/calendarmonthview/config/routing.yml" contains unsupported keys for "marttiphpbb_calendarmonthview_page_controller": "pattern". Expected one of: "resource", "type", "prefix", "path", "host", "schemes", "methods", "defaults", "requirements", "options", "condition", "controller". in /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php:206
Stack trace:
#0 /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php(88): Symfony\Component\Routing\Loader\YamlFileLoader->validate(Array, 'marttiphpbb_cal...', '/home/xxx/...')
#1 /home/xxx/public_html/phpBB3.2test/vendor/symfony/config/Loader/DelegatingLoader.php(40): Symfony\Component\Routing\Loader\YamlFileLoader->load('ext/marttiphpbb...', 'yaml')
#2 /home/xxx/public_html/phpBB3.2test/phpbb/routing/router.php(116): Symfony\Component\Config\Loader\DelegatingLoader->load('ext/martt in /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php on line 206
[14-Nov-2019 23:20:07 UTC] PHP Fatal error:  Uncaught InvalidArgumentException: The routing file "/home/xxx/public_html/phpBB3.2test/ext/marttiphpbb/calendarmonthview/config/routing.yml" contains unsupported keys for "marttiphpbb_calendarmonthview_page_controller": "pattern". Expected one of: "resource", "type", "prefix", "path", "host", "schemes", "methods", "defaults", "requirements", "options", "condition", "controller". in /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php:206
Stack trace:
#0 /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php(88): Symfony\Component\Routing\Loader\YamlFileLoader->validate(Array, 'marttiphpbb_cal...', '/home/xxx/...')
#1 /home/xxx/public_html/phpBB3.2test/vendor/symfony/config/Loader/DelegatingLoader.php(40): Symfony\Component\Routing\Loader\YamlFileLoader->load('ext/marttiphpbb...', 'yaml')
#2 /home/xxx/public_html/phpBB3.2test/phpbb/routing/router.php(116): Symfony\Component\Config\Loader\DelegatingLoader->load('ext/martt in /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php on line 206
[14-Nov-2019 23:20:45 UTC] 13
[14-Nov-2019 23:20:45 UTC] 13
[14-Nov-2019 23:23:24 UTC] PHP Fatal error:  Uncaught InvalidArgumentException: The routing file "/home/xxx/public_html/phpBB3.2test/ext/marttiphpbb/calendarmonthview/config/routing.yml" contains unsupported keys for "marttiphpbb_calendarmonthview_page_controller": "pattern". Expected one of: "resource", "type", "prefix", "path", "host", "schemes", "methods", "defaults", "requirements", "options", "condition", "controller". in /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php:206
Stack trace:
#0 /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php(88): Symfony\Component\Routing\Loader\YamlFileLoader->validate(Array, 'marttiphpbb_cal...', '/home/xxx/...')
#1 /home/xxx/public_html/phpBB3.2test/vendor/symfony/config/Loader/DelegatingLoader.php(40): Symfony\Component\Routing\Loader\YamlFileLoader->load('ext/marttiphpbb...', 'yaml')
#2 /home/xxx/public_html/phpBB3.2test/phpbb/routing/router.php(116): Symfony\Component\Config\Loader\DelegatingLoader->load('ext/martt in /home/xxx/public_html/phpBB3.2test/vendor/symfony/routing/Loader/YamlFileLoader.php on line 206
[14-Nov-2019 23:23:48 UTC] 13
[14-Nov-2019 23:23:48 UTC] 13
User avatar
martti
Registered User
Posts: 911
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Calendar Month View

Post by martti »

Ok thanks. I will fix it when phpBB 3.3 is out.
User avatar
Miri4ever
Registered User
Posts: 608
Joined: Sat Mar 07, 2015 11:18 am
Contact:

Re: [3.2][BETA] Calendar Month View

Post by Miri4ever »

Does this extension use special PHP 7.1 commands or is it possible to run many of your extension with PHP 7.0. My host still not want updating to 7.1.
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
User avatar
martti
Registered User
Posts: 911
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Calendar Month View

Post by martti »

Miri4ever wrote: Sat Nov 16, 2019 9:03 pm Does this extension use special PHP 7.1 commands or is it possible to run many of your extension with PHP 7.0. My host still not want updating to 7.1.
PHP7.0 won't work probably. I set void return types on class methods. Still not upgrading to PHP 7.1? We're almost at PHP 7.4.
User avatar
martti
Registered User
Posts: 911
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.3][BETA] Calendar Month View

Post by martti »

Hi new version 0.8.0 of this extension is for phpBB 3.3+

Requirements:
User avatar
martti
Registered User
Posts: 911
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.3][BETA] Calendar Month View

Post by martti »

Hi, new version 0.9.0 fixes the issue that in some (rare) conditions the moon phases didn't show up.
User avatar
Miri4ever
Registered User
Posts: 608
Joined: Sat Mar 07, 2015 11:18 am
Contact:

Re: [3.3][BETA] Calendar Month View

Post by Miri4ever »

This is a wonderfull nice Extension and I had long wait for it, until my host gave me PHP 7.1 and higher. Yesterday I adapted the colors and design for my board style and tested the events. The moon phase and display week numbers is also great. I got long time before HJW Calendar. And the only I am really missing are the birthdays and national holdidays. HJW Calendar could handle and display those.

I could add a special date inside ACP and then it was marked for example ist says today is x-mas, without creating any topic for it. So having at least display the birthdays in some next release would be a much greater improvement.
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
User avatar
martti
Registered User
Posts: 911
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.3][BETA] Calendar Month View

Post by martti »

Hi, version 0.10.0 is out.

After upgrading my development environment to PHP 8.1 it became apparent to me I had still to do some cleanup:

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/marttiphpbb/calendarmonthview/controller/main.php on line 60: Undefined variable $twig_environment
[phpBB Debug] PHP Warning: in file [ROOT]/ext/marttiphpbb/calendarmonthview/render/row_container.php on line 31: Undefined array key 0
[phpBB Debug] PHP Warning: in file [ROOT]/ext/marttiphpbb/calendarmonthview/render/row_container.php on line 31: Undefined array key 1
[phpBB Debug] PHP Warning: in file [ROOT]/ext/marttiphpbb/calendarmonthview/render/row_container.php on line 31: Undefined array key 2
[phpBB Debug] PHP Warning: in file [ROOT]/ext/marttiphpbb/calendarmonthview/render/row_container.php on line 31: Undefined array key 3
[phpBB Debug] PHP Warning: in file [ROOT]/ext/marttiphpbb/calendarmonthview/controller/main.php on line 127: Undefined variable $dayspan
[phpBB Debug] PHP Warning: in file [ROOT]/ext/marttiphpbb/calendarmonthview/controller/main.php on line 127: Undefined variable $dayspan
[phpBB Debug] PHP Warning: in file [ROOT]/ext/marttiphpbb/calendarmonthview/controller/main.php on line 127: Undefined variable $dayspan
These warnings are fixed in the new version.
Post Reply

Return to “Extensions in Development”