Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[FIXED] Two image, one displayed 06 Apr 2012 09:24 #1925

I have a problem with two images in one page. Only one image is showed, mostly the first, sometimes the second. The second looks like a broken link.

The link with the example: 109.70.6.65/~molenwal1/index.php/booking-sub

The paths of the two image files are:
109.70.6.65/~molenwal1/index.php?option=...trs=format:png&path=[DIR_SUBPROPERTY_IMAGE_1]zomerhuisje_01.jpg

109.70.6.65/~molenwal1/index.php?option=...trs=format:png&path=[DIR_SUBPROPERTY_IMAGE_2]zomerhuisje_02.jpg

When i use this link i have no problem i can see the image.

In the Apache Log this message is shown:
[Fri Apr 06 13:03:19 2012] [notice] child pid 1187 exit signal Segmentation fault (11)

When i use only one message i don't have this problem. Also in the sandbox of J-Cook i do not have the problem.

Because of the error message in the Apache log i think it is a combination of more then one image in one page and my server setup which is a Centos Linux with Directadmin and Apache. The rights on the imagemaps are ok (777). The thumb-image is also created!

Does anyone has experience with this?

The code for the images:
<code><?php echo JDom::_('html.fly.file', array(
'dataKey' => 'image_1',
'dataObject' => $this->subpropertyitem,
'width' => 300,
'height' => 200,
'attrs' => array('format:png'),
'indirect' => true,
'root' => '[DIR_SUBPROPERTY_IMAGE_1]'
));
?>
<?php echo JDom::_('html.fly.file', array(
'dataKey' => 'image_2',
'dataObject' => $this->subpropertyitem,
'width' => 300,
'height' => 200,
'attrs' => array('format:png'),
'indirect' => true,
'root' => '[DIR_SUBPROPERTY_IMAGE_2]'
));</code>
Molenwal1 Webdesign
www.molenwal1.nl

Please Log in or Create an account to join the conversation.

Last edit: by molenwal1.

Re: Two image, one displayed 15 Apr 2012 08:21 #1994

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Sould be fixed.

It was a notice issue in the thumb file, before the header, so with a low level of error reporting, it was working.

Now, everything should be fixed.

Please confirm.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: [FIXED] Two image, one displayed 16 Apr 2012 05:01 #2016

Because i made a lot of changes in the original J-Cook component i copied all classes files for filehandling and all dom-files for filehandling to my component.

With the Joomla debug option switched to yes i still have this issue. Without this option it works fine. Maybe i should copy more files or functions. I have uploaded jpg files and they are displayed as png.

At this moment i do not have time to install the clean J-Cook component, i will do that in a later stage.
Molenwal1 Webdesign
www.molenwal1.nl

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.187 seconds

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started