News:

Want to get involved in developing SMF, then why not lend a hand on our github!

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

PRaDiUS

I can read them perfectly. Navy blue is the color of all links on my page.

          [ RGXbox.com ]

Loginsvarios

First of all congratulations for this great mod... and sorry for my English level (I'm from Spain).

Is there a way to lock upload when needed on general Albums, so the users can view the items but no upload new ones?

I mean like a thread in a forum.
Everyone can post on it, but when the Admin/Moderator close it no one can add a single post while still can view its contents.

It's possible edit somewhere in SMG to do something like this?

Nao 尚

I don't think it is possible without shutting down uploading on all general albums.
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.

PRaDiUS

#3503
I've gone thru and tried as many different things as I can think of.
Still can't get this error to go away. Got to be something I am overlooking.

Quote
PRaDiUS       Today at 07:45:03 PM
IP address 98.166.155.6      3c29a14400dd0879c6628fb9cd556989
URL http://rgxbox.com/index.php?action=mgallery;sa=vua
8: Undefined index: id_member
File: /hermes/bosweb/web125/b1258/sl.rgxbox/public_html/Themes/default/MGallery.template.php
Line: 829

This is where the problem seems to be occuring from in mgallery.template.php

Quote
Line 826 $current_owner = 0;
Line 827   foreach ($context['mgallery_user_albums'] as $album)
Line 828   {
Line 829      if ($album['id_member'] != $current_owner)
Line 830    {
Line 831         $current_owner = $album['id_member'];

Is it possible that I could remove or bypass part of that code there?
Or is there a way I can correct the problem from within the script?
I am officially stumped.

          [ RGXbox.com ]

L'AltroWeb

Hi!
I've found more error in error log:
72.14.199.8    Visitatore  2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=post-rss.0 Oggi alle 01:29:03
72.14.199.8 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=post-rss.0 Oggi alle 01:29:03
72.14.199.8 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=news-atom.0 Oggi alle 01:07:27
72.14.199.8 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=news-atom.0 Oggi alle 01:07:27
72.14.199.8 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=news-rss.0 Oggi alle 01:00:59
72.14.199.8 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=news-rss.0 Oggi alle 01:00:59
72.14.199.8 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=post-rss.0 Ieri alle 22:28:58
72.14.199.8 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=post-rss.0 Ieri alle 22:28:58
72.14.199.8 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=news-atom.0 Ieri alle 22:05:31
72.14.199.8 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=news-atom.0 Ieri alle 22:05:31
72.14.199.8 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=news-rss.0 Ieri alle 22:00:29
72.14.199.8 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=news-rss.0 Ieri alle 22:00:29
72.14.199.8 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=post-rss.0 Ieri alle 19:28:46
72.14.199.8 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=post-rss.0 Ieri alle 19:28:45
72.14.199.8 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=news-atom.0 Ieri alle 19:04:50
72.14.199.8 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=news-atom.0 Ieri alle 19:04:50
72.14.199.8 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=news-rss.0 Ieri alle 19:00:15
72.14.199.8 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=news-rss.0
and this:66.249.71.17    Visitatore  2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=post-rss.0 Oggi alle 01:36:23
66.249.71.17 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=post-rss.0 Oggi alle 01:36:23
66.249.71.17 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=post-rss.0 Oggi alle 01:36:22
66.249.71.17 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=post-rss.0 Oggi alle 01:36:22
66.249.71.17 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=presentatevi-qui!!.0&sort=starter Ieri alle 21:42:09
66.249.71.17 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=presentatevi-qui!!.0&sort=starter Ieri alle 21:42:09
66.249.71.17 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=presentatevi-qui!!;topic=benvenuti!.20 Ieri alle 21:41:25
66.249.71.17 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=presentatevi-qui!!;topic=benvenuti!.20 Ieri alle 21:41:25
66.249.71.17 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=presentatevi-qui!!;topic=salve-a-tutti-t162.0&msg=853 Ieri alle 21:26:56
66.249.71.17 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=presentatevi-qui!!;topic=salve-a-tutti-t162.0&msg=853 Ieri alle 21:26:56
66.249.71.17 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=presentatevi-qui!!;topic=salve-a-tutti-t162.0&msg=854 Ieri alle 21:26:40
66.249.71.17 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=presentatevi-qui!!;topic=salve-a-tutti-t162.0&msg=854 Ieri alle 21:26:40
66.249.71.17 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=presentatevi-qui!!;topic=salve-a-tutti-t162.0&msg=851 Ieri alle 21:26:23
66.249.71.17 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=presentatevi-qui!!;topic=salve-a-tutti-t162.0&msg=851 Ieri alle 21:26:23
66.249.71.17 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=presentatevi-qui!!;topic=salve-a-tutti-t162.0&msg=850 Ieri alle 21:24:44
66.249.71.17 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=presentatevi-qui!!;topic=salve-a-tutti-t162.0&msg=850 Ieri alle 21:24:44
66.249.71.17 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=presentatevi-qui!!;topic=ben-trovati-!.msg665 Ieri alle 19:59:20
66.249.71.17 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=presentatevi-qui!!;topic=ben-trovati-!.msg665 Ieri alle 19:59:20
66.249.71.17 Visitatore 2: Invalid argument supplied for foreach()
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=presentatevi-qui!!.20&sort=replies Ieri alle 19:58:29
66.249.71.17 Visitatore 8: Undefined index: boardnews
File: /membri/darkwolf/forum/Themes/default/languages/MGallery.italian.php (main sub template - eval?)
Linea: 15
?pretty;board=presentatevi-qui!!.20&sort=replies
both ip are related to google crawler.
Any idea to fix?
I've put in attachments my MGallery.italian.php  :)

X8oD

Ok i get a couple odd errors.

I have issues Uploading JPG and PNG files that are "too big" but not file size.....

I can take an image approx 1300 pixels [width or height) save it as a GIF and it uploads fine, Save it as a JPG and i get a 500 Internal server error. Same with a Png. I have my max width/height allowed at 2000. I found a happy medium around 1250 pixels.

the Odd part comes, I can take the Max allowed via settings (set at 2000 as stated above), and go to lets say 5000, and that same file with the same name and same size will Internal server error out. Put it back to 2000, and the file works fine.

I can Increase the saved quality of the JPG to increase the file size, and it uploads. But i change the width beyond 1250 and error 500.

I can, how ever, Upload Gif files of any size, MP3's of any size [to the set file size] and soo n so forth.

im not sure if this is my host, or the software. Any idea?

odd error, eh? lol

Nao 尚

@x> server issue.

@dark-wolf> it's not in that file. When it says "eval?", it says it's not sure the error was there. If it's not, then it's probably in "index.template.php". Obviously your error is not SMG-related so please ask somewhere else.

@pradius> just put a @ in front of the $album call.
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

#3507
Quote from: Nao 尚 on May 27, 2009, 03:02:53 AM
@dark-wolf> it's not in that file. When it says "eval?", it says it's not sure the error was there. If it's not, then it's probably in "index.template.php". Obviously your error is not SMG-related so please ask somewhere else.
Thanks Nao!
I saw that were related to MGallery.italian.php and thought it was a problem of gallery  :-[
I've maked a new topic:topic=313494.msg2080088#msg2080088

Nao 尚

@Sabre> I still don't know about your problem, you know... ;)

@Dark Wolf> This is a common issue with SMF. "eval?" isn't very self-explained. We often end up with bug reports that are unrelated to SMG or Aeva.
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.

richyp

Quote from: Dragooon on May 17, 2009, 02:37:37 PM
In case you don't, you need to get rid of it(IOW, ask your host).

Hi Dragoon,
we too are suffering timeouts/freezing with upload, I contacted the host and they confirmed that they do not use mod_security.

Any other suggestions?

KR

Richy

Nao 尚

Dragooon is offline for the week.
I suppose you made sure this is not a problem with the php.ini max file/upload size variables either?
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.

CrazyCreator

Hello,
i have installed the SMF 2.0 RC1-1 and the new SMF 1.5.6 when i upload a pic or embed a video i become a white page without error, just white page. and the video or the pic is not uploaded.

what ist wrong???
Ist jeder der sich nicht beschwert, am Ende wirklich unbeschwert?

PRaDiUS

#3512
Nao, thanks.
Which part of this is actually calling for the album?
I just wanna be sure that I put this @ symbol in the right place so that I don't mess it up.

Quote
Line 826 $current_owner = 0;
Line 827   foreach ($context['mgallery_user_albums'] as $album)
Line 828   {
Line 829      if ($album['id_member'] != $current_owner)
Line 830    {
Line 831         $current_owner = $album['id_member'];

Since the error is coming from line 829, does that mean the album is being called from there?
and would that mean the correct line of code would be..

if (@$album['id_member'] != $current_owner) or...
if @ ($album['id_member'] != $current_owner) ,err...

I just don't have a clue what I'm doing here. Haha.
After I am told one time then I will know forever. Thank you.

          [ RGXbox.com ]

Joe N

Are you going to update this to the latest version?
Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


Nao 尚

Quote from: PRaDiUS on May 27, 2009, 06:30:00 PM
Nao, thanks.
Which part of this is actually calling for the album?
I just wanna be sure that I put this @ symbol in the right place so that I don't mess it up.
Line 829... @$album
It simply means "don't tell me if there's an error."
It doesn't fix the error. It just ignores it.

@Joe N> You mean the latest version of SMF...? It's compatible with all current versions.
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.

Sabre™

Well...   after posting my problem multiple times, then removing it to re~post, for some reason I am being ignored here, so I will no longer clog your thread :)

All the best.

regards
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Joe N

Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


Joe N

Only because you modified it!

It wasn't earlier  ::)
Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


Nao 尚

@Sabre> I never ignored you. I said long ago that if I didn't reply a message, that's because I don't know what to reply (or someone else is already helping).

@Joe N> Just because it doesn't say "Compatible with SMF 1.1.9" doesn't mean it isn't. It just means the mod author hasn't updated the mod page to click the checkbox that says 1.1.9.
I didn't change anything in SMG. I just reuploaded the three SMG converters earlier this morning because I was trying to compile a list of changes for SMG2 and I realized the SMG2 folder's converters weren't on the mod site (while they *should* have been, since they're not using SMG2 features at all.) I used the opportunity to click the boxes where needed, obviously.
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.

Joe N

Quote from: Nao 尚 on May 28, 2009, 06:13:55 AM
@Joe N> Just because it doesn't say "Compatible with SMF 1.1.9" doesn't mean it isn't. It just means the mod author hasn't updated the mod page to click the checkbox that says 1.1.9.
I didn't change anything in SMG. I just reuploaded the three SMG converters earlier this morning because I was trying to compile a list of changes for SMG2 and I realized the SMG2 folder's converters weren't on the mod site (while they *should* have been, since they're not using SMG2 features at all.) I used the opportunity to click the boxes where needed, obviously.

Oh ok
Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


Advertisement: