![]() |
0.9.1 (21.07.2011)
@Morpheus NS Your issue could be the slashes. Meaning the path ending up at /http/slider//picture.jpg which could break it. Please try 0.9.1. If that isn't the problem check whether the pictures are saved in the folder you chose and if you can look them up manually in your browser. |
The new version work much better for me. No more errors and I now see titles and text. No images yet though. If I outcomment the 1st and last line, then I get these errors:
Code:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 110 |
We are using the fopen() function to check whether the file does still exist on the external server before we start our image manipulation.
Seems like url file access is blocked on your server. I don't know whether this is done via your provider or if you can switch it on in your php.ini http://www.php.net/manual/en/filesys...figuration.php That would be your first option. Second option ist to replace this code: Code:
$filehandle = fopen($article['previewimage'], 'r'); Code:
$can_open_file = false; So the third option would be: Replace Code:
$filehandle = fopen($article['previewimage'], 'r'); Code:
If that doesn't work i'm out of options. P.S.: On my testsite i have the curl option running right now. |
Yes, fopen is blocked on purpose due to the major security risks involved. Curl is active though, so that should work. But for some reason it doesn't. Would you mind checking it out?
|
Please check if the folder you specified here:
$slider_img_filepath = 'external/unitedforum/slider/'; is writeable and whether the addon does save slides in there. |
Its 777 writable, but the addon does not save anything.
|
Oh geez i'm so stupid. It doesn't work with attachments right now - i'll fix that bug and post a new version later today.
|
Thanks!
|
0.9.2 (23.07.2011)
There you go - code in first post updated. That should do the trick. =) |
Add-on works insofar as it resizes the images and writes them into the folder. It also displays the little background image. But it won't display anything else.
Any ideas? When I comment out the first and last lines, same thing. No errors. Thanks |
All times are GMT. The time now is 10:36 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|