TinyPortal

General => Chit chat => Topic started by: ThunderBolt on February 08, 2006, 05:16:02 AM

Title: Error log
Post by: ThunderBolt on February 08, 2006, 05:16:02 AM
8: Undefined variable: item
File: /Themes/default/languages/TPortal.english.php (eval?)
Line: 317

and

8: Undefined index: theme_color
File: /Themes/default/languages/TPortal.english.php (eval?)
Line: 398

and

8: Undefined index: theme_color
File: /Themes/default/languages/TPortal.english.php (eval?)
Line: 404

RC2 and TP8

Can you tell what this is cause by?
Title: Re: Error log
Post by: G6Cad on February 08, 2006, 08:12:45 AM
What section or page are you entering when this happends?

When i got language string errors, it was simply lines of texts that were missing in some parts.
Please have a look and see what or wich pages you get the errors from.
Title: Re: Error log
Post by: ThunderBolt on February 08, 2006, 02:37:59 PM
Looks like when I edit the only article that I have in there.

http://2ndcsg.net/smfcsg/index.php?action=tpadmin;sa=editarticle2
8: Undefined index: theme_color
File: /home/maye/public_html/2ndcsg/smfcsg/Themes/default/languages/TPortal.english.php (eval?)
Line: 404
   
http://2ndcsg.net/smfcsg/index.php?action=tpadmin;sa=editarticle2
8: Undefined index: theme_color
File: /home/maye/public_html/2ndcsg/smfcsg/Themes/default/languages/TPortal.english.php (eval?)
Line: 404
   
http://2ndcsg.net/smfcsg/index.php?action=tpadmin;sa=editarticle2
8: Undefined index: theme_color
File: /home/maye/public_html/2ndcsg/smfcsg/Themes/default/languages/TPortal.english.php (eval?)
Line: 404
   
http://2ndcsg.net/smfcsg/index.php?action=tpadmin;sa=editarticle2
8: Undefined index: theme_color
File: /home/maye/public_html/2ndcsg/smfcsg/Themes/default/languages/TPortal.english.php (eval?)
Line: 404
   
http://2ndcsg.net/smfcsg/index.php?action=tpadmin;sa=editarticle2
8: Undefined index: theme_color
File: /home/maye/public_html/2ndcsg/smfcsg/Themes/default/languages/TPortal.english.php (eval?)
Line: 403
   
http://2ndcsg.net/smfcsg/index.php?action=tpadmin;sa=editarticle2
8: Undefined index: theme_color
File: /home/maye/public_html/2ndcsg/smfcsg/Themes/default/languages/TPortal.english.php (eval?)
Line: 403
   
http://2ndcsg.net/smfcsg/index.php?action=tpadmin;sa=editarticle2
8: Undefined index: theme_color
File: /home/maye/public_html/2ndcsg/smfcsg/Themes/default/languages/TPortal.english.php (eval?)
Line: 403
   
http://2ndcsg.net/smfcsg/index.php?action=tpadmin;sa=editarticle2
8: Undefined index: theme_color
File: /home/maye/public_html/2ndcsg/smfcsg/Themes/default/languages/TPortal.english.php (eval?)
Line: 403
   
http://2ndcsg.net/smfcsg/index.php?action=tpadmin;sa=editarticle2
8: Undefined index: theme_color
File: /home/maye/public_html/2ndcsg/smfcsg/Themes/default/languages/TPortal.english.php (eval?)
Line: 399
   
http://2ndcsg.net/smfcsg/index.php?action=tpadmin;sa=editarticle2
8: Undefined index: theme_color
File: /home/maye/public_html/2ndcsg/smfcsg/Themes/default/languages/TPortal.english.php (eval?)
Line: 398
   
http://2ndcsg.net/smfcsg/index.php?action=tpadmin;sa=editarticle2
8: Undefined index: theme_color
File: /home/maye/public_html/2ndcsg/smfcsg/Themes/default/languages/TPortal.english.php (eval?)
Line: 398
Title: Re: Error log
Post by: G6Cad on February 08, 2006, 04:59:06 PM
Have you tryed this?

If not, have a look and change the file to the right one.

Open up TPortalBlocks.template and look for

"sub=submitarticle"

Change to

"sa=submitarticle"
Title: Re: Error log
Post by: ThunderBolt on February 09, 2006, 12:39:40 AM
That code doesn't exist in that template.
Title: Re: Error log
Post by: IchBin on February 09, 2006, 02:02:36 AM
Quote from: ThunderBolt on February 09, 2006, 12:39:40 AM
That code doesn't exist in that template.
Approximately line 329 I think.
You should see this line. Make sure it is the same as mine here:
echo $bullet4.'<a href="', $scripturl, '?action=tpmod&sa=submitarticle">' . $txt['tp-submitarticle']. '</a><br />';
Title: Re: Error log
Post by: ThunderBolt on February 09, 2006, 03:27:09 AM
Sorry g6cad it did exist.. I was looking at the wrong template  (DUHHHH)..

IchBin.. I replaced it and still getting same error except its now:

http://2ndcsg.net/smfcsg/index.php?action=tpadmin;sa=editarticle2
8: Undefined index: theme_color
File: /home/maye/public_html/2ndcsg/smfcsg/Themes/default/languages/TPortal.english.php (eval?)
Line: 398

 
Title: Re: Error log
Post by: ThunderBolt on February 12, 2006, 05:19:46 PM
Still getting this error when I go to edit an article..  Should I just remove the forums and delete all files and then reinstall from scratch?  I think that Crip stated in another thread somewhere that I may have remanants of of an old mod installed.  I checked the versions and there's a few different files in the list of files for "Your Version - Current Version".  What are versions 1.1 RC2-1?

SMF File           Your Version       Current Version
SMF Package        SMF 1.1 RC2      SMF 1.1 RC2
Sources            1.1 RC2-1           1.1 RC2
Admin.php          1.1 RC2                 1.1 RC2
BoardIndex.php        1.1 RC2                  1.1 RC2
Calendar.php         1.1 RC2-1               1.1 RC2
Display.php          1.1 RC2                  1.1 RC2
DumpDatabase.php  1.1 RC2                  1.1 RC2


==========================================
Looks like it's a theme_color error of some sorts.

I have the helios theme locked down and it's the only one allowed to be used.  Line 8 of the TPortalenglish.php file is:

$txt['tp-changetheme'] = 'Change';

Error getting:

http://2ndcsg.net/smfcsg/index.php?action=tpadmin;sa=editarticle2
8: Undefined index: theme_color
File: /Themes/default/languages/TPortal.english.php (eval?)
Line: 404

Title: Re: Error log
Post by: G6Cad on February 12, 2006, 05:29:59 PM
This schould be posted in http://www.tinyportal.net/smf/index.php?board=89.0  ???
Title: Re: Error log
Post by: ThunderBolt on February 12, 2006, 05:44:13 PM
QuoteThis schould be posted in http://www.tinyportal.net/smf/index.php?board=89.0  ???

Would a forum admin move this topic there for me?  Thanks.

This error is really frustrating to say the least.