Fresh install issues (+small patch)

16 views
Skip to first unread message

Marco Amadori

unread,
Oct 24, 2012, 6:12:38 AM10/24/12
to neolog...@googlegroups.com
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.

The import of DBpedia ontology (ontology.owl renamed ontology.rdf) timeouts with:

PHP Fatal error:  Maximum execution time of 60 seconds exceeded in /srv/neologism/sites/all/modules/evoc/evoc.load_vocab.inc on line 736, referer: http://ontologies.spaziodati.eu/neologism/import

Since I already augmented the "max_execution_time", "max_input_time" in php.ini, I guess I'm missing something fundamental.

And to not just complaining without giving back a little, here it is a small patch that removes a warning ("Creating default object from empty value in /srv/neologism/sites/all/modules/neologism/neologism.module on line 1035.")

--- sites/all/modules/neologism/neologism.module_old    2012-10-24 12:09:32.000000000 +0200
+++ sites/all/modules/neologism/neologism.module        2012-10-24 11:03:16.000000000 +0200
@@ -1032,6 +1032,7 @@
  *   $custom_uri The vocabulary's custom namespace URI, if any
  */
 function _neologism_namespace_uri($path, $custom_uri = null) {
+  $node = new stdClass();
   return $node->namespace_uri = empty($custom_uri) ? url($path, array('absolute' => TRUE)) . '#' : $custom_uri;
 }
Reply all
Reply to author
Forward
0 new messages