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

Dragooon

Its your wish and your opinion. I respect your decisions. But I am not looking for changing the way SVN should be used, this is the first reason I use SVN.

MinasC

Quote from: MinasC on January 25, 2009, 04:39:34 AM
i did it but still no good, and some other text in the sidebars of my forum went ... chinese (Î"είÏ,,ε σÏ,,ην Έκθεση ). now i need to get my backup back on, but i don't know how (through forum admin i took a copy named minasc_forum-complete_2009-01-25.sql.gz). could you please tell me?

i noticed that the titles of the albums turn from letters to symbols only after the 10th letter. if a title is 8-letter-long it shows ok. now i know that every greek letter counts for more than one english letters, so if we could increase the number of letters allowed in the titles wouldn't that solve the problem? but you will have to tell me how.

dragooon given that your free time is limited, please take a minute to answer to the above. if i don't recover the old database my forum cannot function. thnx a lot.

Dragooon

Can you import your DB with phpMyAdmin?

MinasC

it gives me the choice "File to import" but it asks me to define the "Character set of the file", not to mention that it gives other choices like "Partial import", "Format of imported file" etc,that i don't have a clue what they are. i have never used php admin before to recover a database.

Özgür

Very small bug in new package.
db_mgallery.php line 66
'version' => '1.5.2', but this version 1.5.3
So Long

Dragooon

Thanks, I fixed and uploaded a new package.

Akyhne

Move still doesn't work for me, neither in admin center nor as user. There's just no target to move to.

Dragooon

You can't move from general album to user album.


Nao 尚

Quote from: Dragooon on January 25, 2009, 05:05:46 AM
Its your wish and your opinion. I respect your decisions. But I am not looking for changing the way SVN should be used, this is the first reason I use SVN.
Yes... I know you won't change it.
But being force to copy all of the changes I make to both branches, is the #1 reason why I've been slowing down my work on SMG (Aeva being #2 obviously). And it might also become the #1 reason why I give up on developing SMG at all. I don't want that, so I thought I should talk to you about it.
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.

L'AltroWeb

#1970
I've updated from 1.5.2 to 1.5.3 but i've a small error when i test to enter in AdminGaller from admin panel:
QuoteSession verification failed. Please try logging out and back in again, and then try again.
The link in admin panel is like this:
http://darkwolf.altervista.org/forum/admin/?area=mgallery;=sessioncode
Instead link from Gallery, Admin is like this (and this work):
http://darkwolf.altervista.org/forum/admin/?area=mgallery;sesc=sessioncodeFrom error log i see:
Quote8: Undefined index: session_var
File: /membri/darkwolf/forum/Sources/MGallery-Admin.php
Line: 2445
In effect line 2445 (rel. 1.5.3) is: $_admin_areas['config']['areas']['mgallery'] = '<a href="'.$scripturl.'?action=admin;area=mgallery;' . $context['session_var'] . '='.$context['session_id'].'">'.$txt['mgallery_gallery'].'</a>';
instead in 1.5.2 is: $_admin_areas['config']['areas']['mgallery'] = '<a href="'.$scripturl.'?action=admin;area=mgallery;sesc='.$context['session_id'].'">'.$txt['mgallery_gallery'].'</a>';
Actually to fix i've edit like this (code line from 1.5.2): elseif (allowedTo('mgallery_manage'))
//$_admin_areas['config']['areas']['mgallery'] = '<a href="'.$scripturl.'?action=admin;area=mgallery;' . $context['session_var'] . '='.$context['session_id'].'">'.$txt['mgallery_gallery'].'</a>';
$_admin_areas['config']['areas']['mgallery'] = '<a href="'.$scripturl.'?action=admin;area=mgallery;sesc='.$context['session_id'].'">'.$txt['mgallery_gallery'].'</a>';
And all seems to work fine!
Can you confirm this fix?

-

PS: another error in error log (present also in 1.5.2) is:

Quotehttp://darkwolf.altervista.org/forum/index.php?action=error;code=404
Error 404 - Not Found (http://darkwolf.altervista.org/forum/mgallery/hs/zoomin.cur)
File: user
(Thanks to #Apache Error Handling modification) :)

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.

L'AltroWeb

#1972
Oh thanks!
PS: i've edit precedent post (please look) :)
-
Edit!
I've applied this fix
http://www.simplemachines.org/community/index.php?topic=274874.msg1803632#msg1803632
But problem still remain.
Is necessary to uninstall and reinstall MediaGallery?

Dragooon


L'AltroWeb


Dragooon

THis is the second time I'm seeing that error, I need to investigate why that happens. Does it work in default theme?

L'AltroWeb

#1976
Quote from: Dragooon on January 25, 2009, 11:19:29 AM
THis is the second time I'm seeing that error, I need to investigate why that happens. Does it work in default theme?
I've test now!
Also with defaul theme!
PS: the gallery works fine without error, i see this error only in error log and only when a guest see the gallery :)
Maybe it depend on:.hs {
cursor: url(hs/zoomin.cur), pointer;
outline: none;
text-decoration: none;
}
???
Riedit!
Ok i've changed in hs.css all url from:
Quoteurl(hs/*
to this:
Quoteurl(http://mysite.org/forum/Themes/default/mgallery/hs/*
and now cursor works fine also for guest and error log is empty :)
-
PS: the same problem is present in mediagallery site:
http://smf-media.com/community/index.php?action=mgallery;sa=item;id=168
see "cursor" from guest  ;)

ʟink

Dragoon, I applied the update and still can't view the video. Here's the album, try viewing the video in Opera, too; it just puts out a bunch of weird symbols.
http://whatninja.com/index.php?action=mgallery;sa=album;id=7
Obedire est vivere, Vivere est obedire


Nao 尚

This is a compression problem.
I noticed this happen on my site as well (it's using SMF2, I don't think it has an effect on SMF1).

Possible things to look into:
- is SMG caching enabled? If yes, try to disable it.
- worst case scenario: disable output buffer compression in SMF. I wouldn't recommend it, though... If the first step doesn't work, then I'm a bit out of ideas.
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.

ʟink

I temporarily disabled compressed output, and the page will load, but the video won't. Thanks for the quick response!
Obedire est vivere, Vivere est obedire


Advertisement: