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)

spazz191 08-12-2006 10:09 PM

Thank you

medw1974 08-13-2006 03:27 PM

I'm getting this database error on a fresh install

Code:

Database error in vBulletin 3.6.0:

Invalid SQL:
INSERT INTO vbvbimghost ( `imgid` , `userid` , `imgfile` , `imgname` , `thumbname` , `imgfilesize` , `imgwidth` , `imgheight` , `imgdate` , `imgprivate` )
                            VALUES ('', '1', '144df50dbc89af.jpg', '002AEFF7.JPG','thum_144df50dbc89af.jpg' , '34.734375', '800', '600', '1155485915', '0');

MySQL Error  : Out of range value adjusted for column 'imgid' at row 1
Error Number : 1264
Date        : Sunday, August 13th 2006 @ 05:18:37 PM
Script      : http://127.0.0.1/fb2b/forums/vbimghost.php
Referrer    : http://127.0.0.1/fb2b/forums/vbimghost.php?do=upload
IP Address  : 127.0.0.1
Username    : michael
Classname    : vB_Database

Edit - I managed to fix this, mysql on my testing server was running in safe mode, just commented this out of my.ini and all was ok.

Ranma2k 08-13-2006 05:27 PM

Quote:

Originally Posted by medw1974
I'm getting this database error on a fresh install

Code:

Database error in vBulletin 3.6.0:

Invalid SQL:
INSERT INTO vbvbimghost ( `imgid` , `userid` , `imgfile` , `imgname` , `thumbname` , `imgfilesize` , `imgwidth` , `imgheight` , `imgdate` , `imgprivate` )
                            VALUES ('', '1', '144df50dbc89af.jpg', '002AEFF7.JPG','thum_144df50dbc89af.jpg' , '34.734375', '800', '600', '1155485915', '0');

MySQL Error  : Out of range value adjusted for column 'imgid' at row 1
Error Number : 1264
Date        : Sunday, August 13th 2006 @ 05:18:37 PM
Script      : http://127.0.0.1/fb2b/forums/vbimghost.php
Referrer    : http://127.0.0.1/fb2b/forums/vbimghost.php?do=upload
IP Address  : 127.0.0.1
Username    : michael
Classname    : vB_Database

Edit - I managed to fix this, mysql on my testing server was running in safe mode, just commented this out of my.ini and all was ok.

even if it's in safe mode why it's out of range !?

WeArab 08-15-2006 07:38 AM

Waiel Great job Bro!

One of the best add-ons here!

Installed!

KevNJ 08-16-2006 03:46 AM

*clicks install*

Fresh install, upgraded from 3.5.1 to 3.6 a few hours ago along with cmps 2.2.0 and a few other hacks. This installed and is working perfectly with out a single error. w00t!!

is there a future plan to add a "this picture has been viewed X amount of times" ?? and/ or a "whos viewed this image"

Ranma2k 08-16-2006 09:19 AM

Quote:

Originally Posted by KevNJ
*clicks install*

Fresh install, upgraded from 3.5.1 to 3.6 a few hours ago along with cmps 2.2.0 and a few other hacks. This installed and is working perfectly with out a single error. w00t!!


is there a future plan to add a "this picture has been viewed X amount of times" ?? and/ or a "whos viewed this image"

yes next release will include this in it

Sarthek 08-16-2006 12:04 PM

This hack is so great! realy! (clicked install), however I must write down some hopefully future option. It would be nice if hack would also have option:

- users can set fotos for view to specific user(s), usergroups... (now is only public and private)

c0rupted 08-17-2006 08:26 AM

Quote:

Originally Posted by Ranma2k
TO EVERYONE

ALL YOUR PROBLEMS ARE BECAUSE OF THE TABLE DOESN'T EXISTS AND YOU DIDN'T READ THE INSTALLATION FILE

PEPOLE WITH FRESH INSTALL WON'T FACE ANY PROBLEM

fresh install on a fresh vb3.6 ... heh ...

it does this on .jpg
Code:

Warning: imagecreatefromjpeg(/public_html/forum/imagehosting/imagehosting/144e42de04b356.jpg) [function.imagecreatefromjpeg]: 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() [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 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

This on .png ...
Code:

Warning: imagecreatefrompng(/public_html/forum/imagehosting/imagehosting/144e43b354b6e7.png) [function.imagecreatefrompng]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 170
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: imagepng(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 204

and this on rebuilding thumbnails ...
Code:

Warning: getimagesize(/public_html/forum/imagehosting/imagehosting/144e43a8640ba2.gif) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279
And it seems not to apply the watermark :confused::dead:

Ranma2k 08-17-2006 10:51 AM

Quote:

Originally Posted by c0rupted
fresh install on a fresh vb3.6 ... heh ...

it does this on .jpg
Code:

Warning: imagecreatefromjpeg(/public_html/forum/imagehosting/imagehosting/144e42de04b356.jpg) [function.imagecreatefromjpeg]: 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() [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 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

This on .png ...
Code:

Warning: imagecreatefrompng(/public_html/forum/imagehosting/imagehosting/144e43b354b6e7.png) [function.imagecreatefrompng]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 170
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: imagepng(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 204

and this on rebuilding thumbnails ...
Code:

Warning: getimagesize(/public_html/forum/imagehosting/imagehosting/144e43a8640ba2.gif) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279
And it seems not to apply the watermark :confused::dead:

Did you setup the path correctly ?!
it doesn't look like you did
it should be something like this

/home/yoursiteusername/public_html/forums

all the errors are becase the path is not set correctly in the options

tEChniiQue 08-17-2006 03:22 PM

Is there a way I can set this up so that a random image from what my members have uploaded appears on my home page, vbAdvanced. Kinda like the thumbnails from Photoplog but with these (which will be used for signatures, avatars, and userbars).

Thanks in adavance!


All times are GMT. The time now is 07:38 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.01838 seconds
  • Memory Usage 1,768KB
  • 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
  • (8)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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