config_custom.php changes to logo_img or menu_type not showing in UI

ONM

New member
v11.10 installed in /var/www/dadabik

root@lamp .../www/dadabik# ls -l images/
total 10392
-rw-rw-r-- 1 root www-data 2608 Sep 9 07:01 ajax_loader.gif
-rw-rw-r-- 1 root www-data 1728 Sep 9 07:01 csv.png
-rw-rw-r-- 1 root www-data 805 Sep 9 07:01 delete.png
-rw-rw-r-- 1 root www-data 1632 Sep 9 07:01 details.png
-rw-rw-r-- 1 root www-data 2187 Sep 9 07:01 edit.png
-rw-rw-r-- 1 root www-data 2078 Sep 9 07:01 file.png
-rw-rw-r-- 1 root www-data 1689 Sep 9 07:01 help.png
-rw-rw-r-- 1 root www-data 720 Sep 9 07:01 help_yellow.png
-rw-rw-r-- 1 root www-data 23576 Sep 10 20:40 logo.png
-rw-rw-r-- 1 root www-data 4573 Sep 3 08:13 logo_dadabik.png
-rw-rw-r-- 1 root www-data 5925905 Sep 9 07:01 lookup.mp4
-rw-rw-r-- 1 root www-data 4615429 Sep 9 07:01 master_details.mp4
drwxrwxr-x 2 root www-data 4096 Aug 25 02:33 msg
-rw-rw-r-- 1 root www-data 23576 Sep 9 07:09 ohafis.png
-rw-rw-r-- 1 root www-data 412 Sep 9 07:01 spunta.png
root@lamp .../www/dadabik#

root@lamp .../www/dadabik# ls -l include/config_custom.php
-rwxrwxr-x 1 root www-data 995 Sep 10 20:40 include/config_custom.php

I also saved logo..png as logo_dadabik.png then overwrote logo.png with my ohafis.png


root@lamp .../dadabik/include# cat config_custom.php
<?php
/*
Add here the config.php parameters you want to modify, together with their values;
see the documentation https://dadabik.com/index.php?function=show_documentation#config for furhter details
*/

// testing single quotes ''''`````'''''
// add your config parameters here

$serial_number = '<hidden>';
$dbms_type = 'mysql';
$host = 'localhost';
$db_name = 'ohafis';
$user = '<hidden>';
$pass = '<hidden>';
$secret_key = '<hidden>';
$dadabik_session_name = '<hidden>';
$timezone = 'Australia/Sydney';
$logo_img = 'images/ohafis.png';
$enable_sql_logging = 1;
$enable_access_logging = 1;
$default_install_enable_tables_on_creation = 'yes';
$grant_permissions_after_table_installation = 1;
$enable_data_tab_operations = 1;
$enable_create_view = 1;
$menu_type = 'drop_down_menu';
$graphic_theme = 'bluegray';
$enable_uploads = 1;
$picture_thumbnail_results_grid_max_height = 200;
root@lamp .../dadabik/include#


root@lamp .../dadabik/include# ps aux | grep apach
root 29064 0.0 0.6 260452 56192 ? Ss 07:11 0:00 /usr/sbin/apache2 -k start
www-data 31320 0.0 0.5 264244 45260 ? S 07:23 0:00 /usr/sbin/apache2 -k start
www-data 31321 0.0 0.3 260524 24660 ? S 07:23 0:00 /usr/sbin/apache2 -k start
www-data 31322 0.0 0.4 264120 38884 ? S 07:23 0:00 /usr/sbin/apache2 -k start
www-data 31323 0.0 0.5 261700 41664 ? S 07:23 0:00 /usr/sbin/apache2 -k start
www-data 31324 0.0 0.5 262068 42860 ? S 07:23 0:00 /usr/sbin/apache2 -k start
www-data 31388 0.0 0.4 262080 36412 ? S 07:23 0:00 /usr/sbin/apache2 -k start
www-data 31418 0.0 0.2 260476 23732 ? S 07:23 0:00 /usr/sbin/apache2 -k start
root 31653 0.0 0.0 3212 892 pts/0 R+ 07:58 0:00 grep --color=auto apach
root@lamp .../dadabik/include#
 

deep64blue

DaDaBIK Guru
Probably a caching issue, do you see the changes in an incognito/private window?

Have you tried forcing a CSS update by having this line in your config_custom.php:-

$force_reload_css_js = 1;
 

ONM

New member
When I checked this morning it had fixed itself. What a pleasant surprise. Thanks for the response
 

deep64blue

DaDaBIK Guru
Glad to hear it, likely a cache issue then.

On your development system it's worth setting $force_reload_css_js to avoid issues like this.
 

ONM

New member
I still have this caching issue. After adjusting config_custom.php, what do I need to do to which cache? I've added $force_reload_css_js = 1; to my dev system but I'm missing a step. Thanks
 
Top