Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 230
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 235
Total: 235

Author Topic: Undefined variable Admin.template.php (eval?) Line 681  (Read 16163 times)

0 Members and 1 Guest are viewing this topic.

Offline pvisser

  • Member
  • *
  • Posts: 14
    • View Profile
Re: Undefined variable Admin.template.php (eval?) Line 681
« Reply #15 on: December 27, 2006, 01:06:18 pm »
No did not do the trick. It looks to me if there is a prob. with the variable $first. I'nt there a define problem. Whel i need this to be cleared. What can i do next my friend. ;D

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Undefined variable Admin.template.php (eval?) Line 681
« Reply #16 on: December 27, 2006, 01:08:22 pm »
Now it is time to hunt look everwhere $fist is defined and keep searching until you find one on line 681
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 pvisser

  • Member
  • *
  • Posts: 14
    • View Profile
Re: Undefined variable Admin.template.php (eval?) Line 681 GOT IT
« Reply #17 on: December 27, 2006, 01:17:08 pm »
Got it hihi found it in my template where i intergated my button Gallery myzelf

This is it

// the [SMF Gallery] button
   if ($context['allow_smfgallery_view'])
      echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '<td class="class="menubg' . $first . '">&nbsp;</td>' : '' , '
            <td align="center" class="menubg' , $current_action == 'gallery' ? '2' : '' , '">
               <a href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu']  , '</a>
            </td>';

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Undefined variable Admin.template.php (eval?) Line 681
« Reply #18 on: December 27, 2006, 01:18:50 pm »
need to see the hiha index.template.php file attach that file here and I will look it over.
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 pvisser

  • Member
  • *
  • Posts: 14
    • View Profile
Re: Undefined variable Admin.template.php (eval?) Line 681 STATUS Solved!
« Reply #19 on: December 27, 2006, 02:15:03 pm »
Thanks my friend. I did remove te $first string out off the /Themes/theme/index.template.php and now everything is solved. so the coding:

Code: [Select]
// the [SMF Gallery] button
if ($context['allow_smfgallery_view'])
echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '<td class="class="menubg' . $first . '">&nbsp;</td>' : '' , '
<td align="center" class="menubg' , $current_action == 'gallery' ? '2' : '' , '">
<a href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu']  , '</a>
</td>';
has to be:

Code: [Select]
// the [SMF Gallery] button
if ($context['allow_smfgallery_view'])
echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '' : '' , '
<td align="center" class="menubg' , $current_action == 'gallery' ? '2' : '' , '">
<a href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu']  , '</a>
</td>';

Then the probl. is gone..

Thanks my friends. Gallery Rolez...

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
8020 Views
Last post January 19, 2007, 11:13:02 pm
by Tim
0 Replies
3093 Views
Last post April 21, 2009, 06:46:26 pm
by drhamad
5 Replies
5590 Views
Last post January 10, 2010, 12:45:58 pm
by SMFHacks
0 Replies
2481 Views
Last post January 01, 2014, 11:52:52 am
by stumpimario
6 Replies
1370 Views
Last post March 28, 2022, 10:21:16 am
by Shades

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

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

Powered by EzPortal