Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 179
Total: 179

Author Topic: Error when clicking on Gallery  (Read 6277 times)

0 Members and 1 Guest are viewing this topic.

Offline Bionic Rooster

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Error when clicking on Gallery
« on: March 30, 2010, 12:48:29 pm »
RC3 - Gallery Pro beta3

I get this error when I click on the Gallery

http://xxx/xxx/index.php?action=gallery2: Invalid argument supplied for foreach()File: /home/xxx/xxx/Themes/default/Gallery2.template.php (mainview sub template - eval?)
Line: 4010  

Any ideas or a fix?
« Last Edit: March 30, 2010, 12:50:21 pm by Bionic Rooster »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Error when clicking on Gallery
« Reply #1 on: March 30, 2010, 12:50:33 pm »
I would try beta4 but releasing an update later today for RC1.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Bionic Rooster

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: Error when clicking on Gallery
« Reply #2 on: March 30, 2010, 01:00:37 pm »
I would try beta4 but releasing an update later today for RC1.

Uninstall beta3 or install beta4 over it?
Thanks,

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Error when clicking on Gallery
« Reply #3 on: March 30, 2010, 01:03:00 pm »
I would advise that.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Bionic Rooster

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: Error when clicking on Gallery
« Reply #4 on: March 30, 2010, 01:15:00 pm »
Ok now I get this error

http://xxx/xxx/index.php?action=gallery2: Invalid argument supplied for foreach()File: /xxx/xxx/xxx/xxx/Themes/default/Gallery2.template.php (mainview sub template - eval?)
Line: 3842

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Error when clicking on Gallery
« Reply #5 on: March 30, 2010, 01:18:00 pm »
hmm I don't that is the true error line.

Run this query then visit the page again and try to generate another error
Code: [Select]
REPLACE INTO smf_settings VALUES ('disableTemplateEval', 1);
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Bionic Rooster

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: Error when clicking on Gallery
« Reply #6 on: March 30, 2010, 01:21:52 pm »
Sorry I don't know what you mean by "run this quary"
Can you explain in detail what I should do?
thanks,

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Error when clicking on Gallery
« Reply #7 on: March 30, 2010, 01:23:19 pm »
Run this query using phpMyAdmin on your database for your forum.
More detail found here if needed
http://www.simplemachines.org/community/index.php?topic=290186.0
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Bionic Rooster

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: Error when clicking on Gallery
« Reply #8 on: March 30, 2010, 03:13:23 pm »
Ok that didn't do anything, error still occured. Sooooo I uninstalled beta4 and installed RC1 and get this error

http://xxx/xxx/index.php?action=gallery2: Invalid argument supplied for foreach()File: /xxx/xxx/xxx/xxx/Themes/default/Gallery2.template.php (mainview sub template - eval?)
Line: 3926

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Error when clicking on Gallery
« Reply #9 on: March 30, 2010, 03:18:36 pm »
Added another check for the final release to fix that.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Bionic Rooster

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: Error when clicking on Gallery
« Reply #10 on: March 30, 2010, 03:32:55 pm »
That's great thanks.. Any date for the final release so I know how often I have to check for errors? Gallery is farly busy and it takes no time at all to generate 7 pages of errors.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Error when clicking on Gallery
« Reply #11 on: March 30, 2010, 03:43:31 pm »
Early tomorrow.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Bionic Rooster

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: Error when clicking on Gallery
« Reply #12 on: March 30, 2010, 03:46:43 pm »
Cool, thanks, I can live with that  :P

 

Related Topics

  Subject / Started by Replies Last post
7 Replies
5932 Views
Last post April 11, 2008, 11:36:46 pm
by Yellowrose
3 Replies
4910 Views
Last post March 16, 2009, 03:36:09 pm
by davieb
2 Replies
4377 Views
Last post July 27, 2012, 10:41:18 pm
by shuban
7 Replies
2238 Views
Last post January 31, 2021, 03:54:01 pm
by SMFHacks
6 Replies
1757 Views
Last post June 08, 2023, 10:32:59 am
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal