Icons blowing up

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
SSchimkat
Posts: 29
Joined: 2018-01-04 18:49

Icons blowing up

Post by SSchimkat » 2018-08-07 11:28

Hi all

I keep getting exploding images:

Image

It happens quite random, so I'm having a hard time locating the error. Any hints please. :-o

Best regards, Søren

User avatar
a.gneady
Site Admin
Posts: 992
Joined: 2012-09-27 14:46
Contact:

Re: Icons blowing up

Post by a.gneady » 2018-08-23 14:21

Hmm .. I see no image in the post .. only the word "Image" .. Could you link to a screenshot please Søren?
:idea: Learn all the tips and tricks of customizing AppGini apps through our online course.

:arrow: Summary Reports plugin enables you to build powerful reports and charts inside your AppGini application through a few simple steps. See the big picture and discover trends in your data that empower you to take the right decisions confidently.

:arrow: Search Page Maker enables you to build user-friendly yet powerful search pages for your AppGini application by simply dragging and dropping the fields you want to include in search.

SSchimkat
Posts: 29
Joined: 2018-01-04 18:49

Re: Icons blowing up

Post by SSchimkat » 2018-08-24 06:36

That's strange .. because it's there. :-D

I'll try using another image hosting service. :-)

SSchimkat
Posts: 29
Joined: 2018-01-04 18:49

Re: Icons blowing up

Post by SSchimkat » 2018-08-24 06:39


User avatar
a.gneady
Site Admin
Posts: 992
Joined: 2012-09-27 14:46
Contact:

Re: Icons blowing up

Post by a.gneady » 2018-08-25 15:05

It's showing now. Donno why it wasn't at first! Hmm .. I see the url is ending with "Customers_view.php", so is this happening when you try to access the customers table, or when you try to click on an image to zoom in?
:idea: Learn all the tips and tricks of customizing AppGini apps through our online course.

:arrow: Summary Reports plugin enables you to build powerful reports and charts inside your AppGini application through a few simple steps. See the big picture and discover trends in your data that empower you to take the right decisions confidently.

:arrow: Search Page Maker enables you to build user-friendly yet powerful search pages for your AppGini application by simply dragging and dropping the fields you want to include in search.

SSchimkat
Posts: 29
Joined: 2018-01-04 18:49

Re: Icons blowing up

Post by SSchimkat » 2018-08-28 10:30

Hi Ahmed

It happens quite random - but it's when entering the page. A reload always fixes the issue.

I just might think - that is mostly happes when the webserver has just been restarted (Apache 2.4.6, PHP 7.2.8, CentOS 7.5). Perhaps some initial caching fails?

Regards Søren

SSchimkat
Posts: 29
Joined: 2018-01-04 18:49

Re: Icons blowing up

Post by SSchimkat » 2018-08-28 10:41

.. or perhaps it's when running on a slow line. I can provoke the error by repeatedly clicking the refresh button - while using slow internet on the ferry.

Code: Select all

<html class="no-js"><head></head><body>�PNG

