News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

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

Akyhne

1) Admin -> Permissions
2) Admin -> Permissions
3) general albums are for everyone - user albums can be private (password protected)

Tiribulus

You'll find this for each membergroup:

And like the other guy said, users can password protect their galleries. As far as I know access to the gallery at large should allow access to general albums and unprotected user albums. You may just not have permissions granted to anybody at this point which means only admins can see anything.

Rumboogy

I just installed this on SMF 2.0 RC1. The install went fine, however I am getting this error when I try to create a "general album".

An Error Has Occurred!
This album's directory couldn't be properly created, please make sure mgal_data and mgal_data/albums is chmodded to 777


And of course that generates an error in my error log (see below).

Yes, I have check my CHMOD and both are set to 777. I also did a phpinfo.php and my open_basedir option is also disabled.

Any suggestions as to what is going on...I see that someone else had this same problem a few days ago, but I didn't see a direct reply to his question.

Thanks for any help...I would like to try this gallery out.

Wally

Nao 尚

Quote from: Atheo on April 28, 2009, 05:29:52 AM
Nobody bumped anything. I simply asked a question that does not seem to have an answer. My bad.
Sure. You post at 3am (France)/6am (India) and ask the same question again two hours later. As if we're gonna be able to answer you in that timeframe, lol. So not only you don't even ask yourselves who you're talking to (just click on any profile and you'll see *their* local time), but you think it's worth bumping the topic after only 2 hours when the rule for the simplemachines.org site is 24 hours...
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.

PAPABEAR


Dragooon

Quote from: Rumboogy on April 28, 2009, 07:11:42 PM
I just installed this on SMF 2.0 RC1. The install went fine, however I am getting this error when I try to create a "general album".

An Error Has Occurred!
This album's directory couldn't be properly created, please make sure mgal_data and mgal_data/albums is chmodded to 777


And of course that generates an error in my error log (see below).

Yes, I have check my CHMOD and both are set to 777. I also did a phpinfo.php and my open_basedir option is also disabled.

Any suggestions as to what is going on...I see that someone else had this same problem a few days ago, but I didn't see a direct reply to his question.

Thanks for any help...I would like to try this gallery out.

Wally
Are you sure there is a data directory in the path defined under Admin > Gallery > Settings(config). And if it has a albums sub-directory ALSO chmodded to 777?

Atheo

I cant tell you how little I  care who you are. This is your mod?? I dont need it. Its not like you answer peoples questions directly anyway.

Dont worry...I wont be back.

Nao 尚

Blah blah. "Do what I say, not what I do", eh?
Go annoy someone else then.
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.

Gurbet_42

#3268
Hi Nao, I have a problem, have downloaded this mod and is very nice but I can download small files 200 kb and video but not a little larger filer.Når I want to download some large files comes a blank page.Have also problems with mas upload, it will not load opp.Have received help from Ozgur but he could load without problem but it can not jeg.what can the problem be?

Atheo

Nao doesnt answer questions...only mocks and ridicules...you have to get into your phpconfig on cpanel, select PHP5 (Single php.ini), then check the two boxes below that area and then click "install php.ini master file"

navigate to that file and you will find settings that need adjusted

Code (find) Select
; Maximum size of POST data that PHP will accept.
post_max_size =64M


Code (replace) Select
; Maximum size of POST data that PHP will accept.
post_max_size = xxxM


Where xxx is at least double what you have.

Code (find) Select
; Maximum allowed size for uploaded files.
upload_max_filesize = 64M


Code (replace) Select
; Maximum allowed size for uploaded files.
upload_max_filesize = 128M

Consider the size of your files for this amount.

There is also a variable in the gallery "settings" area that reads "Max file size (KB)"
I changed this amount too to a very large number and all is well.

This seems to be a common error that nobody is looking at or helping with.

Good luck!

Nao 尚

