How to Install: IOT Directory

×

Warning message

  • You can't delete this newsletter because it has not been sent to all its subscribers.
  • You can't delete this newsletter because it has not been sent to all its subscribers.
  • You can't delete this newsletter because it has not been sent to all its subscribers.

dashboard_frontend

This component is a PHP web application

Requirements

  • PHP 5.3.3 (not tested with PHP 7)
  • MySQL 10.1.31 (MariaDB)
  • Node js (version v8.9.4)

Install

  • copy the front_end folder in a web accessible directory (i.e. /var/www/html) and rename it as you like 

Import DB tables

  • see details in the dashboard_backend component

Configure

  • edit the database.ini file to set the host and credentials for the DB.
  • Edit the serviceURI.ini for specifying the service for the management of user ownerships, delegation and knowledge base.
  • change the permissions to the img folder to allow the webserver to write in this folder. (e.g. "chown -R www-data:www-data img")
  • In a private directory you have to create two subdirectories (“log” and “certificate”) for storing logs and certificates. These directory paths should be reported in the “general.ini” file contained in the conf directory. Make sure to grant writing permissions on these directories.
  • The “snap4cityServer” directory contains the node.js code. The service should be started with the command “node snapIoTDirectory_rw.js”
How to Install: IOT Directory | Snap4City

Error

×

Error message

  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Notice: Trying to get property of non-object in user_is_logged_in() (line 1576 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_is_logged_in() (line 1576 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in og_field_access() (line 578 of /var/www/html/drupal/sites/default/modules/og/og.module).
  • Notice: Trying to get property of non-object in user_access() (line 806 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 818 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 819 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 825 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 828 of /var/www/html/drupal/modules/user/user.module).
  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/drupal/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/drupal/includes/bootstrap.inc).
  • Error: __clone method called on non-object in og_user_access_entity() (line 2249 of /var/www/html/drupal/sites/default/modules/og/og.module).
The website encountered an unexpected error. Please try again later.