IHDR�2uW��	pHYs���+�IDATx���{�\�}�?���q��38��Bǡ%.�%�5{�[��&gt;RB�("�	)r	wb�"0	T��G^�4!̓&amp;-J`f�u�(�n	l˲\�u`�rd���?f����;�3���ݯt��s���;�{������,bs�b�,+ĥZ������`�����S}��%
Q)�?7$�Uʍ��e�Q�K�W�	�&lt;��2�F��d�"���&amp;������B\:_��\�����U�ߞk9��8)b&gt;"��
1��R-"/�yN��i�'y���R_r�]27͵��F!*���s
�Ժ�C��h|��Fy'��鰦_�d���Ć��uu�R&gt;4�r,b�qr:����������������l'"q�X���Q�c(F�ӌo���W��O�J���A!N��\\,��Ɛ�,�͂#DK�=qPhEt�}�iwI����2|��BTZ#��r���Kxd΅ZD[��ا��4�T�;� �t�d:�b\����
��ԫ���滈�(��9�V�;����&amp;hq���|q'd���0&lt;��Ë���Hs�Qi���R��n?�#�@��.b6
Q���;�r�5x�6o�W�'�P�Et���.�z!"�ھHs,�
����U��m�3ũQ��!��^'i5�������A~�^��
�CI�9m�m�Z���|���_|���զ�wd�x���b\�!�%_�U˳ڭ'���2������z�s�3�-X)FI�tf5��eN_�p�w�m~h�����P-����rs�:�sړm�r����B[�ۄW4'���'Nn�8�!s3Kr����R�J�Y�l�Wx%@�3�0��Cݙ"�
��B�Q0�`��Eoo��a��˩�?��~Z�K�l��v��U��U���V�{��
����G�o�����M�'���%4̽�2�����&gt;�_!N�j��;0A�2��9�`=�[&gt;ڸ�L'e
Qr)���y���#���/�]���W�{g�,��2��y;�c�U��3�b\���KB��V�N0�?s@1�Mp���_��ѥ����.�8��'�?4��k�B�,���k�\O��G�ʅ���]=�q�~��a\fL5C��s�s$��.�,]��h&amp;��Q��v�Y�J����̪���ޟy�����|&gt;w�|�ƽ8X�BTZ��+3���v�_��q����P/|�	A�`kV�b�l4�2���&gt;,���n�
����D��L�����~/ƥsm�$�_�	D{��9�C�w4�{2&amp;����$�[��b'���yr9�e���/l�������V̷���D�Z�������nL:��k$]��ͯg����y�_������W��M�y��xi�Y�������'�ɺ����U����L�[��e6�)�Hd�q�W,ji��b6#��k‚�ީ6�geճ��������]�����ۋy��G[�8\��K�	�6��5��X
�������#V�՟�]�s��O�~��Fc���@��!��Y��Qe-X�K9���4#������ʌ���tz����@T�����&gt;P�KK�ꞅS��O��	���n��P�yS�Z�ۭ,�AQH)ˣ�J��!e�sw��b\tE@��s����`8��V)�l��?�3�5?�\ćAz�_&amp;_#ؐ�Q��/뺙����z��C�}a&lt;����h4�Ixm����k���Az�
l�)C�I�^��?�_��нv�o���%���6c=]6����-�E��V-O[o��t̅]k ˏt���i9�ό�oԚ�
Ws�BT*
�
�W&gt;9ϟ��S&amp;�?	�O�c]���xI�~aC
�d��#G^����O�~7�����k~ё�[�J� �,������!���s��D�o���q����ͥ�v���ڟXA��8�s�#Mc��xS
	J��D�w50�q�ɗ��3���$����&amp;�F�\&lt;���@&gt;��A�Y|�Qr:��{z��W���� 
jc3�b���Nm�&gt;_by@����X��1�y2~��i����jrS�^���A(�O����~��NR!J�c�͢g��V-��Yn��%9`(HΦSHG�Q`[�֚}&amp;� �m�*D�i]�ݯ&amp;��j�yL
�z�V)��Bs�P�{�G_:s������9�B�:�*m�^�a��賤@&amp;&amp;X�ٵ�H�f첎f�����@O��(İ%Xa��b��:���\ٌ�c~�T��Q���1.��4čУ!�'�&amp;��d��
yY�N��8;�&gt;�i���yK-~R���/wS��e���gA�S�C���ћϻ�A:��Y��u�$c�=!�P����@�s��pG��B������/M͐�C������1�NjqrU�2�z
m6?��9��c�	���րo�y�����SB(���#lܤB&lt;A��®˝��UO��յj��ves����e&gt;]����
q��KƱ=�;k�rf�C(�Hy7���	͒��N�vK��PS����o�(i��Y�m��N4��8e�
�b�|�_�J
u��+/��&gt;�K�p��~���;�a1N�o���g�zs�^ˌ��l���q�/F�	ߒEc������Ẋ]���4:�JM�c���l�'Ljwo�Εq��m����1��Gon!3��BAO�+��̪���dqaˍ���*ی
h,��Lm��QR:��\U�g�[�ɭ�tF�Q��=�p3i�K����v�w2q!JRg�B���ZH{�M��B1.����o�Ԕޟ��Zxَ'���Zc&amp;�����6^VxD�AZbn�'�π���W�#m��T,Հ��R��	�z��G�ᆕ=y�9�3`�zZ֦�`w�&gt;-Y�]�
Q2�}��e5_�*���be������w/�5M��?z{��v"��wf!*��)��B�\��r�K9S�}���RW�ﵚ�8��i�4���Z2{}&gt;���B�h�,cg�1Q{��G?���\z?��y��M��=�Z~\6
��{�g�&amp;N������̬u�`�_���Ӏi~�+�Rq�2�o���U�_hE���9졀wp~ �d��R�4�Ʉ�g��	H��t��eK6���Q��z��m?,���[�c���Ӓi�Dq���cl֋nygo���0c��5�~���������0y�ϒ���'���+�&amp;$�kG=��y1.�6�t�������2(�ѭ��ڿ��
3�f���(x�&lt;�p�a��&gt;�&lt;�L�y=ߣ�g�Dz��t��al1�c۶Y�'ᡅ6z�1܌d�^��Gܽ�2N�c�Ħ%���G�;z���X���)�~�������;;�Q����a�X-��|t���㱱7ڮ-fzƁ���&amp;`p����-7����0�4���Jyw�t�&lt;��:�k:�d�2�V������oA�J����B�o�&lt;��d��a�j���ot�K�@�Ү�$�OҢ?%n�9������4e��c
��S���K��.#����\'$Oݼ5�FcS:���|�ـ��`��mE���	`K1N�Az���4�}w;H���y��
LM�'6�z{9#�[�Ba����Ɵ�^��[�^l�K�X�J�[�T���B�������yV���q� �n����0P����{H{;���z�}��f�FcM#_��Z���e&gt;Q����p�Y(�I��R�%�ӵ���Z�k�u�"�t��� �S�F]��
��W�`����!\�P����	m���d���AI��
Į�#�5���n֤���*�Ϥ�OO
���Q��_���+#�*����&amp;T��Ɔ=G'�t�f&gt;����K~bW�`mw'&lt;�Q2&gt;?lg�[��?ǁ���#Y���f���Rk�3�Q�l䏧�憟���
AKQ��ށJ�J��7R��6pf�eE�K��C��UwBpHg�����4�����:��!Pp��P�&gt;��;�V3�LF�
�����`�L��j��:�&gt;�-w�/m��v��镎m�r}i��m0�	�vR��|A�e��i�ZB�!��YF�tQ �������������A������+lq�2nd&gt;W���wC�Hn�t�Ӻ��l����JA���k@gv=+�O�+�g&gt;.%yP��\���Q��4�h#tR�
]��{&lt;�b\Z
�ᄂZ�vv�:�^���q�I���3o/�.Ț�Sk�S���y�_���Ǭlj`AHCY@�#��e�F{&amp;
Q2`9�6�	lف�wZ)黝�����u/}6���S���˱2H����&gt;���=�Q��g-C^��r�Ə�����9�p��˻n�@J�O^Ҳ���-�8�Nh���??��l�	߽���8���Z���p��:�D̊�P�J���ˁ�
��\���T`�r���P�'G&gt;?��O���~}���
��Ognm�^-?�ƫmY8��2�r��=x������|�쥉��~�w��Rx�p��I礴&gt;������+	���c�2�M��RХ�}(–��x���Z��C�FO#��z��c �"Jr��0�L9�Յ����	��9Rn��Uʇ�w��VG���&gt;�Ƨ�$z��uo�&lt;�4���M��.e�q�R&gt;�&gt;�w�6޽���m
N�����-���c���	���+N�C�k�s*�PO	__��_%�˿j陾���4�&amp;����N�㈷��m$=8��L����.)I��8&gt;y�S:�����뜖VH���Y���ۼ$s�=����q�^1��7�x���6�:}��`���h�謻�VFI�0�"͂�nK������j�;��z��ݧ�ڮ�ժ�}�o��AO&amp;���
O�k�m���^-O�mH(_��w�L`�0�`�T��m�lo�y�����
W�+��|:H�J���c`Oo2�1��C߿sV�h���R6�}�7�P���QW�A�m��Q�����mV�K�D�������T2���y��vq�t��V&gt;ߎ����G{�W�3�8���H?���`���J�8��)����;�W���s=���z���Ÿ�z�%��k
+�PA��o�&gt;k{l�.�`<n�xv�q��z��s'�v-�^%�6 html="" <!doctype="" 5556="" charset="UTF-8" html;="" text="" chunked="" keep-alive="" max="96" timeout="5," sameorigin="" no-cache="" must-revalidate="" no-cache,="" no-store,="" gmt="" 08:52:00="" 1981="" nov="" 19="" thu,="" 7.2.8="" php="" 2.3.9="" mod_fcgid="" 1.0.2k-fips="" openssl="" (centos)="" 2.4.6="" apache="" 2018="" aug="" 28="" tue,="" ok="" 200="" 1.1="" ��h�l����a{��}1h�2\)�i�x;9�o@����y�x�"��e,b�xd���{�ʚ�<�����iend�b`�http="" �x(��y���?="" �i����f�="" �j8[�p�����="�z&#27;��&#11;q򀭋��" 10:32:57="">
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->  <!--<![endif]-->
	
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="description" content="">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">

		<title>Packman | Customers</title>
		<link id="browser_favicon" href="resources/images/appgini-icon.png" rel="shortcut icon">

		<link href="resources/initializr/css/cerulean.css" rel="stylesheet">
		<link href="resources/lightbox/css/lightbox.css" rel="stylesheet" media="screen">
		<link href="resources/select2/select2.css" rel="stylesheet" media="screen">
		<link href="resources/timepicker/bootstrap-timepicker.min.css" rel="stylesheet" media="screen">
		<link href="resources/datepicker/css/datepicker.css" rel="stylesheet" media="screen">
		<link href="resources/bootstrap-datetimepicker/bootstrap-datetimepicker.css" rel="stylesheet" media="screen">
		<link href="dynamic.css.php" rel="stylesheet">

		<!--[if lt IE 9]>
			<script src="resources/initializr/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>
		<![endif]-->
		<script src="resources/jquery/js/jquery-1.12.4.min.js"></script>
		<script>var $j = jQuery.noConflict();</script>
		<script src="resources/moment/moment-with-locales.min.js"></script>
		<script src="resources/jquery/js/jquery.mark.min.js"></script>
		<script src="resources/initializr/js/vendor/bootstrap.min.js"></script>
		<script src="resources/lightbox/js/prototype.js"></script>
		<script src="resources/lightbox/js/scriptaculous.js?load=effects"></script><script src="https://packman.mansoft.dk:4433/resources/lightbox/js/effects.js" type="text/javascript"></script>
		<script src="resources/select2/select2.min.js"></script>
		<script src="resources/timepicker/bootstrap-timepicker.min.js"></script>
		<script src="resources/jscookie/js.cookie.js"></script>
		<script src="resources/datepicker/js/datepicker.packed.js"></script>
		<script src="resources/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
		<script src="common.js.php"></script>
		
	
	
		<div class="container theme-cerulean theme-compact">
			
									<nav class="navbar navbar-default navbar-fixed-top hidden-print" role="navigation">
			<div class="navbar-header">
				<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".navbar-collapse">
					<span class="sr-only">Toggle navigation</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<!-- application title is obtained from the name besides the yellow database icon in AppGini, use underscores for spaces -->
				<a class="navbar-brand" href="index.php"><i class="glyphicon glyphicon-home"></i> PackMan</a>
			</div>
			<div class="collapse navbar-collapse">
				<ul class="nav navbar-nav">
															<li class="dropdown">
					<a class="dropdown-toggle" href="#" data-toggle="dropdown">Jump to ... <b class="caret"></b></a>
					<ul class="dropdown-menu" role="menu"><li><a href="Customers_view.php?t=1535452377"><img height="32" src="resources/table_icons/reseller_programm.png"> Customers</a></li><li><a href="Packages_view.php?t=1535452377"><img height="32" src="resources/table_icons/server_components.png"> Packages</a></li></ul>
				</li>									</ul>

									<ul class="nav navbar-nav">
						<a title="Admin Area" class="btn btn-danger navbar-btn hidden-xs" href="admin/pageHome.php"><i class="glyphicon glyphicon-cog"></i> Admin Area</a>
						<a title="Admin Area" class="btn btn-danger navbar-btn visible-xs btn-lg" href="admin/pageHome.php"><i class="glyphicon glyphicon-cog"></i> Admin Area</a>
					</ul>
				
															<ul class="nav navbar-nav navbar-right hidden-xs" style="min-width: 330px;">
							<a class="btn navbar-btn btn-default" href="index.php?signOut=1"><i class="glyphicon glyphicon-log-out"></i> Sign Out</a>
							<p class="navbar-text">
								Signed in as <strong><a class="navbar-link" href="membership_profile.php">ssc</a></strong>
							</p>
						</ul>
						<ul class="nav navbar-nav visible-xs">
							<a class="btn navbar-btn btn-default btn-lg visible-xs" href="index.php?signOut=1"><i class="glyphicon glyphicon-log-out"></i> Sign Out</a>
							<p class="navbar-text text-center">
								Signed in as <strong><a class="navbar-link" href="membership_profile.php">ssc</a></strong>
							</p>
						</ul>
						<script>
							/* periodically check if user is still signed in */
							setInterval(function(){
								$j.ajax({
									url: 'ajax_check_login.php',
									success: function(username){
										if(!username.length) window.location = 'index.php?signIn=1';
									}
								});
							}, 60000);
						</script>
												</div>
		</nav>
						<div class="hidden-print" style="height: 70px;"></div>
			
			
			<div class="notifcation-placeholder" id="notifcation-placeholder-62635430"></div>
			<script>
				$j(function(){
					if(window.show_notification != undefined) return;

					window.show_notification = function(options){
						/* wait till all dependencies ready */
						if(window.notifications_ready == undefined){
							var op = options;
							setTimeout(function(){ /* */ show_notification(op); }, 20);
							return;
						}

						var dismiss_class = '';
						var dismiss_icon = '';
						var cookie_name = 'hide_notification_' + options.id;
						var notif_id = 'notifcation-' + Math.ceil(Math.random() * 1000000);

						/* apply provided notficiation id if unique in page */
						if(options.id != undefined){
							if(!$j('#' + options.id).length) notif_id = options.id;
						}

						/* notifcation should be hidden? */
						if(Cookies.get(cookie_name) != undefined) return;

						/* notification should be dismissable? */
						if(options.dismiss_seconds > 0 || options.dismiss_days > 0){
							dismiss_class = ' alert-dismissible';
							dismiss_icon = '<button type="button" class="close" data-dismiss="alert">&times;</button>';
						}

						/* remove old dismissed notficiations */
						$j('.alert-dismissible.invisible').remove();

						/* append notification to notifications container */
						$j(
							'<div class="alert alert-' + options['class'] + dismiss_class + '" id="' + notif_id + '">' + 
								dismiss_icon +
								options.message + 
							'</div>'
						).appendTo('#notifcation-placeholder-62635430');

						var this_notif = $j('#' + notif_id);

						/* dismiss after x seconds if requested */
						if(options.dismiss_seconds > 0){
							setTimeout(function(){ /* */ this_notif.addClass('invisible'); }, options.dismiss_seconds * 1000);
						}

						/* dismiss for x days if requested and user dismisses it */
						if(options.dismiss_days > 0){
							var ex_days = options.dismiss_days;
							this_notif.on('closed.bs.alert', function(){
								/* set a cookie not to show this alert for ex_days */
								Cookies.set(cookie_name, '1', { expires: ex_days });
							});
						}
					}

					/* cookies library already loaded? */
					if(undefined != window.Cookies){
						window.notifications_ready = true;
						return;
					}

					/* load cookies library */
					$j.ajax({
						url: 'resources/jscookie/js.cookie.js',
						dataType: 'script',
						cache: true,
						success: function(){ /* */ window.notifications_ready = true; }
					});
				})
			</script>

			
			<!-- process notifications -->
						<div style="height: 60px; margin: -15px 0 -45px;">
							</div>

						<!-- Add header template below here .. -->

<div class="row"><div class="col-xs-12"><form name="myform" action="Customers_view.php" enctype="multipart/form-data" method="post"><script>function enterAction(){   if($j("input[name=SearchString]:focus").length){ $j("#Search").click(); }   return false;}</script><input id="EnterAction" style="position: absolute; left: 0px; top: -250px;" onclick="return enterAction();" type="submit" value="Submit Query"><div class="page-header"><h1><div class="row"><div class="col-sm-8"><a style="text-decoration: none; color: inherit;" href="Customers_view.php"><img src="resources/table_icons/reseller_programm.png"> Customers</a></div><div class="col-sm-4">		<div class="input-group" id="quick-search">
			<input name="SearchString" class="form-control" id="SearchString" type="text" placeholder="Quick Search" value="">
			<span class="input-group-btn">
				<button name="Search_x" title="Quick Search" class="btn btn-default" id="Search" onclick="document.myform.SelectedID.value = ''; document.myform.NoDV.value=1; return true;" type="submit" value="1"><i class="glyphicon glyphicon-search"></i></button>
				<button name="ClearQuickSearch" title="Show All" class="btn btn-default" id="ClearQuickSearch" onclick="$j('#SearchString').val(''); document.myform.SelectedID.value = ''; document.myform.NoDV.value=1; return true;" type="submit" value="1"><i class="glyphicon glyphicon-remove-circle"></i></button>
			</span>
		</div></div></div></h1></div><div class="hidden-print" id="top_buttons"><div class="btn-group btn-group-lg visible-md visible-lg all_records pull-left"><button name="addNew_x" class="btn btn-success" id="addNew" type="submit" value="1"><i class="glyphicon glyphicon-plus-sign"></i> Add New</button><button name="Print_x" class="btn btn-default" id="Print" onclick="document.myform.NoDV.value=1; document.myform.SelectedID.value = ''; return true;" type="submit" value="1"><i class="glyphicon glyphicon-print"></i> Print Preview</button><button name="CSV_x" class="btn btn-default" id="CSV" onclick="document.myform.NoDV.value=1; document.myform.SelectedID.value = ''; return true;" type="submit" value="1"><i class="glyphicon glyphicon-download-alt"></i> Save CSV</button><button name="Filter_x" class="btn btn-default" id="Filter" onclick="document.myform.NoDV.value=1; document.myform.SelectedID.value = ''; return true;" type="submit" value="1"><i class="glyphicon glyphicon-filter"></i> Filter</button><button name="NoFilter_x" class="btn btn-default" id="NoFilter" onclick="document.myform.NoDV.value=1; document.myform.SelectedID.value = ''; return true;" type="submit" value="1"><i class="glyphicon glyphicon-remove-circle"></i> Show All</button></div><div class="btn-group btn-group-lg visible-md visible-lg selected_records hidden pull-left hspacer-lg"><button class="btn btn-default dropdown-toggle" id="selected_records_more" type="button" data-toggle="dropdown"><i class="glyphicon glyphicon-check"></i> More <span class="caret"></span></button><ul class="dropdown-menu" role="menu"><li><a id="selected_records_print_multiple_dv_sdv" href="#"><span><i class="glyphicon glyphicon-print"></i> Print Preview Detail View</span></a></li><li><a id="selected_records_mass_change_owner" href="#"><span><i class="glyphicon glyphicon-user"></i> Change owner</span></a></li><li><a id="selected_records_add_more_actions_link" href="#"><span class="text-info"><i class="glyphicon glyphicon-question-sign"></i> Add more actions</span></a></li></ul></div><div class="btn-group-vertical btn-group-lg visible-xs visible-sm all_records"><button name="addNew_x" class="btn btn-success" id="addNew" type="submit" value="1"><i class="glyphicon glyphicon-plus-sign"></i> Add New</button><button name="Print_x" class="btn btn-default" id="Print" onclick="document.myform.NoDV.value=1; document.myform.SelectedID.value = ''; return true;" type="submit" value="1"><i class="glyphicon glyphicon-print"></i> Print Preview</button><button name="CSV_x" class="btn btn-default" id="CSV" onclick="document.myform.NoDV.value=1; document.myform.SelectedID.value = ''; return true;" type="submit" value="1"><i class="glyphicon glyphicon-download-alt"></i> Save CSV</button><button name="Filter_x" class="btn btn-default" id="Filter" onclick="document.myform.NoDV.value=1; document.myform.SelectedID.value = ''; return true;" type="submit" value="1"><i class="glyphicon glyphicon-filter"></i> Filter</button><button name="NoFilter_x" class="btn btn-default" id="NoFilter" onclick="document.myform.NoDV.value=1; document.myform.SelectedID.value = ''; return true;" type="submit" value="1"><i class="glyphicon glyphicon-remove-circle"></i> Show All</button></div><div class="btn-group-vertical btn-group-lg visible-xs visible-sm selected_records hidden vspacer-lg"><button class="btn btn-default dropdown-toggle" id="selected_records_more" type="button" data-toggle="dropdown"><i class="glyphicon glyphicon-check"></i> More <span class="caret"></span></button><ul class="dropdown-menu" role="menu"><li><a id="selected_records_print_multiple_dv_sdv" href="#"><span><i class="glyphicon glyphicon-print"></i> Print Preview Detail View</span></a></li><li><a id="selected_records_mass_change_owner" href="#"><span><i class="glyphicon glyphicon-user"></i> Change owner</span></a></li><li><a id="selected_records_add_more_actions_link" href="#"><span class="text-info"><i class="glyphicon glyphicon-question-sign"></i> Add more actions</span></a></li></ul></div>
		
		<div class="pull-right flip btn-group vspacer-md hspacer-md tv-tools" style="display: none;">
			<button title="Previous column" class="btn btn-default tv-scroll" onclick="AppGini.TVScroll().less()" type="button"><i class="glyphicon glyphicon-step-backward"></i></button>
			<button title="Next column" class="btn btn-default tv-scroll" onclick="AppGini.TVScroll().more()" type="button"><i class="glyphicon glyphicon-step-forward"></i></button>
		</div>
		<div class="clearfix"></div>

		
		<script>
			$j(function(){
				/**
				 *  @brief Saves/retrieves value of column toggle status
				 *  
				 *  @param [in] col_class class of column concerned
				 *  @param [in] val boolean, optional value to save.
				 *  @return column toggle status if no value is passed
				 */
				var col_cookie = function(col_class, val){
					if(col_class === undefined) return true;
					if(val !== undefined && val !== true && val !== false) val = true;

					var cn = 'columns-' + location.pathname.split(/\//).pop().split(/\./).shift(); // cookie name
					var op = { expires: 30, path: '' }; // cookie options
					var c = Cookies.getJSON(cn) || {};

					/* if no cookie, create it and set it to val (or true if no val) */
					if(c[col_class] === undefined){
						if(val === undefined) val = true;

						c[col_class] = val;
						Cookies.set(cn, c, op);
						return val;
					}

					/* if cookie found and val provided, set cookie to new val */
					if(val !== undefined){
						c[col_class] = val;
						Cookies.set(cn, c, op);
						return val;
					}

					/* if cookie found and no val, return cookie val */
					return c[col_class];
				}

				/**
				 *  @brief shows/hides column given its class, and saves this into cookies
				 *  
				 *  @param [in] col_class class of column to show/hide
				 *  @param [in] show boolean, optional. Set to false to hide. Default is true (to show).
				 */
				var show_column = function(col_class, show){
					if(col_class == undefined) return;
					if(show == undefined) show = true;

					if(show === false) $j('.' + col_class).hide();
					else $j('.' + col_class).show();

					AppGini.TVScroll().reset();

					col_cookie(col_class, show);
				}

				/* initiate TVScroll */
				AppGini.TVScroll().less();

						})
		</script>
		<p></p></div><div class="row"><div class="table_view col-xs-12 "><script>jQuery(function(){ jQuery("input[name=SearchString]").focus();  jQuery('[id=selected_records_print_multiple_dv_sdv]').click(function(){ print_multiple_dv_sdv('Customers', get_selected_records_ids()); return false; });jQuery('[id=selected_records_mass_change_owner]').click(function(){ mass_change_owner('Customers', get_selected_records_ids()); return false; });jQuery('[id=selected_records_add_more_actions_link]').click(function(){ add_more_actions_link('Customers', get_selected_records_ids()); return false; }); });</script><div class="table-responsive"><table class="table table-striped table-bordered table-hover"><thead><tr><th class="text-center" style="width: 18px;"><input title="Select all records" class="hidden-print" id="select_all_records" type="checkbox"></th>	<th class="hidden-print" colspan="3">	<div class="pull-right" id="order-by-selector">Order by<span class="hspacer-md"></span><div class="select2-container option_list" id="s2id_FieldsList" style="width: 100%;"><a tabindex="-1" class="select2-choice" onclick="return false;" href="javascript:void(0)">   <span class="select2-chosen">&nbsp;</span><abbr class="select2-search-choice-close"></abbr>   <span class="select2-arrow"><b></b></span></a><input class="select2-focusser select2-offscreen" id="s2id_autogen1" type="text"><div class="select2-drop select2-display-none select2-with-searchbox">   <div class="select2-search">       <input class="select2-input" spellcheck="false" type="text" autocapitalize="off" autocorrect="off" autocomplete="off">   </div>   <ul class="select2-results">   </ul></div></div><select name="FieldsList" tabindex="-1" class="option_list select2-offscreen" id="FieldsList" style="width: 100%;" onchange="document.myform.SortDirection.value=''; document.myform.SortField.value=document.myform.FieldsList.value; document.myform.NoDV.value=1; document.myform.submit();">
	<option value="">&nbsp;</option>
	<option value="2">Customer logo</option>
	<option value="3">Customer name</option>
	<option value="4">Customer address</option></select><script>jQuery(function(){ jQuery("#FieldsList").addClass('option_list').select2({ minimumResultsForSearch: 15 }); })</script><span class="hspacer-md"></span><span class="hspacer-md"></span></div><style>#s2id_FieldsList{ min-width: 12em; width: unset !important; }</style></th>

	</tr>

</thead>

<tbody><!-- tv data below -->
<tr><td class="text-center"><input name="record_selector[]" class="hidden-print record_selector" id="record_selector_2" type="checkbox" value="2"></td>		<td class="row" colspan="3">
			<div class="Customers-Name col-sm-12 h5 text-bold" id="Customers-Name-2"><a style="display: block; padding:0px;" onclick="document.myform.SelectedField.value=this.parentNode.cellIndex; document.myform.SelectedID.value='2'; document.myform.submit(); return false;" href="Customers_view.php?SelectedID=2">Københavns Kommune</a></div>
			<div class="col-md-3"><div class="Customers-Logo" id="Customers-Logo-2"><a href="./images/f7f2c25edef0ca404.png" data-lightbox="Customers-Logo"><img class="img-thumbnail" src="thumbnail.php?i=f7f2c25edef0ca404.png&amp;t=Customers&amp;f=Logo&amp;v=tv"></a></div></div>
			<div class="col-md-9">				<dl class="dl-horizontal no-caption">
					<dt class="Customers-Address-caption field-caption-tv">Customer address</dt>
					<dd class="Customers-Address" id="Customers-Address-2"><a style="display: block; padding:0px;" onclick="document.myform.SelectedField.value=this.parentNode.cellIndex; document.myform.SelectedID.value='2'; document.myform.submit(); return false;" href="Customers_view.php?SelectedID=2">Paradisæblevej 111<br>
Andeby<br>
Denmark</a></dd>

				</dl>
			</div>
		</td>
</tr>
<tr><td class="text-center"><input name="record_selector[]" class="hidden-print record_selector" id="record_selector_1" type="checkbox" value="1"></td>		<td class="row" colspan="3">
			<div class="Customers-Name col-sm-12 h5 text-bold" id="Customers-Name-1"><a style="display: block; padding:0px;" onclick="document.myform.SelectedField.value=this.parentNode.cellIndex; document.myform.SelectedID.value='1'; document.myform.submit(); return false;" href="Customers_view.php?SelectedID=1">Vestas Wind Systems A/S</a></div>
			<div class="col-md-3"><div class="Customers-Logo" id="Customers-Logo-1"><a href="./images/3c0c5ddd0bf9ea97e.png" data-lightbox="Customers-Logo"><img class="img-thumbnail" src="thumbnail.php?i=3c0c5ddd0bf9ea97e.png&amp;t=Customers&amp;f=Logo&amp;v=tv"></a></div></div>
			<div class="col-md-9">				<dl class="dl-horizontal no-caption">
					<dt class="Customers-Address-caption field-caption-tv">Customer address</dt>
					<dd class="Customers-Address" id="Customers-Address-1"><a style="display: block; padding:0px;" onclick="document.myform.SelectedField.value=this.parentNode.cellIndex; document.myform.SelectedID.value='1'; document.myform.submit(); return false;" href="Customers_view.php?SelectedID=1">Hedeager 42<br>
8200 Aarhus N<br>
Denmark</a></dd>

				</dl>
			</div>
		</td>
</tr>
<!-- tv data above -->
</tbody>
	<tfoot><tr><td colspan="4">Records 1 to 2 of 2</td></tr></tfoot></table></div>
<div class="row pagination-section"><div class="col-xs-4 col-md-3 col-lg-2 vspacer-lg"><button name="Previous_x" class="btn btn-default btn-block" id="Previous" onclick="document.myform.SelectedID.value = ''; document.myform.NoDV.value = 1; return true;" type="submit" value="1"><i class="glyphicon glyphicon-chevron-left"></i> <span class="hidden-xs">Previous</span></button></div><div class="col-xs-4 col-md-4 col-lg-2 col-md-offset-1 col-lg-offset-3 text-center vspacer-lg"></div><div class="col-xs-4 col-md-3 col-lg-2 text-right vspacer-lg pull-right"><button name="Next_x" class="btn btn-default btn-block" id="Next" onclick="document.myform.SelectedID.value = ''; document.myform.NoDV.value=1; return true;" type="submit" value="1"><span class="hidden-xs">Next</span> <i class="glyphicon glyphicon-chevron-right"></i></button></div></div></div><!-- possible values for current_view: TV, TVP, DV, DVP, Filters, TVDV --><input name="current_view" id="current_view" type="hidden" value="TV"><input name="SortField" type="hidden" value=""><input name="SelectedID" type="hidden" value=""><input name="SelectedField" type="hidden" value=""><input name="SortDirection" type="hidden" value=""><input name="FirstRecord" type="hidden" value="1"><input name="NoDV" type="hidden" value=""><input name="PrintDV" type="hidden" value=""><input name="DisplayRecords" type="hidden" value="all"></div></form></div><div class="col-xs-1 md-hidden lg-hidden"></div></div>			<!-- Add footer template above here -->
			<div class="clearfix"></div>
							<div class="hidden-print" style="height: 70px;"></div>
			
		</div> <!-- /div class="container" -->
				<script src="resources/lightbox/js/lightbox.min.js"></script>
	

0

</n�xv�q��z��s'�v-�^%�6><div class="lightboxOverlay" id="lightboxOverlay" style="display: none;"></div><div class="lightbox" id="lightbox" style="display: none;"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="><div class="lb-nav"><a class="lb-prev" href=""></a><a class="lb-next" href=""></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div></body></html>

SSchimkat
Posts: 29
Joined: 2018-01-04 18:49

Re: Icons blowing up

Post by SSchimkat » 2018-08-28 10:44

It's this url that causes the error:

/thumbnail.php?i=3c0c5ddd0bf9ea97e.png&t=Customers&f=Logo&v=tv

When refreshing this image, it fails on and off.

User avatar
a.gneady
Site Admin
Posts: 992
Joined: 2012-09-27 14:46
Contact:

Re: Icons blowing up

Post by a.gneady » 2018-08-29 13:20

It seems like some misconfigured MIME type on the server or maybe, and I'll take a hint from your quote below:
I can provoke the error by repeatedly clicking the refresh button - while using slow internet on the ferry.
If you're using a public wifi service provided on the ferry, some of those services tend to serve ads along pages if you're connecting over a non-encrypted http connection. If your server has an SSL certificate installed, try connecting over https and see if this issue persists.
:idea: Learn all the tips and tricks of customizing AppGini apps through our online course.

:arrow: Summary Reports plugin enables you to build powerful reports and charts inside your AppGini application through a few simple steps. See the big picture and discover trends in your data that empower you to take the right decisions confidently.

:arrow: Search Page Maker enables you to build user-friendly yet powerful search pages for your AppGini application by simply dragging and dropping the fields you want to include in search.

SSchimkat
Posts: 29
Joined: 2018-01-04 18:49

Re: Icons blowing up

Post by SSchimkat » 2018-08-30 11:19

Back home again .. and I can still reproduce the error by refreshing thumbnail.php.

Trying to fix the problem by fiddling with the webserver, installing opcode caches and stuff like that - but nothing works - the problem still persists.

User avatar
a.gneady
Site Admin
Posts: 992
Joined: 2012-09-27 14:46
Contact:

Re: Icons blowing up

Post by a.gneady » 2018-09-26 12:20

If this issue is still happening, could you please send me the URL of the page to check it? Perhaps via a support request at https://bigprof.com/appgini/support-request
:idea: Learn all the tips and tricks of customizing AppGini apps through our online course.

:arrow: Summary Reports plugin enables you to build powerful reports and charts inside your AppGini application through a few simple steps. See the big picture and discover trends in your data that empower you to take the right decisions confidently.

:arrow: Search Page Maker enables you to build user-friendly yet powerful search pages for your AppGini application by simply dragging and dropping the fields you want to include in search.

SSchimkat
Posts: 29
Joined: 2018-01-04 18:49

Re: Icons blowing up

Post by SSchimkat » 2018-09-26 12:55

You still happening - but I just realized that it only happens when logged in. I will dig into this tomorrow. :-o

Here is a link: https://packman.mansoft.dk:4433/thumbna ... =Logo&v=tv

.. that fails randomly when logged in.

I will create a support request, and include a login for the system.

SSchimkat
Posts: 29
Joined: 2018-01-04 18:49

Re: Icons blowing up

Post by SSchimkat » 2018-10-18 06:35

Still trying to wrap my head around this one.

Restarted the webserver, cleared cache in my browser (edge) .. and visited the customers page showing a logo for each customer:

Code: Select all

192.168.1.11 - - [18/Oct/2018:07:20:36 +0100] "GET /Customers_view.php HTTP/1.1" 200 30335
::1 - - [18/Oct/2018:07:20:36 +0100] "OPTIONS * HTTP/1.0" 200 -
192.168.1.11 - - [18/Oct/2018:07:20:36 +0100] "GET /dynamic.css.php HTTP/1.1" 200 5694
192.168.1.11 - - [18/Oct/2018:07:20:36 +0100] "GET /thumbnail.php?i=dea2128be70074c2a.png&t=Customers&f=Logo&v=tv HTTP/1.1" 200 14256
192.168.1.11 - - [18/Oct/2018:07:20:36 +0100] "GET /thumbnail.php?i=1cf5ace3eabf93862.png&t=Customers&f=Logo&v=tv HTTP/1.1" 200 12794
192.168.1.11 - - [18/Oct/2018:07:20:36 +0100] "GET /thumbnail.php?i=1447f44f71e41e435.png&t=Customers&f=Logo&v=tv HTTP/1.1" 200 15996
192.168.1.11 - - [18/Oct/2018:07:20:36 +0100] "GET /thumbnail.php?i=28c6bfb23a1960f03.png&t=Customers&f=Logo&v=tv HTTP/1.1" 200 9346
192.168.1.11 - - [18/Oct/2018:07:20:36 +0100] "GET /resources/datepicker/js/lang/da.js HTTP/1.1" 404 232
192.168.1.11 - - [18/Oct/2018:07:20:36 +0100] "GET /thumbnail.php?i=a9443d2938065f9bb.png&t=Customers&f=Logo&v=tv HTTP/1.1" 200 2817
192.168.1.11 - - [18/Oct/2018:07:20:36 +0100] "GET /resources/select2/select2.png HTTP/1.1" 200 1032
192.168.1.11 - - [18/Oct/2018:07:20:36 +0100] "GET /thumbnail.php?i=0b38b8d63f2b0a486.png&t=Customers&f=Logo&v=tv HTTP/1.1" 200 14402
192.168.1.11 - - [18/Oct/2018:07:20:36 +0100] "GET /thumbnail.php?i=8936c28c146efcd33.png&t=Customers&f=Logo&v=tv HTTP/1.1" 200 9638
192.168.1.11 - - [18/Oct/2018:07:20:36 +0100] "GET /thumbnail.php?i=e059f149db27d41d3.png&t=Customers&f=Logo&v=tv HTTP/1.1" 200 9698
::1 - - [18/Oct/2018:07:20:44 +0100] "OPTIONS * HTTP/1.0" 200 -
::1 - - [18/Oct/2018:07:20:45 +0100] "OPTIONS * HTTP/1.0" 200 -
192.168.1.11 - - [18/Oct/2018:07:21:01 +0100] "GET /ajax_check_login.php HTTP/1.1" 200 4
Two logos were not showing. Then I refreshed the page:

Code: Select all

192.168.1.11 - - [18/Oct/2018:07:21:28 +0100] "GET /Customers_view.php HTTP/1.1" 200 30335
192.168.1.11 - - [18/Oct/2018:07:21:28 +0100] "GET /dynamic.css.php HTTP/1.1" 200 5694
192.168.1.11 - - [18/Oct/2018:07:21:28 +0100] "GET /thumbnail.php?i=e059f149db27d41d3.png&t=Customers&f=Logo&v=tv HTTP/1.1" 200 9698
192.168.1.11 - - [18/Oct/2018:07:21:28 +0100] "GET /thumbnail.php?i=8936c28c146efcd33.png&t=Customers&f=Logo&v=tv HTTP/1.1" 200 9638
192.168.1.11 - - [18/Oct/2018:07:21:28 +0100] "GET /resources/datepicker/js/lang/da.js HTTP/1.1" 404 232
192.168.1.11 - - [18/Oct/2018:07:21:28 +0100] "GET /resources/select2/select2.png HTTP/1.1" 200 1032
.. and got the two logos working. A final refresh:

Code: Select all

192.168.1.11 - - [18/Oct/2018:07:21:45 +0100] "GET /Customers_view.php HTTP/1.1" 200 30335
192.168.1.11 - - [18/Oct/2018:07:21:45 +0100] "GET /dynamic.css.php HTTP/1.1" 200 5694
192.168.1.11 - - [18/Oct/2018:07:21:45 +0100] "GET /resources/datepicker/js/lang/da.js HTTP/1.1" 404 232
192.168.1.11 - - [18/Oct/2018:07:21:45 +0100] "GET /resources/select2/select2.png HTTP/1.1" 200 1032
.. and all logos were still working - and cached ind the browser.

Trying to understand what we are seeing here. Is it a webserver that need's som configuration changes perhaps - since it somehow dosn't manage to send all data to the client the first time i visit the page?

SSchimkat
Posts: 29
Joined: 2018-01-04 18:49

Re: Icons blowing up

Post by SSchimkat » 2018-10-18 06:55

hmm .. I just might have solved the problem:

PHP.ini:
output_buffering = 16384

... and the problem seems solved. :-)

SSchimkat
Posts: 29
Joined: 2018-01-04 18:49

SOLVED: Icons blowing up

Post by SSchimkat » 2019-01-31 09:11

Yup .. configuring output_buffering did solve the problem. No images has been blown up, since I altered the PHP config. :-)

Best regards, Søren

Post Reply