|  | 
| 
			 
			#1  
			
			
			
			
			
		 | ||||
| 
 | ||||
|  Broken siggy images 
			
			I read this thread again, but it didn't seem to fix it. Neither of the BBcodes for my pets seem to be working, and it just gives a broken image: (forum)  (alternate) This is what my code looks like: PHP Code: 
			PHP Code: 
			
				__________________ | 
| 
			 
			#2  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			That's curious, I compared it to mine/from my site and though they are being generated in the same format, mine is working. So comparing my levelup.php to yours, I do see distinct differences in the siggy function. Majorly in that you have this chunk here...which does not exist at all in mine: PHP Code: 
			  
				__________________ My Mods Site (1.3.4, 2020 Mods) | 
| 
			 
			#3  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			That's the png image mod, I added it recently to see if it would fix the problem; it didn't though    
				__________________ | 
| 
			 
			#4  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Okay, I just found the tiniest discrepancy that makes a big difference!! In your myadoptsview file find this line; PHP Code: 
			PHP Code: 
			  
				__________________ My Mods Site (1.3.4, 2020 Mods) | 
| 
			 
			#5  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			That didn't work either.
		 
				__________________ | 
| 
			 
			#6  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Huh, those were the only two differences I could find. I'll try replacing my functions with yours and see if it breaks my images, if not then chances are it is an issue in another file. Edit: Oh, and do you have a closing bracket for the bbcode function for myadoptsview.php? It's not included in what you pasted, but I assumed you just didn't paste it. 
				__________________ My Mods Site (1.3.4, 2020 Mods) | 
| 
			 
			#7  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Yeah it's there, I just didn't paste it. I can't think of another file that would be causing it, unless bbcodes are handled elsewhere too.
		 
				__________________ | 
| 
			 
			#8  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Okay, so I tested your script with my site, both each individually (only the levelup, only the myadoptsview) and together, but my images work in each case. Now when I take my ../levelup/siggy/{$aid} and put it in my URL bar it shows me the image. However, when I take yours; http://adopttest.mysidiahost.com/levelup/siggy/2107 I get this mess... Code: Warning: Cannot modify header information - headers already sent by (output started at /home/adopttes/public_html/levelup.php:34) in /home/adopttes/public_html/levelup.php on line 197
