vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin CMS Widgets - United-Forum Nivo Slider Widget (https://vborg.vbsupport.ru/showthread.php?t=267024)

GamersChallenge 08-14-2011 10:14 PM

DEBUG MODE is ON!
slider_img_filepath: slider/
width: 650 height: 250
show_articles_without_image: bool(false)
fallback_img: slider/uf_fallback_slider.png
#img: 7
description_length: 95
directory /home/gamersch/public_html

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128

Warning: getimagesize(http://gamerschallenge.net/attachmen...=39&cid=24) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128
Error occurred: picture is not readable.slider/uf_fallback_slider.png

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128

Warning: getimagesize(http://gamerschallenge.net/attachmen...=40&cid=24) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128
Error occurred: picture is not readable.slider/uf_fallback_slider.png

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128

Warning: getimagesize(http://gamerschallenge.net/attachmen...=38&cid=24) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128
Error occurred: picture is not readable.slider/uf_fallback_slider.png

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128

Warning: getimagesize(http://gamerschallenge.net/attachmen...=37&cid=24) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128
Error occurred: picture is not readable.slider/uf_fallback_slider.png

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128

Warning: getimagesize(http://gamerschallenge.net/attachmen...=36&cid=24) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128
Error occurred: picture is not readable.slider/uf_fallback_slider.png
#articles - featured and databasepull int(5) int(5)

Mooff 08-14-2011 10:40 PM

that is the error:
Code:

URL file-access is disabled in the server configuration
The slider gets all pictures via http - attachments and external images. In your server configuration that is disabled. So the slider can't load and resize those picture to the size it does need.

Best is to ask the techadmin of your server what setting does cause this, why it is off and if it can be activated.

If it can't be activated an option would be not to resize the pictures at all - BUT then the slider will look odd if the pictures do not have the required width and height the slider needs.

GamersChallenge 08-14-2011 11:08 PM

alright, I opened a support ticket to my host provider since I couldnt find such an option in my cpanel.

URL file-access is now enable and slider works fine.

thanx for the support.

nominated this mod for MOTM.

theoutlawed 08-15-2011 04:45 AM

works fine on 4.1.5 pl1

thanks for the killer slider mod.

msalazar 08-15-2011 11:41 AM

It didint wwork for me something must be wrong with my installation

andycaps 08-15-2011 01:36 PM

My admin members have asked me to remove the slider because of the 1) size of the frame and 2) how the frame stretches the images.

A lot of my contributes are writers and have trouble re-sizing images to match the slider frame, thus a lot of their images look very poor when in reality they are just not the same size as the frame. Is there any way to display the images as they should be, appreciate some of the images may be small but at least they will not be stretched. BETTER still - is there are way of automatically resizing the image to say a maximum hight of say 300 pixels?
thanks

Scalemotorcars 08-15-2011 02:12 PM

Well Ive read the entire thread and tried all the fixed. I just got off the phone with my host and they will NOT be turning (URL file-access) back on and they suggested using an alternative.

They of course didn't offer any further help then that so I hope someone here can help me get this sorted out.

With debug on I get the errors at the bottom of this post only once they they vanish after visiting another url. If I clear the cache they come right back or if I refresh the page they stay at the top. The slider seems to be working fine except for the fact that it doesnt pull any attachments and I do not see any images saved in my slider folder.

Attachments for guests are on both in usergroups and CMS
Folder is 777
Path is correct
I changes the size but also changed it in the CSS

HTML Code:

DEBUG MODE is ON!
slider_img_filepath: clientscript/slider/
width: 975 height: 250
show_articles_without_image: bool(false)
fallback_img: clientscript/slider/uf_fallback_slider.png
#img: 20
description_length: 95
directory /home/p16t2ugb/public_html/forum

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 129

Warning: getimagesize(http://www.scalemotorcars.com/forum/attachment.php?attachmentid=16072&cid=24) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 129
Error occurred: picture is not readable.clientscript/slider/uf_fallback_slider.png

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 129

Warning: getimagesize(http://www.scalemotorcars.com/forum/attachment.php?attachmentid=15949&cid=24) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 129
Error occurred: picture is not readable.clientscript/slider/uf_fallback_slider.png

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 129

Warning: getimagesize(http://www.scalemotorcars.com/forum/attachment.php?attachmentid=15946&cid=24) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 129
Error occurred: picture is not readable.clientscript/slider/uf_fallback_slider.png

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 129

Warning: getimagesize(http://www.scalemotorcars.com/forum/attachment.php?attachmentid=15902&cid=24) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 129
Error occurred: picture is not readable.clientscript/slider/uf_fallback_slider.png

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 129

Warning: getimagesize(http://www.scalemotorcars.com/forum/attachment.php?attachmentid=15896&cid=24) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 129
Error occurred: picture is not readable.clientscript/slider/uf_fallback_slider.png
 #articles - featured and databasepull int(5) int(7)


Mooff 08-15-2011 02:14 PM

@ andycaps

First post section "Custom Settings"

Make changes here
Code:

//picture width and height !same as in the CSS FILE!
$maxwidth = 650;                                 
$maxheight = 250;

and here
Code:

.theme-uf #slider {
    margin:0px auto 0 auto;
    width:650px; /* Make sure your images are the same size */
    height:250px; /* Make sure your images are the same size */
}

You can change those numbers any way you like to match your site needs.

Different sizes for each image is not supported by the nivo slider - well it can be done, but does look horrible.


Of course additional rules for the resizing process can also be added. Let's say pictures is smaller than 200px -> it won't be used and the slider takes the fallback image instead (that's basecially how we do it on our site). As said in the first post, if one wants something special, just ask - i will try to come up with some code, but won't promise i will.

Mooff 08-15-2011 02:42 PM

Quote:

Originally Posted by Scalemotorcars (Post 2233783)
Well Ive read the entire thread and tried all the fixed. I just got off the phone with my host and they will NOT be turning (URL file-access) back on and they suggested using an alternative.

They of course didn't offer any further help then that so I hope someone here can help me get this sorted out.

Sorry to hear that. :(

An idea would be to use cURL instead especially for attachments. Meaning 'reparsing' the previewimage when it is an attachment to get the attachment id, then starting a curl request to the attachment.php file and send the id as post/get value.

With such a fix attachments should start working even with allow_url_include disabled.

But, and i'm sorry to say that, i won't code that - just wanted to add the idea if one want's to take a shot at it.

Regards


edit: another option would be disableing the image resize process. Then you should make sure that your attachments are allready uploaded in the size the slider does need.

Scalemotorcars 08-15-2011 02:59 PM

So theres no other fix if the host refuses to turn of the URL file-access? I haven't a clue how to recode for curl.

And for the re-size. I already got that in both.


All times are GMT. The time now is 12:57 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
  • Page Generation 0.01427 seconds
  • Memory Usage 1,781KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete