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: 177
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 167
Total: 168

Author Topic: New Error Code  (Read 4398 times)

0 Members and 1 Guest are viewing this topic.

Offline Wickedgood

  • Member
  • *
  • Posts: 32
    • View Profile
New Error Code
« on: November 04, 2010, 04:13:51 pm »
Just installed 1.3.7 version on my upgraded 2.0RC4 forum.

Now getting the following error code:

File: /home/uscleane/public_html/smf/Themes/default/languages/classifieds.english.php (main sub template - eval?)
Line: 280

What do I need to change in that file?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: New Error Code
« Reply #1 on: November 04, 2010, 05:18:42 pm »
Lets first try to find out the true error line number
Check out this post to disable template eval
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 Wickedgood

  • Member
  • *
  • Posts: 32
    • View Profile
Re: New Error Code
« Reply #2 on: November 04, 2010, 07:57:25 pm »
OK - Here's what we have now:

8: Undefined index: new
Apply Filter: Only show the errors from this file
File: /home/uscleane/public_html/smf/Themes/default/BoardIndex.template.php
Line: 280
   
This is line 280:
<img src="', $settings['images_url'], '/' .$context['theme_variant'], '/on', $board['new'] ? '' : '2', '.png" alt="', $txt['new_posts'], '" title="', $txt['new_posts'], '" border="0" />';
« Last Edit: November 04, 2010, 08:06:08 pm by Wickedgood »

Offline Wickedgood

  • Member
  • *
  • Posts: 32
    • View Profile
Re: New Error Code
« Reply #3 on: November 06, 2010, 08:18:00 pm »

File: /home/uscleane/public_html/smf/Themes/default/BoardIndex.template.php
Line: 280
   
This is line 280:
<img src="', $settings['images_url'], '/' .$context['theme_variant'], '/on', $board['new'] ? '' : '2', '.png" alt="', $txt['new_posts'], '" title="', $txt['new_posts'], '" border="0" />';

OK - I took a stab at fixing this.............Replaced $board['new'] with $board['ID_CAT'] and it seems to be working? No error code.

Is that right?
« Last Edit: November 06, 2010, 08:21:03 pm by Wickedgood »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: New Error Code
« Reply #4 on: November 07, 2010, 01:07:33 pm »
That will skip the error. That is a bug I need to fix with proper viewed history logs for the classifieds categories on the board index.
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 Wickedgood

  • Member
  • *
  • Posts: 32
    • View Profile
Re: New Error Code
« Reply #5 on: November 07, 2010, 02:35:36 pm »
I've seen enough error codes for now.  :D

Keep up the good work!

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
4706 Views
Last post October 26, 2006, 05:34:10 pm
by FunPika4
1 Replies
4931 Views
Last post June 25, 2008, 08:14:02 pm
by SMFHacks
1 Replies
4079 Views
Last post March 23, 2010, 12:25:47 pm
by SMFHacks
3 Replies
3721 Views
Last post February 23, 2011, 06:06:47 pm
by SMFHacks
14 Replies
7003 Views
Last post February 23, 2013, 12:34:50 pm
by amwebby

+- 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