Page 1 of 1

v1.2.83_039 Optimised Version

Posted: Mon 17. Oct 2022, 14:03
by PaderDesign
Hi everybody

This updated version comes with a bunch of important changes, mainly regarding the installation. Read more about it below in the change log.

Feel free to download it here:
https://www.paderdesign.de/gigkalender/downloads.html
There is also an update file available.

Btw, version v1.3 will get skipped, since I'm already working on v1.4.

Friendly greetings
PaderDesign

--Change Log (new features marked bold):
v1.2.83_039: Updated requirements regarding PHP module 'mbstring'
v1.2.83_038: install\index2.php: The installation also checks, if 'mbstring' module in PHP is enabled
v1.2.83_037: Bugfix: When gallery is opened there is this message:
⇒ Deprecated: Implicit conversion from float 136.51612903225808 to int loses precision in \gallery\functions.php on line 53
⇒ devision $newwidth/ratio caused a float, which does not work in functions like imagecreatetruecolor()
⇒ added a round().
v1.2.83_036: Bugfix: In some search engine results, like Ecosia, there was a PHP warning shown:
⇒ "Warning: Undefined array key "HTTP_ACCEPT_LANGUAGE" in /includes/backend_language_selector.php on line 7"
⇒ Apparently search engines do not have a language set, so here an empty language string is given
⇒ includes\backend_language_selector.php: Changed it with an isset()
v1.2.83_035: Bugfix: Front-End: Gallery: ERROR about missing 'original' folder was given
⇒ gallery\gallery.php: $OriginalsPath was wrong defined
v1.2.83_034: Bugfix: Front-End: Calendar: Several warnings in detail view, shortend strings were not required, the gig notes were shown twice and an 'x' was printed out twice
⇒ calendar\includes\frontend\subString.php: It was a WIP, but fixed now.
v1.2.83_033: Bugfix: Fatal error: Uncaught mysqli_sql_exception: Unknown column 'SetupContactURL' in 'field list' in functions\standard.php:12
⇒ includes\error_reporting.php: MySQLi Error Mode is permanently set to 'MYSQLI_REPORT_ERROR'
⇒ GigKalender 1.4 must have it permanently set to 'MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT'
v1.2.83_032: \guestbook\includes\showAllGuestbookEntries\subString.php
⇒ Applied new function getShortenedString2()
v1.2.83_031: \filesharing\filesharing.php: the mb_strtolower() has to vanish, as GigKalender will not relay on mbstring functions any longer
⇒ Removed counting of uppercase characters in file name
⇒ Removed mb_strtolower(), so file names keep their uppercase chararcters
v1.2.83_030: \calendar\includes\frontend\subString.php
⇒ Using new function getShortenedString2()
v1.2.83_029: \calendar\includes\frontend\GigNotes.php
⇒ Applied new function getShortenedString2()
v1.2.83_028: Bugfix: Deprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in \functions\standard.php on line 11
⇒ \functions\standard.php: getShortenedString2()
⇒ Added an IF statement
v1.2.83_027: \guestbook\includes\showAllGuestbookEntries\subString.php
⇒ Applied new function getShortenedString2()
v1.2.83_026: \functions\standard.php:
- to get rid of mb_strlen() and mb_substr
⇒ Added new function getShortenedString2()
v1.2.83_025: includes\error_reporting.php: For backward compatibility with PHP versions < 8.1, MYSQLI error mode will be turned off here.
v1.2.83_024: Bugfix: \install\deinstall.php
- Fatal error: Uncaught mysqli_sql_exception: Unknown table 'gigkalender12_gigs' ... thrown in \install\deinstall.php on line 30
⇒ Rewritten a fair part of \install\deinstall.php by using two new functions
v1.2.83_023: Bugfix: install\deinstall.php: If you run deinstallation although GigKalender isn't installed, a Fatal Error gets thrown.
- Fatal error: Uncaught mysqli_sql_exception: Table 'gigkalender12_setup' doesn't exist ... thrown in \functions\standard.php on line 11
- included was still the old \includes\header.php
⇒ including the new \install\head.php
v1.2.83_022: Bugfix: On deinstall: Fatal error: Uncaught mysqli_sql_exception: Unknown table 'gigkalender12_menu' in install\deinstall.php on line 59
⇒ \install\deinstall.php: Added an IF EXISTS to SQL statement
v1.2.83_021: Bugfix: /frontend/example_gallery.php
⇒ If subfolder 'original' doesn't exist, a warning gets thrown:
⇒ Warning: Undefined array key -1 in \gallery\gallery.php on line 67
⇒ \gallery\gallery.php: added an IF clause to filter for missing folders
v1.2.83_020: install/index2.php: Modified to make use of install/head.php
v1.2.83_019: install/index.php: Modified to make use of install/head.php
v1.2.83_018: Installation failed under new XAMPP with PHP 8.1 and MariaDB
⇒ This happened, because installation and backend both included the same includes/head.php
⇒ The includes/head.php requested a var from database table, which did not exist before it got installed
⇒ Apparently the new MariaDB v10.4.24 is not failing silently anymore
⇒ Added new file install/head.php
v1.2.83_017: Bugfix: frontend/example_gallery.php?&album=demo&image=1
⇒ Deprecated: nl2br(): Passing null to parameter #1 ($string) of type string is deprecated in \gallery\gallery.php on line 161
https://github.com/justinrainbow/json-schema/pull/666
⇒ added an "if ($Text!==NULL)"
v1.2.83_016: Bugfix: /frontend/example_calendar_past.php:
Fatal error: Uncaught mysqli_sql_exception: Unknown column 'SetupFrontendCalendarGigDetailsURL' in 'field list'
⇒ functions/standard.php.getFrontendURL($Var):
added an IF to perform getSetup() to not perform it on vars defined in gigkalender.ini.php