[commits] [Wiki] changed: Doc/Dev/H6/Developer/KnownIssues

Wiki Guest wikiguest at horde.org
Thu May 8 20:15:35 UTC 2025


guest [194.99.110.232]  Thu, 08 May 2025 20:15:35 +0000

Modified page: https://wiki.horde.org/Doc/Dev/H6/Developer/KnownIssues
New Revision:  18
Change log:  remove fixed issues

@@ -58,85 +58,24 @@


  ++ horde

-+++ autoload.php): Failed to open stream
-Fixed with:  
https://github.com/horde/base/commit/81a8a11a23a15b3383a8049e1f428a5dbf52f904
-**Issue description:**

-<code>
-Got error 'PHP message: PHP Warning:   
require_once(/var/www/html/horde/vendor/vendor/autoload.php): Failed  
to open stream: No such file or directory in  
/var/www/html/horde/vendor/horde/horde/rampage.php on line 2 PHP  
message: PHP Fatal error:  Uncaught Error: Failed opening required  
'/var/www/html/horde/vendor/vendor/autoload.php'  
(include_path='.:/usr/share/php') in  
/var/www/html/horde/vendor/horde/horde/rampage.php:2\nStack trace:\n#0  
{main}\n  thrown in /var/www/html/horde/vendor/horde/horde/rampage.php  
on line 2'
-</code>
-
-**Proposed solution from Michael <michael at johalla.de>**
-
-I changed the path to autoload.php in vendor/horde/horde/rampage.php from
-<code>
-require_once dirname(__FILE__, 3) . '/vendor/autoload.php';
-</code>
-to
-<code>
-require_once dirname(__FILE__, 4) . '/vendor/autoload.php';
-</code>
++++ can't edit/change events since 'start_year' doesn't go back far enough:

-+++ can't edit/change events since 'start_year' doesn't go back far enough:
-
-**Proposed solution from Brent <impuser at bitrealm.com>**
-
-<horde-dir>/vendor/horde/core/lib/Horde/Core/Ui/VarRenderer/Html.php
-
-Hardcode start year to 1900 (hack, not sure where start_year is being  
determined.
+**Proposed solution from Brent <impuser at bitrealm.com>**
+
+<horde-dir>/vendor/horde/core/lib/Horde/Core/Ui/VarRenderer/Html.php
+
+Hardcode start year to 1900 (hack, not sure where start_year is being  
determined.

  Line 529:
-<code>
+<code>
  -  for ($i = $var->type->getProperty('start_year'); $i <=  
$var->type->getProperty('end_year'); $i++) {
  +  for ($i = 1900; $i <= $var->type->getProperty('end_year'); $i++) {
-</code>
-
+</code>
+
  ++ turba
-
-+++ Non-static method Horde_Form::getType() cannot be called statically
-PR: https://github.com/horde/turba/pull/14
-**Issue description:**
-
-<code>
-A FATAL ERROR HAS OCCURRED
-
-NON-STATIC METHOD HORDE_FORM::GETTYPE() CANNOT BE CALLED STATICALLY
-
-in /var/www/html/horde/vendor/horde/turba/templates/browse/row.inc:75
-1. require() /var/www/html/horde/vendor/horde/turba/index.php:24
-2. Turba_View_Browse->run()  
/var/www/html/horde/vendor/horde/turba/browse.php:48
-3. Turba_View_List->display()  
/var/www/html/horde/vendor/horde/turba/lib/View/Browse.php:425
-4. Turba_View_List->getAlpha()  
/var/www/html/horde/vendor/horde/turba/lib/View/List.php:234
-5. Turba_View_List->_get()  
/var/www/html/horde/vendor/horde/turba/lib/View/List.php:294
-6. include() /var/www/html/horde/vendor/horde/turba/lib/View/List.php:442
-</code>
-
-**Proposed solution from Brent <impuser at bitrealm.com>**
-I have found the fix for this. I had to "patch" the
-/var/www/html/horde/vendor/horde/turba/templates/browse/row.inc
-file.  Here's my patch...I am decidedly NOT a programmer, so I've no
-idea if this is the right way to fix this, created a bottleneck, or if
-maybe I've unleashed Zod from his mirror prison.
-
-<code>
-@@ -72,11 +72,11 @@
-         if ($type == 'email') {
-             $this->variables[$this->columns[$c - 1]] =
-                 new Horde_Form_Variable('', $this->columns[$c - 1],
--                                        Horde_Form::getType('html'), false);
-+                                        (new
-Horde_Form(0))->getType('html'), false);
-         } else {
-             $this->variables[$this->columns[$c - 1]] =
-                 new Horde_Form_Variable('', $this->columns[$c - 1],
--                                        Horde_Form::getType($type, $params),
-+                                        (new
-Horde_Form(0))->getType($type, $params),
-                                         false);
-         }
-</code>


  +++ Fixed: This will fix the error you get if you try to add an  
image or edit an image for a contact in your address book
  Commit number:  
https://github.com/horde/Core/commit/7e1e507b7d01e36f2e96a93d222fed9a5fb16ca1



More information about the commits mailing list