painejake / DigitalSignage

Digital Signage application created in CodeIgniter.
http://painejake.github.io/DigitalSignage/
15 stars 11 forks source link

PHP Error #3

Open XRG-IT opened 3 years ago

XRG-IT commented 3 years ago

Hello

Thanks for sharing! I got this error after completing the install

A PHP Error was encountered Severity: Notice Message: Only variable references should be returned by reference Filename: core/Common.php Line Number: 257

URL: http://172.17.1.19/DigitalSignage/index.php

Error line 257 shows this: /etc/mime.types for package: httpd-2.4.46-1.amzn2.x86_64

Do I need to reinstall httpd?

mwillis72 commented 3 years ago

I have faced the same problem but it looks like a issue of the codeigniter version used at the time as compared to the PHP version you are using in your server and this project has not been supported for 7 years now

bacl commented 2 years ago

Hi! This fixed it for me:

Edit file system/core/Common.php and replace line number 257 by

$_config[0] =& $config;
return $_config[0]; 

them also change the file install/config/database.php

$db['default']['dbdriver'] = 'mysqli'; 
$db['default']['pconnect'] = FALSE;

them run install again.

hapishyguy commented 1 year ago

This fixed for me too. Thanks! As all other various projects this is abandoned as well, Does anyone know any signage where we can have it displayed on android app. Some easy solution as I do not have much knowledge about does and suff. There is only few signage programs on github or otherwise but most of them dont have any android app. eg xibo charges for android app.

hyde0216 commented 1 year ago

Thanks for every bady. but, username: admin and what is password ?