Quote from: Atheo on April 30, 2009, 02:05:09 AM
Nao doesnt answer questions...only mocks and ridicules...
Oh, that's defamation isn't it? You're implying that all of these months of answering support questions here amount to nothing just because I didn't answer *your* question (which I couldn't answer anyway because I was *sleeping*!)

Allow me to repeat: "lol".
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.

Malo76

Quote from: Rumboogy on April 28, 2009, 07:11:42 PM
I just installed this on SMF 2.0 RC1. The install went fine, however I am getting this error when I try to create a "general album".

An Error Has Occurred!
This album's directory couldn't be properly created, please make sure mgal_data and mgal_data/albums is chmodded to 777


And of course that generates an error in my error log (see below).

Yes, I have check my CHMOD and both are set to 777. I also did a phpinfo.php and my open_basedir option is also disabled.

Any suggestions as to what is going on...I see that someone else had this same problem a few days ago, but I didn't see a direct reply to his question.

Thanks for any help...I would like to try this gallery out.

Wally

I have the same problem. Can somebody help me?

Dragooon

Quote from: Malo76 on April 30, 2009, 04:58:18 AM
Quote from: Rumboogy on April 28, 2009, 07:11:42 PM
I just installed this on SMF 2.0 RC1. The install went fine, however I am getting this error when I try to create a "general album".

An Error Has Occurred!
This album's directory couldn't be properly created, please make sure mgal_data and mgal_data/albums is chmodded to 777


And of course that generates an error in my error log (see below).

Yes, I have check my CHMOD and both are set to 777. I also did a phpinfo.php and my open_basedir option is also disabled.

Any suggestions as to what is going on...I see that someone else had this same problem a few days ago, but I didn't see a direct reply to his question.

Thanks for any help...I would like to try this gallery out.

Wally

I have the same problem. Can somebody help me?
Is the data directory path correct? Is the directory having a subdirectory called as "albums"? Are they both chmodded to 777? Is open_basedir, mod_security(2) enabled?

LinK187

Quote from: Atheo on April 30, 2009, 02:05:09 AM
Nao doesnt answer questions...only mocks and ridicules...you have to get into your phpconfig on cpanel, select PHP5 (Single php.ini), then check the two boxes below that area and then click "install php.ini master file"

navigate to that file and you will find settings that need adjusted

Code (find) Select
; Maximum size of POST data that PHP will accept.
post_max_size =64M


Code (replace) Select
; Maximum size of POST data that PHP will accept.
post_max_size = xxxM


Where xxx is at least double what you have.

Code (find) Select
; Maximum allowed size for uploaded files.
upload_max_filesize = 64M


Code (replace) Select
; Maximum allowed size for uploaded files.
upload_max_filesize = 128M

Consider the size of your files for this amount.

There is also a variable in the gallery "settings" area that reads "Max file size (KB)"
I changed this amount too to a very large number and all is well.

This seems to be a common error that nobody is looking at or helping with.

Good luck!

Even if Nao were awake he would have ignored you due to the answer being posted several times. Also in addition to adjusting the max file size variables. You will also have to change the max upload time and max execution time. Otherwise the value of the max upload size will be irrelevant.

As well with php 5, all folders must be 755 and all files must be 644.

Dragooon

Quote from: Atheo on April 30, 2009, 02:05:09 AM
Nao doesnt answer questions...only mocks and ridicules...you have to get into your phpconfig on cpanel, select PHP5 (Single php.ini), then check the two boxes below that area and then click "install php.ini master file"
And you should also learn to respect people. You posted the same question twice in 2 hours, thus you were ignored. I(And Nao I believe) do not like people trying to bump there questions just to have an answer...especially so frequently.

richyp

Quote from: Dragooon on April 28, 2009, 07:07:08 AM
You cannot access the gallery through the folder. You have to use ?action=mgallery.

Hi, Thanks for the reply

Ok no problem I've found this, but is it not possible for the user to access this link via their profile under Gallery?

All that my users can see is 'summary', 'view items' and 'view comments', surely there should be a 'home' link in here? or am i missing something?

Thanks;

Rich


Dragooon

Quote from: richyp on April 30, 2009, 11:21:21 AM
Quote from: Dragooon on April 28, 2009, 07:07:08 AM
You cannot access the gallery through the folder. You have to use ?action=mgallery.

Hi, Thanks for the reply

Ok no problem I've found this, but is it not possible for the user to access this link via their profile under Gallery?

All that my users can see is 'summary', 'view items' and 'view comments', surely there should be a 'home' link in here? or am i missing something?

Thanks;

Rich


Uh there should be a tab in the main tab bar. In case you're running SMF 1.1 with a custom theme, you should look into adding the tab manually.

Hellan Bach

Hi Dragooon,
i updated to the latest version of smf gallery yesterday, ( uninstalled the old version and installed the new) and since then i am getting this error message any ideas how to fix it?
"Not Acceptable
An appropriate representation of the requested resource /main/index.php could not be found on this server."

i know the main/index.php exists, so im not sure whats causing this?
any help would be great, i know your busy.
Thanks
Hellan

P.s i use smf 1.1.8 if that helps any

Dragooon


Hellan Bach

uhmmm i'm not sure what that is so probably not? ( sorry im a total newby to mods etc)

thats for the quick reply, where would i find that to check?

Advertisement: