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

perpetuallove

I installed the new one. I thought it was working fine except I was wondering if there is a way to have the images show in a line horizontally first - mine are showing vertically. (see attachment). I did not see settings for this :)

But then I saw everyone is having problems in IE so i tried IE- and I see that there are
  • images and blank areas where I guess images should be, but they dont show in firefox. Why is this? Is there something I can do to fix it? Niether problems are a big deal as it all seems to be working fine, just isn't as attractive as it could be :)

    Thanks for all the hard work put into this gallery!

Dragooon

Quote from: Technoman on November 04, 2008, 07:29:01 PM
once we view gallery in Internet Explorer it gives error message but not Firefox ..also Tags should show up on top of the gallery with the rest of the tags they dont show up on top they show up only in the users post and not outside the post and also the top 10 posters dont show eathier ?
Huh? What errors? What tags? What top 10 posters?

Quote from: perpetuallove on November 04, 2008, 11:09:41 PM
I installed the new one. I thought it was working fine except I was wondering if there is a way to have the images show in a line horizontally first - mine are showing vertically. (see attachment). I did not see settings for this :)

But then I saw everyone is having problems in IE so i tried IE- and I see that there are
  • images and blank areas where I guess images should be, but they dont show in firefox. Why is this? Is there something I can do to fix it? Niether problems are a big deal as it all seems to be working fine, just isn't as attractive as it could be :)

    Thanks for all the hard work put into this gallery!
Link?

genieuk

Quote from: genieuk on November 04, 2008, 01:32:59 PM
Hi,

It works! i love it. Well problem.

when i create a general album, even thou i set it to everyone can view apart from guests, yes i am logged in as admin aswell and yes i have set permissions in admin. After creating it and going to index.php?action=mgallery, where the icon goes i got an image saying: Sorry you are not allowed to view this file. Make sure you are connected to the server.

please see attached image. Why is this ??? What does it mean ???

I find it confusing as i can still click on the album and view it etc same for all members that have permission to view it

Thank you,
Mathew

Will you please answer my question  ???

Thank you,
Mathew

crustybum

I get the same with every upgrade....you simply have to refreshh your browser after deleting your cookies, then click on "home" in admin..

Dragooon

Quote from: genieuk on November 05, 2008, 05:47:35 AM
Quote from: genieuk on November 04, 2008, 01:32:59 PM
Hi,

It works! i love it. Well problem.

when i create a general album, even thou i set it to everyone can view apart from guests, yes i am logged in as admin aswell and yes i have set permissions in admin. After creating it and going to index.php?action=mgallery, where the icon goes i got an image saying: Sorry you are not allowed to view this file. Make sure you are connected to the server.

please see attached image. Why is this ??? What does it mean ???

I find it confusing as i can still click on the album and view it etc same for all members that have permission to view it

Thank you,
Mathew

Will you please answer my question  ???

Thank you,
Mathew
Well. Is that album supposed to have an icon?

genieuk

Hi Thanks for your quick reply.

No I have not yet set the 2 albums an icon because i wanted to wait to see why I get that image on 2 albums i created, it sounds serious and thought i would ask first.

All my albums imported from smf gallery did not have that image showing only the two newly ones i created in admin.

Mathew

joephantasm

QuoteHi Dragooon i am getting the same error as akn1912 

Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation 'ifnull'
File: /home/2/e/3/13655/13655/public_html/forum/Sources/Subs-MGallery.php
Line: 2821

my question is how do you make mgallery table cooilations is utf8_general_ci ? change to utf8 or change the sql tables and modify them ?and if so what is the best way to change it with out messing up the DB..
please can you help me with this Dragooon.

Dragooon

Quote from: joephantasm on November 05, 2008, 09:06:58 AM
QuoteHi Dragooon i am getting the same error as akn1912 

Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation 'ifnull'
File: /home/2/e/3/13655/13655/public_html/forum/Sources/Subs-MGallery.php
Line: 2821

my question is how do you make mgallery table cooilations is utf8_general_ci ? change to utf8 or change the sql tables and modify them ?and if so what is the best way to change it with out messing up the DB..
please can you help me with this Dragooon.
You can google that, putting simply, you can do that from phpmyadmin.

Quote from: genieuk on November 05, 2008, 06:29:54 AM
Hi Thanks for your quick reply.

No I have not yet set the 2 albums an icon because i wanted to wait to see why I get that image on 2 albums i created, it sounds serious and thought i would ask first.

All my albums imported from smf gallery did not have that image showing only the two newly ones i created in admin.

Mathew
Do you have a file named {mgal_data_dir_path}/generic_images/folder.png?

genieuk

Hi yes i do it a folder image.

/mgal_data/generic_images/folder.png

Mathew

Dragooon

Can you paste the row entry from mgallery_files table where id_file is 4.

genieuk

Quote from: Dragooon on November 05, 2008, 09:31:43 AM
Can you paste the row entry from mgallery_files table where id_file is 4.

mmm, sorry i am clueless to what you mean?

Thank you,
Mathew

Dragooon

Run this query in phpmyadmin and tell me what it outputs
SELECT * FROM smf_mgallery_files WHERE id_file = 4
Make sure to replace smf_ with your prefix.

genieuk

Hi,

It came back saying:

MySQL returned an empty result set (i.e. zero rows). (Query took 0.0002 sec)

-------------------

     SQL query:        SELECT  *
FROM flf_mgallery_files
WHERE id_file =4
LIMIT 0 , 30   

Please see image attached.

Thank you,
Mathew

Dragooon

o_O

Run this query
INSERT INTO smf_mgallery_files
(id_file, filename, filesize, directory, width, height, id_album)
VALUES
(4, 'folder.png', 2799, 'generic_images', 48, 48, 0)

genieuk

mmm,

see image for result.

Can you please tell me what we doing as i am completely clueless to what we are doing apart from entering a vital part of SMF the database that could go bonkers if something goes wrong. Yes i have backed up.

I notice that the two folders are now showing, so what caused all this? and what did message mean  ???

Thank you,
Mathew

Dragooon

Basically the albums have a default icon of the id 4. In your case, it was missing from the DB, the last query added it. Now it should be all fine.

genieuk

Hi,

Thanks for all your help  :D

May i ask which audio files are supported when uploading audio and video files  ???

Reason why i just tried to upload a mp3 file which is under the size limit so it should have uploaded at all i get is:

An Error Has Occurred!                                     There was a error in uploading, please try again or contact the administrator.          

This happens with both video and audio

I have set permissions for me admin to do anything i want with mgallery

Thank you,
Mathew

Dragooon

mp3 are supported. Make sure that its filesize is under your upload_max_filesize(You can use phpinfo to know what is upload_max_filesize).

genieuk

Thanks for quick replys

Go Here: http://www.foreverlastingfriends.com/phpinfo.php

i dont understand, i have embedded video no problem, but uploading video/audio gives me that error as stated in above post.

and if i try uploading a video/audio to my own album (member album) i get:

QuoteInternal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, private @ private.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2 Server at www.foreverlastingfriends.com Port 80[/h]

Thank you,
Mathew

Smitten


Advertisement: