Hello. I have a problem related to thumbnails in DF Multimedia. Although I put the right path to the image for the thumbnail, this doesn't show up.
Here is the error:
modules/DF_Multimedia/layout.php
* Warning line 80: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration
* Warning line 80: getimagesize(http://i.ytimg.com/vi/kE_C1FXRo20/default.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found
* Warning line 80: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration
* Warning line 80: getimagesize(http://i.ytimg.com/vi/lF4QGqYtHG8/default.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found
modules/DF_Multimedia/functions.php
* Warning line 353: Division by zero
Is it a server problem? What is the quickest solution?
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
DragonFly 9.2.1
Last edited by 4rk4n705 on Thu Feb 19, 2009 8:29 pm; edited 1 time in total
It's added to CVS if you have PHP 5 you could check the CVS files or download the attached patch.
NOTE: this patch completely disables the useless "security" setting and reopens the "hole". It has a build in detection so that it mimics the new 'allow_url_include' setting and therefore keeps some security intact.
So, you still can't use include, include_once, require and require_once (which was the real security leak).
1. there's a new file: upload it to /includes/classes/
2. Use a patch program to let it patch your cmsinit.inc
if you don't have a patch program (kompare on linux kde, winmerge, command line, etc. etc.) you can do it manually. Open the patch file with your favourite text editor and it should be straight forward (all lines starting with '+' should be added between abod/below mentioned text)
Genius!!! I changed the version to php 5 and the thumbnails now are showing, the hack worked like a charm! Thanks again, finally somebody found the solution.
Best.
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
DragonFly 9.2.1
DJ MazeOffline
Joined: Apr 19, 2004
Posts: 6435
Location: http://tinyurl.com/5z8dmv