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)

dsa411 01-20-2007 06:35 PM

I have recently switched host and now when users try to upload pictures we are getting a blank page has any one else fixed this problem yet?

dsa411 01-25-2007 05:21 PM

well i have gotten it to stop loading white pages and uploading the pictures but the only way i was able to do this was by turninng off resize, thumbnails and ,water mark functions. any ideas?

dsa411 01-27-2007 08:12 PM

Fixed! GD was not installed properly

frozen187 01-29-2007 03:30 AM

I am getting a error when someone trys to upload a avatar or uses a link for the avatar. The error is

Fatal error: Direct Instantiation of vB_Image_Abstract prohibited. in /includes/class_image.php on line 190

And line 190 is.
trigger_error('Direct Instantiation of vB_Image_Abstract prohibited.', E_USER_ERROR);

tankaya61 01-29-2007 07:41 PM

can i use external server??

frozen187 01-31-2007 06:32 PM

I have the problem solved now. xcache was messing the script up once xcache was disabled everything went back as it was.

ComputerVitals 01-31-2007 07:48 PM

I found xCache to do the same issue.

From what I and others have found xCache seems to not like PHP 4.4x

TheHeartSmasher 02-02-2007 12:36 AM

Errors:
unable to delete images from inside admin panel.
no water marking

JohnBee 02-02-2007 12:32 PM

Is there any way to store images in the file system rather than the db?

Merriweather 02-02-2007 10:26 PM

I just did the install, made sure it was enabled, set my usergroup to have permission to use it... but nothing is different? I see no place to upload images... help!

ETA ~ Oops, I didn't do the template changes yet. Guess I ought to try that first...

Merriweather 02-02-2007 10:53 PM

Yay! Amazing how RTFM works. ;) This is great so far...

Merriweather 02-02-2007 11:15 PM

I see that when I am viewing all of my images, I have the last option "Permission" and then just "Delete Image" but if I click the image for a full view, I then have "Permission" with "Set private" and "Delete Image". Can the privacy option be added to the overview of all images so users don't have to go to each image to see the settings?

Spank 02-03-2007 03:49 AM

Great hack, I love it.

It does work fine, except when an image is uploaded, I get a page with a list of errors:

Quote:

Warning: imagecreatefromjpeg(/home/user/public_html/endeavour/imagehosting/145c420d2b33ff.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 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
It does still redirect and the images upload fine etc. It just doesn't look very good to see this page full of errors, especially when everything appears to be working ok.

Any ideas how to fix this?

blind-eddie 02-03-2007 01:14 PM

I do too, but image still loads. This also happens to me in another installed hack.

Spank 02-03-2007 03:48 PM

I managed to get rid of all of the errors except one by putting in the usual path to the forums, instead of the public_html path.

I still get this error:
Quote:

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'http://www.misc-world.com/endeavour/imagehosting/145c4c9e6dc492.jpg' for writing in /includes/vbimghost_include.php on line 209
What's causing this?

eshudnow 02-03-2007 04:24 PM

In the instructions it states to find the following:

<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td

and

<!-- PAGENAV POPUP -->

I'm going into Navigation / Breadcrumb Templates and going to navbar and can't find any of that text. Am I going to the wrong navbar (is there more than 1?)

SVTOA 02-03-2007 06:35 PM

Works perfectly on a fresh install. Thanks!

ThomasR 02-04-2007 12:30 PM

First of all, congratulation (again) for this hack. Installed sucessfully and it works like a charm. But I have a question: I saw that you can see all the user pictures in the admincp, even the private one. Is their a way to browse directly inside the forum side of the mod and see what is private like all the public image when you are admin?

Merriweather 02-04-2007 03:44 PM

edshudnow ~ Your navbar may have been previously edited and therefore doesn't have those exact bits of code. Are you using a custom template?

Ranma2k ~ When you edit your signature, the editor links are there, but the text is not showing for the first link:

[Open]
[Upload Photo]

So if I am posting a message, I see both links on the right below the smilies and they work, but if I am editing my signature, I only see:

[]
[Upload Photo]

ETA ~ The [Open] does nt show because "Open" isn't a global vB phrase. To remody this issue, I just went into the Phrase manager, clicked "Add New Phrase" and used the following:

Phrase Type: Global
Product: VB image hosting
Varname: open
Text: Open

Save it and then the word will show in all required places other than the posting window. ;)

Merriweather 02-05-2007 03:59 AM

I also found what is a big problem for me, and may be for others... I can't find an option to prevent usergroups from viewing member's photos. Right now, guests can see user's photos, and I do not want them to be able to, amongst other usergroups. How can this be corrected?

SVTOA 02-05-2007 11:55 AM

Make the navbar and Postbit statements conditional upon being logged in. Then they won't see them unless they are a member who is logged in.

As for not seeing the postbit code, it's just popup code so place in the same place as your search and quicklinks or look for NAVABAR POPUPS or something similar.

Merriweather 02-05-2007 02:04 PM

Quote:

Originally Posted by SVTOA (Post 1175139)
Make the navbar and Postbit statements conditional upon being logged in. Then they won't see them unless they are a member who is logged in.

