Iconify Custom Node Icons [Deleted]

Installer for Iconify integration appends code to src/config.php, probably there is something with permissions preventing it from working on live forum.

Try this:
1. Upload all files
2. Manually append code to src/config.php (copy it from file on your test forum)
3. Install add-on
Tried it, but no help... still won't change the icon.
 
Server techs show these errors today...

Code:
root@host [***/public_html]# tail error_log
[01-Jun-2019 18:17:05 UTC] PHP Parse error: syntax error, unexpected '$iconifyConfigFile' (T_VARIABLE) in /***/public_html/src/config.php on line 23
[01-Jun-2019 18:17:05 UTC] PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0
[01-Jun-2019 18:17:10 UTC] PHP Parse error: syntax error, unexpected '$iconifyConfigFile' (T_VARIABLE) in /***/public_html/src/config.php on line 23
[01-Jun-2019 18:17:10 UTC] PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0
[01-Jun-2019 18:17:16 UTC] PHP Parse error: syntax error, unexpected '$iconifyConfigFile' (T_VARIABLE) in /***/public_html/src/config.php on line 23
[01-Jun-2019 18:17:16 UTC] PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0
[01-Jun-2019 18:17:19 UTC] PHP Parse error: syntax error, unexpected '$iconifyConfigFile' (T_VARIABLE) in /***/public_html/src/config.php on line 23
[01-Jun-2019 18:17:19 UTC] PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0
[01-Jun-2019 18:17:28 UTC] PHP Parse error: syntax error, unexpected '$iconifyConfigFile' (T_VARIABLE) in /***/public_html/src/config.php on line 23
[01-Jun-2019 18:17:28 UTC] PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0
 
Looks like php syntax error. Can you post contents of your config.php (don't forget to remove db name and password before posting)?
 
Looks like php syntax error. Can you post contents of your config.php (don't forget to remove db name and password before posting)?
Code:
<?php

$config['db']['host'] = 'localhost';
$config['db']['port'] = '***';
$config['db']['username'] = '***';
$config['db']['password'] = '******;
$config['db']['dbname'] = '****';

$config['superAdmins'] = '1';
$config['enableTfa'] = false;

//$config['development']['enabled'] = true;

$config['cache']['enabled'] = true;
$config['cache']['provider'] = 'Memcached';
$config['cache']['config'] = [
    'server' => '127.0.0.1'
];

$config['debug'] = false;


/* Include Iconify code */
$iconifyConfigFile = __DIR__ . '/addons/Iconify/Iconify/config.php';
if (@file_exists($iconifyConfigFile))
{
  require($iconifyConfigFile);
}
/* End of Iconify code */
 
That's what I was thinking. I suppose there is something else interfering with it... dunno. A shame... as we really like it on our test forum. And we haven't changes anything other than upgrading to PHP 7.3 ... but it wasn't working on 5.2 before the upgrade to 7.3.
 
Maybe whatever you have used to edit that file messed it up? Some editors add weird symbols to code.
 
Oh well. Its weird. New version won't require editing config.php, but it will take a while before its available because its about 5th in my todo list.
 
Top Bottom