Joomla Templates, WordPress Themes - HotThemes
Welcome, Guest
Username: Password: Remember me
Discussion about Hot Image Slider free Joomla module.
  • Page:
  • 1
  • 2

TOPIC: undefined variable: imageSRC

undefined variable: imageSRC 4 years 10 months ago #101

  • stavast
  • stavast's Avatar
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
The administrator has disabled public write access.

Re: undefined variable: imageSRC 4 years 10 months ago #102

  • milos
  • milos's Avatar
  • OFFLINE
  • Support Staff
  • Posts: 4822
  • Thank you received: 420
Are you sure that your path to the images folder and images names are correct? Please double check this.
The administrator has disabled public write access.

Re: undefined variable: imageSRC 4 years 10 months ago #104

  • stavast
  • stavast's Avatar
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?
The administrator has disabled public write access.

Re: undefined variable: imageSRC 4 years 10 months ago #106

  • milos
  • milos's Avatar
  • OFFLINE
  • Support Staff
  • Posts: 4822
  • Thank you received: 420
In module parameters, path should be "images/stories" and image should be "pastarchives.jpg". Is that so?
The administrator has disabled public write access.

Re: undefined variable: imageSRC 4 years 10 months ago #109

  • stavast
  • stavast's Avatar
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.
The administrator has disabled public write access.

Re: undefined variable: imageSRC 4 years 10 months ago #110

  • milos
  • milos's Avatar
  • OFFLINE
  • Support Staff
  • Posts: 4822
  • Thank you received: 420
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?
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.121 seconds
Powered by Kunena Forum

Forum Rules

Allow our support staff to help you:

  • Average response time is 12-24h. Please don't ask the same question twice.
  • Always post your site link so we can check your problem.
  • If you prefer, you can send link and site login details privately if you click "Report to moderator" link.

You are welcome to post if you have fair Joomla/WordPress knowledge and your question is related to:

  • Finding and resolving errors in our products
  • Problems with installation of our products on your server
  • Instructions how to use our products - please read documentation and search this Forum before posting!
  • General questions about our products

In the following cases, support staff may not reply your question or may delete your post without prior notice:

  • Total Joomla/WordPress beginners - Please find some literature for Joomla or literature for WordPress.
  • Modifications of our products: Beside Joomla/WordPress knowledge, you must also understand CSS and HTML, and/or have some PHP experience. Purpose of this Forum is not teaching HTML, CSS or PHP.