Flash Sale. Use code FLASHOCT18 at checkout for 40% Discount!!

logo-responsive
Welcome, Guest
Username: Password: Remember me

TOPIC: Error php in Modul mod_joomlagethumbsgallery (solved)

Error php in Modul mod_joomlagethumbsgallery (solved) 2 months 1 week ago #14716

  • Corno
  • Corno's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 1
  • Karma: 0
Invalid argument supplied for foreach() in /modules/mod_joomlagethumbsgallery/helper.php on line 27
		foreach ($files as $file) {
			$image				= GalleryHelper::getImages($path.'/'.$file,$thumbwidth,$thumbheight);
			$lists[$i]['image'] = $image->image;
			$lists[$i]['thumb'] = $image->thumb;
			$i++;
		}
		return $lists; 
	}
The administrator has disabled public write access.

Error php in Modul mod_joomlagethumbsgallery (solved) 2 months 1 week ago #14719

  • JohnO
  • JohnO's Avatar
  • Offline
  • Administrator
  • Posts: 4995
  • Thank you received: 823
  • Karma: 95
Make sure your image file names are in lowercase and have no dashes.
EXAMPLE myimage.jpg and not myimage.JPG

Thanks,
JohnO
The administrator has disabled public write access.

Error php in Modul mod_joomlagethumbsgallery (solved) 2 months 1 week ago #14720

  • Corno
  • Corno's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 1
  • Karma: 0
Unfortunately that was not the solution. In the admin menu of mod_joomlagethumbsgallery in the field image directory I wrote:
image/thumbs
Like in some other modules, where it worked.
In mod_joomlagethumbsgallery must stand however
 /image/thumbs
(Thumbs stands for any subdirectory.)
That was the solution.
Last Edit: 2 months 1 week ago by Corno.
The administrator has disabled public write access.

Error php in Modul mod_joomlagethumbsgallery (solved) 2 months 1 week ago #14731

  • JohnO
  • JohnO's Avatar
  • Offline
  • Administrator
  • Posts: 4995
  • Thank you received: 823
  • Karma: 95
Thanks for posting your solution.

Thanks,
JohnO
The administrator has disabled public write access.
Time to create page: 0.155 seconds
Powered by Kunena Forum

Use code   NOV18 at checkout

     November    

10% off Everything!

Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.
Ok