Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Image Slider free Joomla module.

Topic-icon undefined variable: imageSRC

  • stavast
  • stavast's Avatar Topic Author
  • Visitor
  • Visitor
7 years 1 month ago #101 by stavast
the slider doesn't work at all in my site, it just stays black. when i take a look at the source code i find the following line:

<script type="text/javascript">
  if(!window.slider) var slider={};slider.data=[


<b>Notice</b>: Â Undefined variable: imageSRC in <b>C:\wamp\www\dccms\modules\mod_hot_image_slider\tmpl\default.php</b> on line <b>123</b>

{"id":"slide-img-1","client":"Articles","desc":"Lorem ipsum dolor sit amet"},{"id":"slide-img-2","client":"Clock","desc":"Lorem ipsum dolor sit amet"},{"id":"slide-img-3","client":"Past Archives","desc":"Lorem ipsum dolor sit amet"} ];
 </script>



at line 123 of that file is the following:

<?php $imageSRC .= '{"id":"slide-img-'.$titleCounter.'","client":"'.$imageTitleArray[$titleCounter].'","desc":"'.$imageDescArray[$titleCounter].'"},'; ?>

does someone know how this can be solved? same problem with or without load jQuery

Please Log in to join the conversation.

More
7 years 1 month ago #102 by milos
Are you sure that your path to the images folder and images names are correct? Please double check this.

Please Log in to join the conversation.

  • stavast
  • stavast's Avatar Topic Author
  • Visitor
  • Visitor
7 years 1 month ago #104 by stavast
yes it's correct, when i look in the source code, the source of the image is http://localhost/dccms/images/stories/pastarchives.jpg en when i type this in my browser i see an image. i work from a wamp server, could this be the problem?

Please Log in to join the conversation.

More
7 years 1 month ago #106 by milos
In module parameters, path should be "images/stories" and image should be "pastarchives.jpg". Is that so?

Please Log in to join the conversation.

  • stavast
  • stavast's Avatar Topic Author
  • Visitor
  • Visitor
7 years 1 month ago #109 by stavast
yes that is all correct. the link of the image that is created is a correct link to the image. so when i copy the link from the source code and paste it in my explorer it shows an image.

Please Log in to join the conversation.

More
7 years 1 month ago #110 by milos
I have local apache server on Windows as well and it works fine. It's probably something about your template. Do you use mooFx anywhere on the page? Did you try to use default Joomla template to check if it works then?

Please Log in to join the conversation.

Time to create page: 0.110 seconds

Links, Partners and Social Media