Quote:
Originally Posted by CThiessen
Hi,
I do have problems to get webthumbs runnig.
Easywebthumbs is working.
Normal Upload is working
Thumbnails for Uploaded Photos is working.
Directory is set to 777
But whatever i edit with the webthumbs plug in enabled give me a error:
Code:
Parse error: syntax error, unexpected ')' in /x/x/x/x/home/forum/includes/local_links_include.php(1932) : eval()'d code on line 642
Or have anyone an Idea how to use http://fadeout.de/ for that.
They have very nice screen shots and it for free.
Thanks
Christian
|
Christian, there's a coding bug in the plugin, which had been there for some time but no-one had noticed.
You can fix it easily as follows:
- go to vb/admincp/products and plugins/manage plugins
- edit the plugin called "Links and Downloads Manager - Use BlugaNet WebThumb to autoimage a site" which is atached to hook ldm_link_autoimage
- go almost to the end of the code (it's quite long) and find the sequence:
Code:
$path = ldm_make_filename($links_defaults['upload_dir'], $my_webdir);
$fullpath = ldm_get_local_filename($path);
require_once(DIR . '/includes/functions_file.php');
ldm_create_directory($fullpath, $links_defaults['secure_nullindexfile'])) {
and change the last of these lines to
Code:
ldm_create_directory($fullpath, $links_defaults['secure_nullindexfile']);
- Save
That should do it.