vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - VB image Hosting (https://vborg.vbsupport.ru/showthread.php?t=123481)

Ranma2k 08-27-2006 05:02 PM

Quote:

Originally Posted by a squared
Also, is it possible to set the thumbnail images to a particular width?

yes you can set it in the vbimghost options

DigitalDesktops 08-27-2006 05:37 PM

is it possible to have the option of storing thumbnails in a different directory (for example: main image = root/imagehosting/imagename.jpg thumbnail image = root/imagehosting/thumbs/thumb_imagename.jpg)

Ranma2k 08-27-2006 05:58 PM

Quote:

Originally Posted by DigitalDesktops
is it possible to have the option of storing thumbnails in a different directory (for example: main image = root/imagehosting/imagename.jpg thumbnail image = root/imagehosting/thumbs/thumb_imagename.jpg)

will add it in the next ver

simon. 08-27-2006 10:58 PM

Hi great work on this addon. I love it.

However on my forums I can't get it working. When I upload a file I get:-

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/144f23d5db9934.jpg) is not within the allowed path(s): (/home/echat:/usr/lib/php:/usr/local/lib/php:/tmp) in /includes/vbimghost_include.php on line 175

Warning: imagecreatefromjpeg(/home/user/public_html/forums/imagehosting/144f23d5db9934.jpg) [function.imagecreatefromjpeg]: failed to open stream: Operation not permitted in /includes/vbimghost_include.php on line 175

Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 176

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 176

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /includes/vbimghost_include.php on line 176

Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177

Warning: imagecopy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 189

Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 198

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 199

Warning: imagestring(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 201

Warning: imagejpeg(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 209

Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 210


When I rebuild Thumbnails I get:

Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/144f23af77edbe.jpg) is not within the allowed path(s): (/home/echat:/usr/lib/php:/usr/local/lib/php:/tmp) in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/user/public_html/forums/imagehosting/144f23af77edbe.jpg) [function.getimagesize]: failed to open stream: Operation not permitted in /admincp/vbimghost.php on line 279

a squared 08-28-2006 04:14 AM

Hello Ranma2k,

Thanks for the help. I should have read previous posts on the same issue.

I've made the corrections. However I am now getting the same error message as Simon above. My instance is quoted below and it occurs in IE as well as FF. If it helps any; my sever is running mysql v4.0.18, PHP v4.4.1, gd v2.0.28 and an unknown version of Zend Optimizer.

BTW you've done a great job with this project. One thing that I would like to see added is that instead of limiting the amount of images a member can have. Limit the amount of storage space a member can have, editable in the AdminCP by MBs.



Quote:

Warning: imagecreatefromjpeg(/home/user/public_html/Testing/portal/forums/imagehosting/144f2713647d15.jpg): failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 175

Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 176

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 176

Warning: imagecreatetruecolor(): Invalid image dimensions in /includes/vbimghost_include.php on line 176

Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177

Warning: imagecopy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 189

Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 195

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 196

Warning: imagestring(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 201

Warning: imagejpeg(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 209

Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 210




Redirecting...


image uploaded

Click here if your browser does not automatically redirect you.


Ranma2k 08-28-2006 06:55 AM

Quote:

Originally Posted by simon.
Hi great work on this addon. I love it.

However on my forums I can't get it working. When I upload a file I get:-

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/144f23d5db9934.jpg) is not within the allowed path(s): (/home/echat:/usr/lib/php:/usr/local/lib/php:/tmp) in /includes/vbimghost_include.php on line 175

Warning: imagecreatefromjpeg(/home/user/public_html/forums/imagehosting/144f23d5db9934.jpg) [function.imagecreatefromjpeg]: failed to open stream: Operation not permitted in /includes/vbimghost_include.php on line 175

Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 176

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 176

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /includes/vbimghost_include.php on line 176

Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177

Warning: imagecopy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 189

Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 198

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 199

Warning: imagestring(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 201

Warning: imagejpeg(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 209

Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 210


When I rebuild Thumbnails I get:

Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/144f23af77edbe.jpg) is not within the allowed path(s): (/home/echat:/usr/lib/php:/usr/local/lib/php:/tmp) in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/user/public_html/forums/imagehosting/144f23af77edbe.jpg) [function.getimagesize]: failed to open stream: Operation not permitted in /admincp/vbimghost.php on line 279

ok
your have open_basedir restriction in your setting ..
i'm guessing your runing it localy on your machine
..
the public_html directoy should be in allowed path setting. ( system wise )

if it's in your server contact the server admin and ask him to add the path to your home directory to your allowed list.

Ranma2k 08-28-2006 07:00 AM

Quote:

Originally Posted by a squared
Hello Ranma2k,

Thanks for the help. I should have read previous posts on the same issue.

I've made the corrections. However I am now getting the same error message as Simon above. My instance is quoted below and it occurs in IE as well as FF. If it helps any; my sever is running mysql v4.0.18, PHP v4.4.1, gd v2.0.28 and an unknown version of Zend Optimizer.

BTW you've done a great job with this project. One thing that I would like to see added is that instead of limiting the amount of images a member can have. Limit the amount of storage space a member can have, editable in the AdminCP by MBs.

then you have the same issue as simon,
your web home directory should be in allowed path
if you have shell access run the command

echo $path

and you should see the path to your public_html direcoty in the path list
if not add it ( or ask the system admin to add it )

if you need any help just PM me

as for the size limit i will try to add it

simon. 08-29-2006 10:29 AM

Quote:

Originally Posted by Ranma2k
ok
your have open_basedir restriction in your setting ..
i'm guessing your runing it localy on your machine
..
the public_html directoy should be in allowed path setting. ( system wise )

if it's in your server contact the server admin and ask him to add the path to your home directory to your allowed list.

Ok, first off I would like to thank you on your timely responce.

Second; Its running live. I have had to disable Thumbnails and Watermark for now. But I really need it enabled. I have sent a support request to my host.

Third; Is there a way that watermark can be turned on for FREE users and off for VIP members (Paying Users)?

Forth; When I tried modifing the phrase "VB Image Host" to "Gallery" it wouldn't let me and came up with errors. Is there a way of doing this safely? Becuase my Nav Bar(s) are full and I have no room for something that long.


Thanks Renma2K,

Simon

Ranma2k 08-29-2006 02:43 PM

Quote:

Originally Posted by simon.
Ok, first off I would like to thank you on your timely responce.

Second; Its running live. I have had to disable Thumbnails and Watermark for now. But I really need it enabled. I have sent a support request to my host.

Third; Is there a way that watermark can be turned on for FREE users and off for VIP members (Paying Users)?

Forth; When I tried modifing the phrase "VB Image Host" to "Gallery" it wouldn't let me and came up with errors. Is there a way of doing this safely? Becuase my Nav Bar(s) are full and I have no room for something that long.


Thanks Renma2K,

Simon

hopefully the host will solve it

as for the water mark the next ver will have the permissions based on the groups not global setting
so you can set the vip group to not to use any water mark

as for the phrase it shouldn't give you any problem just make sure that if there any variable in it it should be there ..

if it didnt work try translation ( it did change it and it worked )

what phrase you were trying to change ?

a squared 08-29-2006 03:48 PM

Hi Ranma2k, thanks for the help. I currently do not have SSH access. However, through a little trial and error I was able to figure out the correct path. No more error messages are occuring. Not seeing a watermark though. Might be the same thing as Simon again. I hope to have time to look at it tonight.

Looking forward to the evolution of this mod.


All times are GMT. The time now is 01: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.02132 seconds
  • Memory Usage 1,786KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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