It's nice in theory, but if someone knows the direct link to the page, they can still see the images. I want that page to be blocked from certain usergroups, including logged in ones. Hiding the postbit doesn't solve my problem, exactly. :)

ChipW 02-05-2007 07:34 PM

I didn't read through all the post to see if this was around.... So I created my own little module for use in VBadvanced.

I have a highly modified $navbar template and did this out of nessessity... So, I'll share with everyone else...

This is a hack that is meant for use with VBadvanced.

It can be found here

Merriweather 02-08-2007 02:35 AM

If a member is deleted from the site, will their images be deleted as well?

ChipW 02-08-2007 03:03 AM

to test that, create a fake user.... upload a couple images then delete that user....

Lightmaster-AH 02-09-2007 11:51 AM

Quote:

Originally Posted by redlabour (Post 1137281)
Bug:

At normal Editor and Quickreplyeditor everything is ok.

But at PM Editor i have only the Option for Quickuploading and the Point of : Open Gallery is only [] .....

s. Screenshot where the Mousecursor stands ...

Hello,

someone fixed this?

Merriweather 02-09-2007 02:59 PM

Yes, read back a few threads as I posted a fix.

Spank 02-10-2007 08:03 AM

I managed to get rid of all of the errors except one by putting in the usual path to the forums, instead of the public_html path.

I still get this error:
Quote:

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'http://www.misc-world.com/endeavour/imagehosting/145c4c9e6dc492.jpg' for writing in /includes/vbimghost_include.php on line 209
What's causing this?

fly 02-10-2007 11:52 AM

Quote:

Originally Posted by Spank (Post 1178993)
I managed to get rid of all of the errors except one by putting in the usual path to the forums, instead of the public_html path.

I still get this error:

What's causing this?

What are your permissions on the http://www.misc-world.com/endeavour/imagehosting/ folder?

Tom_S 02-10-2007 12:56 PM

Is anyone having an issue after clicking on "Upload and Image" that their host is shutting off their site because of a CPU Quota Exceed Error? It seems when I do click upload an image it just sits there as if it can't find it and then my host is shutting our account off saying we are exceeding our quota. I was having no problems with this mod until the other day but I have been having a huge amount of issues with my host at bluehost.com. Anyone having these or similar issues? I need to know what direction to go in here. Fix something with the mod or yell at my host.

Merriweather 02-10-2007 02:53 PM

I haven't had such issues, Tom. If you didn't make any changes to the mod or added other mods and this just started happening, I'd contact the host.

Tom_S 02-10-2007 02:58 PM

I did contact them and they are saying this is the issue:
Fri Feb 9 17:01:38 2007: used 30.03 seconds of cpu time for HTTP Request: mywebsite.com : GET /member/vbimghost.php?do=upload

At the exact time this happened the server I am on the load was at 10.09 (4 cpus). I am ready to move from bluehost. I have been with them since they started but they are all about the money now and not the client. ACK!

You are correct in assuming I did nothing to the mod. It has been running fine until this.

Thanks..I appreciate the confirmation.

Tom

fly 02-10-2007 03:05 PM

30 seconds of CPU time seems like a lot. Do you have a slow upload and they are maybe counting the whole time the connection is open?

Tom_S 02-10-2007 03:09 PM

I wan't uploading anything. I only clicked the upload link to give me the page to upload a file. This is the time it was taking just to open the upload page which it never did. The issue was on their side. It is shared hosting. We are forever now running into other accounts zapping the server such as I pointed out that at the time I was attempting this our server load was at 10.09 (4 cpus) which nothing will work for anyone when this is doing this.

They however wish to blame it on you if you contact them and tell you to modify your scripts to run the minimum load possible for the server. As it stands the box we are on has 840 shared accounts and they say accumulating 500 plus per day.

I really was hoping it was an issue that was a simple fix others were having but I knew it was my host and not the mod.

blind-eddie 02-10-2007 08:34 PM

TOM, I too rent from bluehost & have been having major problems with them,....but this is going
off topic. There is a thread regarding host problems here on vb.org. I have a dedicated ip, I also get the most you can get from bluehost, I haven't yet had the problem you are having with them about this particular mod. Feel free to pm me or visit my site to share our troubles about bluehost.

Tom_S 02-10-2007 09:14 PM

Bless you Brother! I knew I wasn't going crazy! :D

I will PM you

Merriweather 02-11-2007 02:51 AM

Ranma2k ~ Since the images are not renamed when uploading, what happens if a user uploads two pictures with the same name, or if two users upload pictures with the same name? Is this something you've taken into account?

Tom_S 02-11-2007 02:57 AM

Here is something to take into account. First. I am paying for professional webhosting. Second, when you click this link: http://myhost.com/forum/vbimghost.php?do=upload
This error occurs. No matter if there is one member or twenty members. How is it you explain that?

Merriweather 02-11-2007 03:05 AM

Sorry, Tom, when I wrote my post above yours, I put your name on it, but I mean to ask the mod author.

Tom_S 02-11-2007 03:08 AM

Sorry Merriweather...I have been so frustarated I seen something that just wasn't there.


All times are GMT. The time now is 05:12 AM.

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.02624 seconds
  • Memory Usage 1,827KB
  • 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
  • (6)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
  • (40)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