Jump to content


Welcome to DevFuse Forums


Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
 
Guest Message by DevFuse

(View All Products)Featured Products

  • Donations


    Help fund your forum with donations, setup goals and track member donations. Offer rewards for members donating.
  • Timeslips


    Have your members submit their race times and share with others.
  • Videos


    Allows your members to submit their own videos for community viewing. Support is included for all the major video sites.
  • Forms


    Build your own forms for your members without coding experience. Support included for pm, email and topics.
  • Collections


    Build a community database of items for your members. Full features custom fields included.

Photo

Off Topic: Gallery uplod, works with url but not browse file


  • Please log in to reply
6 replies to this topic

#1 RocketFoot

RocketFoot

    Advanced Member

  • Customers
  • 68 posts
  • Gender:Male
  • Location:South Western PA
  • Interests:Computers, guns and all technological gadgets!
  • IP.Board Version:IPB 4.0.x

Posted 21 August 2009 - 10:05 AM

Hey guys, I have been tinkering with a free myBB forum for a side project. I installed a gallery plugin but it only works by uploading pics from a url. When you try to use the browse for files upload, it doesn't upload the pics! In general terms, what or where should I look to find the problem?

www.pazrt.com

Edited by RocketFoot, 21 August 2009 - 10:06 AM.

www.BigMackTrucks.com
v3.2.x with Gallery, Blog, Tutorials, DevFuse Garage and Collection System

#2 Michael

Michael

    Management

  • Management
  • 3,524 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 21 August 2009 - 07:59 PM

Couple of the simple things to look out for is that the upload folder has a correct CHMOD value of probably 777. Another one is that the form has the attribute enctype="multipart/form-data" in it. I've never used myBB so not sure of the code but if you can point where I can download the gallery plugin or attach it here, can take a quick look through the code.

#3 RocketFoot

RocketFoot

    Advanced Member

  • Customers
  • 68 posts
  • Gender:Male
  • Location:South Western PA
  • Interests:Computers, guns and all technological gadgets!
  • IP.Board Version:IPB 4.0.x

Posted 24 August 2009 - 01:56 PM

myBB seems to be a cross between VB and IPB...it's interesting!

My co-admin, Andrew will chime in shortly with more info on this problem!

Edited by RocketFoot, 24 August 2009 - 01:57 PM.

www.BigMackTrucks.com
v3.2.x with Gallery, Blog, Tutorials, DevFuse Garage and Collection System

#4 Andrew

Andrew

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 24 August 2009 - 01:58 PM

Couple of the simple things to look out for is that the upload folder has a correct CHMOD value of probably 777. Another one is that the form has the attribute enctype="multipart/form-data" in it. I've never used myBB so not sure of the code but if you can point where I can download the gallery plugin or attach it here, can take a quick look through the code.



Hi,

I help RocketFoot manage the forums.

The folder is properly chmod to 777. I think it's a conflicting plugin issue OR a server issue. A forum member is hosting the site on his box he rents from a colo..I have web hosting that I tried the plugin on and it works just fine...uploading photos from a url and pc both work normally.

the plugin can be downloaded here:
http://mybbsource.co...ent.php?aid=431 (might require signing up)

#5 Michael

Michael

    Management

  • Management
  • 3,524 posts
  • Gender:Male
  • IP.Board Version:IPB 3.4.x

Posted 25 August 2009 - 05:25 AM

Ok I think I've ruled it down to one thing. The use of $HTTP_POST_FILES was depreciated in PHP 4.1. You'll probably need to replace every instance with $_FILES for the server your having problems with. I use the latest version of PHP on my test server and changing the above worked for me.

#6 RocketFoot

RocketFoot

    Advanced Member

  • Customers
  • 68 posts
  • Gender:Male
  • Location:South Western PA
  • Interests:Computers, guns and all technological gadgets!
  • IP.Board Version:IPB 4.0.x

Posted 25 August 2009 - 09:22 AM

Ok I think I've ruled it down to one thing. The use of $HTTP_POST_FILES was depreciated in PHP 4.1. You'll probably need to replace every instance with $_FILES for the server your having problems with. I use the latest version of PHP on my test server and changing the above worked for me.

Thanks for the advice! That could explain why we are having a problem on one box and not another! We'll give it a try and see what happens!

Thanks Michael! BTW, IPB3 looks good on the forums! Very nice!
www.BigMackTrucks.com
v3.2.x with Gallery, Blog, Tutorials, DevFuse Garage and Collection System

#7 RocketFoot

RocketFoot

    Advanced Member

  • Customers
  • 68 posts
  • Gender:Male
  • Location:South Western PA
  • Interests:Computers, guns and all technological gadgets!
  • IP.Board Version:IPB 4.0.x

Posted 25 August 2009 - 11:56 AM

Update: Michael, your advice worked! That was exactly the problem! :D We are good to go!

Thanks again!
www.BigMackTrucks.com
v3.2.x with Gallery, Blog, Tutorials, DevFuse Garage and Collection System




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users