GIF89a���T�L��t,B$l�d�����Db$t�td�\$64N,T~LT�T��|,F,��Č�|�Ƅ|�tDnD��|�ޔl�\d�\d�\4F,t�l�����424��|��l�d���t�l&�4V4���l�d|�t�֜��.�΄$>$���t�l��TvLl�lT�T��|,B,DbDLrL\�\���l�lDjD,d�d$6$4N4T~T����ƌ|�|���l�dd�d4F4�����!��,����	H����	�"*A" ���ŋ3j�ȱ�Ǐ Cfl�pP d.���dƅ G��I��$C�$Ȇ�$H"� J��ѣ1����?	�5�Úp z ���PW�W�<���I�l0�8 �@Xܴel�XV�Z�h i$��&�P	���I���lH�	��p30d�� z!�5@�h��*Y,	�!	2� ����4P	��	P� �F}>���$��pl�6i��.�lZ�kP\�`sa&c�ve& DHzϰ��8	�(�P�p�Y��<і zְl����M�����e�bi4P .0���_Q�y���i2&���idw�x��g�)��i�Y�j�#�������pS�R�yoxQ���Y��f�Z��Vp��v�P�ވs��p�U�}pGz�G����8�I�bpbp�f����p@�ח��g��9���>�X� �af3f��) d 0z�yz���X�!����	�8��Ԡ�1! @ڍ`��p}H�ꡗ����QP\�'�``�3 c��}�I���G�/z�����I�6��7ʠ<��dP��ЀB:��G�_����XQ�?H�tЀbv���y�I��\��j`�{��0:Вez�6�7�L�,k�)�P�3�q �8��u��X�B�k�P���w�xX����pzz��������0�5z��*�P��ٶ�;�,��4V����r #J�@J�Xj�e�voG������.�9�ә�������_�,�����I����	%�W�#:���t��3Pm����v�X�t�Ι��������j��:�P��j#jJ�3G� z�y9����Tm:p	:@p��������+Z�zЊ����p����:�	� ��8 ��*����&� ��``Ơ-��вZۑ@f��iXkm�����+�;��	���� ���W0�b�g��N� 8�b�;*���C�P0�00A �Y ������v�����(w�(z��0�$i�?�	��P+9-ْ�P�&� �`���6j����?�sʐ�����������}o[zz�8��7H�&�z5�f��ΰ�� ��Wp`�k��{���ͅ ū�6����K��q����1q?�����f0	=��.���+��;������K����Ú�2��0 s����r7w_��G�<��k��51�{�d��̱N������@�_�;`��2��.���(~H���I�G���{��p7ڱ:�������ڦ.@�;>p���:�A��I��	�*i�E���Z�Ȁ�hʴ]��_|�=,�7��#i#�>�ƶ��5��I�L�Kxɰ��Ы5l�z���M�Pq�b ,�K������0a��p �l��������))��,i�fz���\ʖz�8Ka�ʜ �-az˛P5�A����5`�<��H��ɗ�����*��˖��S�#�!)���1�e	�+ٙ���[ß|�˴O��_��Ê���/�,�?:6CP�9��۫-��i����5���J�����|�_�@-�� &�� ����!P��|�O��Ģ���.}#<��0,!�7�����Z��]��슸��6B�E�#!�N�ԁ��;}��å촖�˼*&�]=:L��\�3 ��<����P��,�R�+M\=�s&�B�zz�6z�;�%m��k�P� -��9��,m��m�8��J�M,��n�ٞ�ى�ʲ#6�l�5�_���6��ٰ�Q����k�)���q���m�-������]��}�؝�ڽ����������=��]��}��������������=��]��}�������������� �@�>�	��>��������� ��n�� ���������P�>�^^��!�����4N�.��&�s��,��/��3��~���.�B��J�I��>~�����R>�V�F~�+nT��K����.�HN�]>�)^Yn�N��h^�U��[� a��pN�Aq��_��k>w~���>N�"��%.5��u~�X���ㇾ�5��A�b^�[n�n�D��in�	��~�蜞�~�xnߡ������8��*�鷑��z�>�^��붞�s�뎮3�>t���1.�9�>�P����.�I�0��ޖ�.�^�G��E^�x�J��n��M~�����z.�l���n�~�.��^������Z��YN�Ǯ��~��N�.�������������������_���h������)��N������ �����2Y�|�P�~�^�A�_�;������� ��K�N���=�~�^��n)#o��W��Z����o���n��o�N揞#�.�a��h�B��R��N�Ӯ�<��^_�E/㢮�@��zO����1��O�i� ���i魞��陏�ڮ�_�%�l���?� 2�����+��&��f����|�$�������7�����v����������r�>��o��������?�ۮ��n������������A�n����a��n�)?��O��������/�Ȓ���h��m�$�p�B�  L����#R���ĉ3n���F�$G"d���D�'?��S�L�5m�ęS�N�=}�T�P�E�E�T�R�M�>�U�T�U�^ŚU�V�]��L�4�ñ^͞���ҍ/��|4.Z��;
Warning: imagedestroy(): 108 is not a valid Image resource in /home/adopttes/public_html/levelup.php on line 200
Fatal error: Uncaught exception 'GUIException' with message 'This document has no title yet.' in /home/adopttes/public_html/classes/class_document.php:52 Stack trace: #0 /home/adopttes/public_html/classes/class_frame.php(217): Document->getTitle() #1 /home/adopttes/public_html/classes/class_template.php(161): Frame->render() #2 /home/adopttes/public_html/classes/class_view.php(279): Template->render() #3 /home/adopttes/public_html/classes/class_frontcontroller.php(102): View->render() #4 /home/adopttes/public_html/index.php(75): FrontController->render() #5 /home/adopttes/public_html/index.php(79): IndexController::main() #6 {main} thrown in /home/adopttes/public_html/classes/class_document.php on line 52It would seem like it is finding an error somewhere in the levelup file, but as I said it worked for me just fine so I would imagine it is running into trouble either outside of the siggy function in the levelup file, or in a different file altogether. 
				__________________ My Mods Site (1.3.4, 2020 Mods) | 
| 
			 
			#9  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Ok so I replaced my entire levelup file with a fresh one and the forum codes seem to be working now (alternate code still looks broken though, does this board allow it?) I'll update if I find out what broke it when I add back my changes one at a time. EDIT: Ok so here I was using style tags inside the file  That seemed to be the problem. 
				__________________ Last edited by Dinocanid; 07-01-2017 at 11:37 AM. | 
| 
			 
			#10  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			So your issue is resolved?
		 
				__________________  Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. | 
|  | 
| Thread Tools | |
| Display Modes | |
| 
 | 
 | 
| What's New? | What's Hot? | What's Popular? |