News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SMF Media Gallery (SMG) - 2.0.5 is out! (December 2)

Started by SMGTeam, September 09, 2008, 03:14:05 PM

Previous topic - Next topic

Atheo

You know I didn't even check that. How can I change the max upload size?

Dragooon

See phpinfo.php to know that(What is a phpinfo() file?). Ask your host to change the values if you need to.

Atheo

So there is nothing more from here then?

Its hard to imagine a host as popular as hostmonster having upload sizes so low but I'll give it a try.

Dragooon

Hostmonster is a really crappy overseller host. You should look into the phpinfo for upload_max_filesize and post_max_size.

LinK187

Quote from: Atheo on April 27, 2009, 12:08:48 PM
So there is nothing more from here then?

Its hard to imagine a host as popular as hostmonster having upload sizes so low but I'll give it a try.

Dragoon's right, and it's nothing to do with how good a host is. They seem to all have low max file size settings.

Atheo

I found out how to get it done. While they may stink at some things I have never had a problem with their tech support. They walked me through everything just fine.

I appreciate everyone's help on my question. Thank you.

Atheo

Hello,

Amazing mod!

Is there a way to change user albums to general albums? thank you

NooNYUki

Quote from: NooNYUki on April 27, 2009, 05:47:50 AM
/home/projec32/public_html/testpage/testpage/mgal_data


By the way, I tried the fix I found in page 158 (or somewhere around there) which directs to this page. hxxp:www.smfhacks.com/index.php?topic=3389.msg16119#msg1 [nonactive]
I wanna know what is the relevant file for Sources/Gallery2.php of that solution in SMG?
I tried default/mgalleryitem.php and it works but i think i ll still need to fix the sources part but I have no idea which file I should fix.
Thanks again for your patience.  :P
That one solved my problem.. I fixed several files that have url passing with ';id' value to '&id' and now my gallery is up and running!!

Now I've another question. When I upload an image that has 728 width, it shows up like 628 or sometimes 704. Is there something wrong? I want to have 728 width for a particular reason. When an image is uploaded, does SMG resize it? And if so, is there a way I can fix it?

Tiribulus

There's settings related to maximum file params in the control panel and for resizing as well if that's what you're asking.

NooNYUki

actually i tried all of them. Just that I'm puzzled why the actual dimension doesn't show up while the file width 728 px is within the maximum width 1024.

Atheo

Is there capability to change a user album to a general album please?

tfs

Gallery was working great, but now all of a sudden I can't upload.

SMF 2.0 RC1
Media Gallery 1.5.6

It was working great.  I've uploaded lots of files.  Suddenly now when I try to upload anything I get an error...

"An error happened during the upload process, please try again or contact the administrator."

This happens with single upload and also with mass upload.  Public albums and user albums.  Logged in an admin or regular user.  I haven't really changed anything on the forum, which makes this very confusing.  The error is displayed to the user and also in the SMF error log.

Checking my server control center it says I've got >100 gigs available space.  File permissions on mgal_data and all folders under it are 755.  I really haven't changed anything.
A good tree cannot bring forth evil fruit, neither can an evil tree bring forth good fruit.

Dragooon

Quote from: Atheo on April 27, 2009, 11:15:11 PM
Is there capability to change a user album to a general album please?
No, there is no GUI for that.

Quote from: tfs on April 28, 2009, 02:13:55 AM
Gallery was working great, but now all of a sudden I can't upload.

SMF 2.0 RC1
Media Gallery 1.5.6

It was working great.  I've uploaded lots of files.  Suddenly now when I try to upload anything I get an error...

"An error happened during the upload process, please try again or contact the administrator."

This happens with single upload and also with mass upload.  Public albums and user albums.  Logged in an admin or regular user.  I haven't really changed anything on the forum, which makes this very confusing.  The error is displayed to the user and also in the SMF error log.

Checking my server control center it says I've got >100 gigs available space.  File permissions on mgal_data and all folders under it are 755.  I really haven't changed anything.
Are the files bigger than upload_max_filesize? mgal_data should be 777 as well as all folders inside it. Is the path to it correct?

tfs

Quote from: Dragooon on April 28, 2009, 02:35:54 AMAre the files bigger than upload_max_filesize? mgal_data should be 777 as well as all folders inside it. Is the path to it correct?

upload_max_filesize is 20M 20M

I'm just trying to upload small images as tests.  They've ranged from 15k gifs to 4 meg MP3's.  The paths have not been changed, and Media Gallery works fine for viewing all the existing files.  I changed the whole mgal_data branch to 777 and the problem persisted.  Unfortunately I inadvertently chmodded all the files to 777 as well.  I'm not positive what all the files were set at, so I'm restoring the mgal_data folder right now from my last backup from two days ago.

Perhaps an uninstall and reinstall might be in order?
A good tree cannot bring forth evil fruit, neither can an evil tree bring forth good fruit.

Nao 尚

@Altheo> Don't bump a question more than once a day.

@Dragooon> Shouldn't we turn all of these ;id into &id?

@NooN> Only reasons for resizing are: (1) your file is bigger than the max filesize allowed (check your admin settings), (2) the file is taller than the max height allowed. (Same comment.)
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Atheo

Nobody bumped anything. I simply asked a question that does not seem to have an answer. My bad.

richyp

Hi I just installed this and while everything seemed to be ok and I manage to access the settings and change permission I cannot access the Gallery and get this message: "A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again."

going in via: website.com/forum/mgal_data

forum is 1.1.8  ::)

Dragooon

You cannot access the gallery through the folder. You have to use ?action=mgallery.

LinK187

#3258
Quote from: tfs on April 28, 2009, 03:10:26 AM
Quote from: Dragooon on April 28, 2009, 02:35:54 AMAre the files bigger than upload_max_filesize? mgal_data should be 777 as well as all folders inside it. Is the path to it correct?

upload_max_filesize is 20M 20M

I'm just trying to upload small images as tests.  They've ranged from 15k gifs to 4 meg MP3's.  The paths have not been changed, and Media Gallery works fine for viewing all the existing files.  I changed the whole mgal_data branch to 777 and the problem persisted.  Unfortunately I inadvertently chmodded all the files to 777 as well.  I'm not positive what all the files were set at, so I'm restoring the mgal_data folder right now from my last backup from two days ago.

Perhaps an uninstall and reinstall might be in order?

Ask your host if they've recently updated to mod_security2. This totally fu(ked up my site and I had to take a number of steps to make it work proper again. I believe my prev post talked about it.

http://www.simplemachines.org/community/index.php?topic=260821.msg2018697#msg2018697

As well all folders must be 755 and all files 644.

Atheo

Hello again,

I'm almost there with this mod but I have some more questions.

1.) Why is my admin name the only one to see the gallery button in the menu and how do I fix that?

2.) Are there membergroup permissions for gallery? If I wanted only select people to have their own albums how could I do that? (if I have overlooked something I apologize)

3.) I want to make sure I have this right, the general albums are only seen by the poster and the user albums by everyone correct?

Thank you guys for your time and great mod!

Advertisement: