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

tfs

Quote from: Nao 尚 on March 10, 2009, 06:55:39 PM
Are you using several subdomains? (Just having "www.mysite.com" somewhere and "mysite.com" elsewhere is enough to break it.)

Sorry, I'm not sure if your reply was to me or not.  Regarding Mass Upload not working.  Can you reiterate?

Technically, I'm running under a ub-domain.  http://mysite.someoneelsessite.com

This is temporary while my own host moves me from a Win machine to a Linux machine.

Note, when I click on the "Select Files" link I see that I get an IE indicator on the statusbar that says "Done, but with errors on page."  Perhaps this is my own problem with Flash or something like that...
A good tree cannot bring forth evil fruit, neither can an evil tree bring forth good fruit.

tripl3r

Cant seem to upload using mass upload or single, realyl dont know why all my permissions etc I believe to be allowed, any know of any issues?

Nao 尚

@tfs> then apply the crossdomain.xml solution.
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.

jmil

I am re posting this because I combined it with 2 questions - which 1 is resolved :

I have a permissions Question: I would like "User Albums" to have the permission selection that "Regular Guests" can view or not view. Right now you can only select "Guests". The user albums are really good and our members are using them for posting pics in their links, but now we are getting alot of albums of basic dumb stuff (used to link Pictures), then they have albums which are intended to be viewed. I have looked everywhere in the Permissions but cant seem to find it! Am I missing this - Or that permission does not exist.

If you are confused - basically - I mean Regular members should be able to make Private albums (Of Course Moderators/Admin can look) but not accessable to other Regular Members.



Soms

Quote from: Nao 尚 on March 11, 2009, 05:29:18 AM
Would be even cooler if you told me what the structure looked like when it didn't work ;)

Sorry about that. The clue was in your earlier reply/help.
Quote from: Nao 尚 on March 09, 2009, 05:40:03 PM
Make sure you don't have more than one sub-level.

I had one file with 4 sub-levels. Those were mine. So I just deleted the sub levels and re-uploaded them as top-level files. So I guess the user album child structure was causing the errors.

Nao 尚

Yes that's definitely something we'll have to look into. Dragooon, are you reading? ;)
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.

Dragooon

I can't think that how it will screw up. I'm out of ideas.....were they user albums or general albums?

Tiribulus

This may not be the greatest time for this, but do you guys know why I would get a blank page when clicking on the gallery button in the admin CP? No errors in the log. The gallery works, also does it with the default theme. Just blank page and done on the bottom. I get this when trying to delete a user or when someone tries to register as well. Last confirmation click and blank page no changes. I don't which is chicken or which is egg or even for sure if they're related necessarily, but you would think they are somehow.
Thanks,

Tiribulus

This a duplicate post from my thread about the other related issue which was not directly linked to any MOD including this one, sorry:


This code:

        // Protect the person who started the forum

       if ($users == 1 or @in_array(1, $users))
              fatal_error('You\'re not allowed to delete the administrator.');


spanning additional lines 1120 - 1123 in the subs-member.php file was causing it. It's the little piece I mentioned above that somebody came up with to prevent unauthorized deletion of account #1. It was for an older version of SMF and I should have known better, but not seeing any problems I left it there.

I found parsing issue references to viewmembers on line 1120 of that file in the Apache error log and used KDIFF to check it against an original copy. Removed that code and all APPEARS to be well. Fixed the mgallery admin issue as well.
Thanks again guys.

Nao 尚

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.

zagrom

I got this installed and almost working, my problem is
that users cant get into there profile unless I remove this
bit of code form the "Profile,php"

function mgallery($memID)
{
global $sourcedir;
require_once($sourcedir . '/MGallery-Sub.php');
MGal_Profile_Summary($memID);
}
function mgalitems($memID)
{
global $sourcedir;
require_once($sourcedir . '/MGallery-Sub.php');
MGal_Profile_ViewItems($memID);
}
function mgalcoms($memID)
{
global $sourcedir;
require_once($sourcedir . '/MGallery-Sub.php');
MGal_Profile_ViewComs($memID);
}


w/o this code they can get back in, but some functions
are missing, I am on a heavy moded 1.1.8 forum

I will attach my profile.php (before installation)
If you think this is something else feel free to tell me as
I am clueless

Soms

Quote from: Dragooon on March 11, 2009, 01:37:54 PM
I can't think that how it will screw up. I'm out of ideas.....were they user albums or general albums?

General albums. I have not tried the same structure with the user albums. Should I?

Dragooon

@Soms I cannot get it to reproduce actually....I went in 10 levels deep and its fine. I'll do some rigid testing some time after.

Me313

what i'm missing in here?

i could not get icon for albums to appear,
i could upload files,but files did not appear properly and when i tried to download a file its saying file could not be found,
mass upload, upload the file but no button to submit the file into albums appear after finishing the upload.


take a look at here:

http://www.islamunity.net/forum/index.php?action=mgallery;sa=item;id=2

I've tried my best to fix them but....failed :(

Dragooon

Whats the permission for mgal_data and its subdirectories?

Me313


Dragooon

Does it have an albums directory? What are its sub-folders.

Me313

am sorry..i didnt get you..albums directory like how? forgive me :(

Me313

and now i got this error when trying to donwload the file i upload for test

Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/vhosts/islamunity.net/httpdocs/forum/Sources/MGallery.php on line 1644

Nao 尚

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.

Advertisement: