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

Nao 尚

Setting it to "No" by default:

Open MGallery-Sub.php
Line 720:

      $access = array(-1, 0, 1);

Replace with:

      $access = array(0, 1);

Should work...
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.

moumoute83

#1801
Hi! I'm using your last version of your mod et and it works great.
However, I've some troubles with adding audio files in the gallery which have a great size (generally bigger than 7 MB). I tried to change the file size in the admin panel but nothing happens, I've the same error "please contact the administrator...blabla". Maybe I'm stupid :)
Is there any secret option (in a secret subfolder in a secret php file) ?

Thanks in advance.

Nao 尚

Salut Moumoute du 83, ça c'est du pseudo...

The usual suspect: max_upload_size and max_post_size settings in your php.ini file. You need to set them to a higher value (such as 32M). If you don't have access to your php.ini file, then try setting them through a .htaccess file. (Google est ton ami.)
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.

Akyhne

Quote from: Nao 尚 on January 16, 2009, 06:06:41 AM
Setting it to "No" by default:

Open MGallery-Sub.php
Line 720:

      $access = array(-1, 0, 1);

Replace with:

      $access = array(0, 1);

Should work...

Seems to work excellent.

A few more issues:
When adding an image, you have the option to add a title, then the description and finally the image. That's a reverse order to do things. Of course people will do it the other way around, but it's a little odd.
I can see the layout looks better as it is now, but still..

There are a few layout errors in the admin part. Probably just a .css error. It's the same few spots the layout is broken. Image attached..

Nao 尚

Quote from: akyhne on January 16, 2009, 06:59:57 AM
A few more issues:
When adding an image, you have the option to add a title, then the description and finally the image. That's a reverse order to do things. Of course people will do it the other way around, but it's a little odd.
Lol... Never really thought about that. It's a valid request, though ;)

QuoteThere are a few layout errors in the admin part. Probably just a .css error. It's the same few spots the layout is broken. Image attached..
I don't use default layouts so I wouldn't know. But it's already been reported to the bug tracker, AFAIK.
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.

Birder

Hi

First thanks for a great mod

I am using SMF 1.1.17 and need custom profile fields so must go to SMF 2.0

When  i upgrade i have to remove and reinstall all mods including yours,

What instructions do i need to follow so i can get my gallery back on the new version, is there a backup gallery option and restore

many thanks

Dragooon

You just need to re-install after upgrading. Make sure to not remove the mgal_data folder or mgallery tables to keep your data intact.

Birder

Thanks so much for such a quick answer, i will try it after midnight

Akyhne

Quote from: Nao 尚 on January 16, 2009, 04:39:56 AM
QuoteWhen I am viewing an image in the gallery, I miss a link to the album that the image is within. Annoying if you want a full view of the album.
You mean when you're in an item page...? The album link is in the usual linktree ;)

Well, actually when you're viewing recent images, there's no link to the album the image belongs to. The link could be in the buttom toolbar.

My issue:
Just mass uploaded some images. Then clicked into the first to edit description. After saving I was thrown back to the image, but because I had clicked in recent images list, I was still in recent images list. So to edit description for the other mass uploaded images, I have to manually browse to the album and edit every images desc. there.
So I really think it would be nice with a link to each images album when viewing it (preview).

LinK187

Quote from: akyhne on January 17, 2009, 01:17:37 PM
Quote from: Nao 尚 on January 16, 2009, 04:39:56 AM
QuoteWhen I am viewing an image in the gallery, I miss a link to the album that the image is within. Annoying if you want a full view of the album.
You mean when you're in an item page...? The album link is in the usual linktree ;)

Well, actually when you're viewing recent images, there's no link to the album the image belongs to. The link could be in the buttom toolbar.

My issue:
Just mass uploaded some images. Then clicked into the first to edit description. After saving I was thrown back to the image, but because I had clicked in recent images list, I was still in recent images list. So to edit description for the other mass uploaded images, I have to manually browse to the album and edit every images desc. there.
So I really think it would be nice with a link to each images album when viewing it (preview).

Perhaps an easier approach would be a mass comment page...

Succubus Evaligan

#1810
Forum version SMF 1.1.7
SMF Media Gallery 1.5.2

When I try to delete an album.... I get this error...
Quote
Fatal error: require_once() [function.require]: Failed opening required '/Subs-Package.php' (include_path='.;C:\php5\pear') in C:\AppServ\www\smf\Sources\MGallery-Admin.php on line 607

____________________________________________________________
I have a liitle problem using Simple Portal with the AEVA mod 5.36 and the SMF Media Gallery 1.5.2... :'(
I update both and all works fine until... I try to add a new album... after many test I see some relation conflict between mods. So I see what mods are making that error and I find this.

You can check in a fresh Install  SMF 1.1.7 Only with 3 mods installed.
Quote
Browse Packages
Modification Packages
   Mod Name    Version    
1.    SimplePortal    2.1.1    [ Uninstall ] [ List Files ] [ Delete ]
2.    SMF Media Gallery    1.5.2    [ Uninstall ] [ List Files ] [ Delete ]
3.    Aeva ~ Auto-Embed Video & Audio    5.1.36    [ Uninstall ] [ List Files ] [ Delete ]
When I click in Add General Album. I get this error...
Quote
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 393216 bytes) in C:\AppServ\www\smf\Sources\Load.php(1744) : eval()'d code on line 719

If I uninstall AEVA 5.1.36 I can add again new albums... but I don't want uninstall AEVA because I love this mod and I want use both the gallery and the aeva in my site. Also If I uninstall the Simple Portal 2.1.1. the gallery works perfect with the aeva.

Also with the new update of the AEVA 5.1.42 is the same.
______________________________________________________________

Another strange error is when I  have these mods working together in SMF 1.1.7 fresh install.
Quote
Browse Packages
Modification Packages
   Mod Name    Version    
1.    SimplePortal    2.1.1    [ Uninstall ] [ List Files ] [ Delete ]
2.    SMF Media Gallery    1.5.2    [ Uninstall ] [ List Files ] [ Delete ]
3.    Aeva ~ Auto-Embed Video & Audio    5.1.36    [ Apply Mod ] [ List Files ] [ Delete ]
4.    HacksPark shoutBox    1.2.1    [ Uninstall ] [ List Files ] [ Delete ]
5.    Age and Gender Board Filter    1.2.1    [ Uninstall ] [ List Files ] [ Delete ]
6.    Ultimate Profile    0.8.5    [ Uninstall ] [ List Files ] [ Delete ]

I get this error when I go to the profile and click in any of these links of SMG...
Gallery
Summary
View items
View comments
Quote
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 393216 bytes) in C:\AppServ\www\smf\Sources\Load.php(1762) : eval()'d code on line 535
This is very strange...
If I uninstall the Age and Gender Board Filter    1.2.1 these links of the SMG in the profile works normally.
If I uninstall the Ultimate Profile    0.8.5 these links of the SMG in the profile works normally too...
well If I uninstall the SMF Gallery 1.5.2 the other two mods works without problems in the profile area because the error is when are the SMG in the profiles.
But I want that all mod works together in my forum...

What I need change?

Thanks.


_____________________________________________________________
I leave the list of all the mods mentioned here.

http://custom.simplemachines.org/mods/index.php?mod=1104 <-- version 2.1.1
http://custom.simplemachines.org/mods/index.php?mod=977  <-- version 5.1.36.
http://custom.simplemachines.org/mods/index.php?mod=1365 <--version 1.5.2
http://custom.simplemachines.org/mods/index.php?mod=1260 <--version 1.2.1
http://www.simplemachines.org/community/index.php?topic=183574.0 <--version 0.85
Yuri Goddess

Nao 尚

Well obviously you don't have enough RAM in the basic php process (you have 8M and you probably need 12M at least.)
You should ask your host to give you a bit more, or explain you how to augment the quantity.
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.

Succubus Evaligan

Quote from: Nao 尚 on January 17, 2009, 04:47:01 PM
Well obviously you don't have enough RAM in the basic php process (you have 8M and you probably need 12M at least.)
You should ask your host to give you a bit more, or explain you how to augment the quantity.
Where I change that option? :o

So in my forum that is in the http://yurilandia.net/foro-yuri/
I need ask to my host for more RAM memory, right?

But in my local forum?
My PC has a 1GB in RAM.
Yuri Goddess

Akyhne

It's a setting in php.ini, a setting at your host (for some in your admin center), or a setting you in some case can adjust in a .htaccess file in the root of your forum.

Succubus Evaligan

#1814
Quote from: akyhne on January 17, 2009, 05:01:22 PM
It's a setting in php.ini, a setting at your host (for some in your admin center), or a setting you in some case can adjust in a .htaccess file in the root of your forum.
Let me see... a .htaccess file in the root of my forum.

C:\AppServ\www\smf\
I see a .htmlaccess in C:\AppServ\www\smf\Packages
another .htmlaccess in C:\AppServ\www\smf\attachments

but I don't find none in C:\AppServ\www\smf\
Sorry I am noob :'( please explain step by step

In C:\AppServ\php5
I found two files
php.ini-dist and php.ini-recommended

Edit...
_________________________________________________
Quote from: Nao 尚 on January 17, 2009, 04:33:01 PM
@Succubus> There's already an official Spanish version here:
http://site.noisen.com/aeva-trans/5067/traduccion-al-espanol-spanish-translation-v-5-1-32/
Although dannbass hasn't been seen on the site for a few weeks now... So I guess you could update his version or something. Just post your file there.
About your problem -- can you remind exactly what's going on?
If I remember correctly. I had a little problem... when I wanted to add a new ábum.
I wanted to see was what was causing the error. So I installed a new forum 1.1.7 for testing.

First. I installed Install SMF 1.1.7
http://s1.subirimagenes.com/albums/112502instalation.jpg
After I installed SMF Media Gallery 1.5.2 without errors
http://s1.subirimagenes.com/albums/112503install-gallery-succ.jpg
http://s1.subirimagenes.com/albums/112510install-gallery-succ.jpg
http://s1.subirimagenes.com/albums/112505add-new-album-1.jpg
http://s1.subirimagenes.com/albums/112504add-images-in-album.jpg
http://s1.subirimagenes.com/albums/112506add-new-album-2.jpg
http://s1.subirimagenes.com/albums/112504add-images-in-album.jpg
Well I don't have problem creating new albums and adding images but...
http://s1.subirimagenes.com/albums/112509error-deleting-album.jpg
http://s1.subirimagenes.com/albums/112508error-deleting-album.jpg
I can't delete the album. But all images are deleted but the album is listed in gallery.
_____________________________________________________
After I installed aeva without errors...
http://s1.subirimagenes.com/albums/112511install-aeva-success.jpg
http://s1.subirimagenes.com/albums/112512aeva-works-perfect.jpg
well works fine.

We only have now two mods installed in the forum.
http://s1.subirimagenes.com/albums/112514two-mods-installed.jpg

After I installed Simple Portal...
http://s1.subirimagenes.com/albums/112516install-simeportal-s.jpg
http://s1.subirimagenes.com/albums/112517portal-working.jpg
without problems but...
when I go to the gallery and try to create a new album... this error appears
http://s1.subirimagenes.com/albums/112518error-creating-album.jpg

Only 3 mods installed in SMF and the forum had problems with the memory?
http://s1.subirimagenes.com/albums/112515only-3-mods-installe.jpg

If I uninstall AEVA the gallery works fine again and I cann add new albums. If I uninstall Simple Portal the gallery works fine again. But I want have the portal, the gallery and aeva working fine at the same time.
Yuri Goddess

Dragooon

You need to open php.ini of your local server and increase memory_limit to 32 M.

Mystery?

#1816
I have 2 problems.

- I can't mass upload video(s). The add file works, but the upload button, doesn't do anything. It makes it look like its working, but no progress is made in the uploading because all I see is 0% for overall progress and current file progress.

- However, one of my members uploaded a video and its a .wmv. When I try to view it, it says:

Sorry, you are not allowed to view this file. Make sure you are connected to the server.

_______________

I think my uploaded doesn't work.
Join my NEW website that I just created and be a big part of it (July 30, 2010): http://www.gamerstatic.net

Dragooon

Anything in error log? What are the size of files? What is upload_max_filesize set as?

Mystery?

#1818
Quote from: Dragooon on January 17, 2009, 11:51:24 PM
Anything in error log? Checking for errors is done. No errors found!

What are the size of files? 11,841 KB

What is upload_max_filesize set as? 200,000 KB (Its high because my website has unlimited harddrive and bandwidth)


I don't know much about html and coding except finding and replacing codes and going through files.
Join my NEW website that I just created and be a big part of it (July 30, 2010): http://www.gamerstatic.net

Dragooon

First of all, nothing is unlimited, second can you send me a link to php info? Third, I meant Maintenance > Error log not Gallery's Find error function.

Advertisement: