Il giorno mercoledì 24 ottobre 2012 12:26:08 UTC+2, Marco Amadori ha scritto:
Hi all,
I installed neologism 5.3 on a recent debian amd64 (sid) server, with php 5.4.4-7 and mysql 5.5.24+dfsg-9, the installation is there, and I particulary miss a feature I saw in other public neologism installation.
It seems that the (flash?) widget that displays a drop down list for Classes and Properties is missing completely.
Here it is a patch for this bug, which is related to a deprecated feature in PHP5.3, now removed in PHP5.4:
$ diff --git a/sites/all/modules/neologism/neologism.gateway.php b/sites/all/modules/neologism/neologism.gateway.php
index 6e9ad7f..858c4e7 100644
--- a/sites/all/modules/neologism/neologism.gateway.php
+++ b/sites/all/modules/neologism/neologism.gateway.php
@@ -214,7 +214,7 @@ function neologism_gateway_get_full_classes_tree() {
}
// create the node for the class
- _neologism_gateway_create_class_treenode(&$nodes, $node, $class, $disjointwith, $array_disjointwith, $array_references);
+ _neologism_gateway_create_class_treenode($nodes, $node, $class, $disjointwith, $array_disjointwith, $array_references);
}
// fetch all the external superclasses
@@ -909,4 +909,4 @@ function &_neologism_array_rpop(&$a){
$v=&$a[$k];
unset($a[$k]);
return $v;
-}
\ No newline at end of file
+}