Uutiset:

Join the Facebook Fan Page.

Main Menu
Advertisement:

Error Log - post.template.php

Aloittaja Brenflakes, helmikuu 21, 2005, 03:07:15 AP

« edellinen - seuraava »

Brenflakes

I've manually added some custom bbc images to the post.template.php, and the buttons work fine, they add the bbc tot the message box.

The problem is the error log. Apparently there IS a problem with the script, but i'll be buggered if i know what it is, because everything appears to be working properly.

The custom bbc tags i added are : comm, mission, force, ooc

As i said, they work fine, and so does everything else, but then the error log after one post is : Nefarious Drakiel   Today at 18:32:37 
XX.XXX.XXX.XXX     66fe487d3c925bee64f72382c99c14ab 
http://www.gal-com.net/forum/index.php?action=post;quote=953;topic=152.0;num_replies=0;sesc 
8: Use of undefined constant mission - assumed 'mission'
File: /home/galcom/public_html/forum/Themes/default/languages/Modifications.english.php (eval?)
Line: 4

   Nefarious Drakiel   Today at 18:32:37 
XX.XXX.XXX.XXX     66fe487d3c925bee64f72382c99c14ab 
http://www.gal-com.net/forum/index.php?action=post;quote=953;topic=152.0;num_replies=0;sesc 
8: Use of undefined constant ooc - assumed 'ooc'
File: /home/galcom/public_html/forum/Themes/default/languages/Modifications.english.php (eval?)
Line: 5

   Nefarious Drakiel   Today at 18:32:37 
XX.XXX.XXX.XXX     66fe487d3c925bee64f72382c99c14ab 
http://www.gal-com.net/forum/index.php?action=post;quote=953;topic=152.0;num_replies=0;sesc 
8: Use of undefined constant force - assumed 'force'
File: /home/galcom/public_html/forum/Themes/default/languages/Modifications.english.php (eval?)
Line: 6

   Nefarious Drakiel   Today at 18:32:37 
XX.XXX.XXX.XXX     66fe487d3c925bee64f72382c99c14ab 
http://www.gal-com.net/forum/index.php?action=post;quote=953;topic=152.0;num_replies=0;sesc 
8: Use of undefined constant comm - assumed 'comm'
File: /home/galcom/public_html/forum/Themes/default/languages/Modifications.english.php (eval?)
Line: 7

   Nefarious Drakiel   Today at 18:32:37 
XX.XXX.XXX.XXX     66fe487d3c925bee64f72382c99c14ab 
http://www.gal-com.net/forum/index.php?action=post;quote=953;topic=152.0;num_replies=0;sesc 
8: Use of undefined constant mission - assumed 'mission'
File: /home/galcom/public_html/forum/Themes/gal-com/Post.template.php (eval?)
Line: 4

   Nefarious Drakiel   Today at 18:32:37 
XX.XXX.XXX.XXX     66fe487d3c925bee64f72382c99c14ab 
http://www.gal-com.net/forum/index.php?action=post;quote=953;topic=152.0;num_replies=0;sesc 
8: Use of undefined constant ooc - assumed 'ooc'
File: /home/galcom/public_html/forum/Themes/gal-com/Post.template.php (eval?)
Line: 5

   Nefarious Drakiel   Today at 18:32:37 
XX.XXX.XXX.XXX     66fe487d3c925bee64f72382c99c14ab 
http://www.gal-com.net/forum/index.php?action=post;quote=953;topic=152.0;num_replies=0;sesc 
8: Use of undefined constant force - assumed 'force'
File: /home/galcom/public_html/forum/Themes/gal-com/Post.template.php (eval?)
Line: 6

   Nefarious Drakiel   Today at 18:32:37 
XX.XXX.XXX.XXX     66fe487d3c925bee64f72382c99c14ab 
http://www.gal-com.net/forum/index.php?action=post;quote=953;topic=152.0;num_replies=0;sesc 
8: Use of undefined constant comm - assumed 'comm'
File: /home/galcom/public_html/forum/Themes/gal-com/Post.template.php (eval?)
Line: 7

   Nefarious Drakiel   Today at 18:32:45 
XX.XXX.XXX.XXX     66fe487d3c925bee64f72382c99c14ab 
http://www.gal-com.net/forum/index.php?action=post2;start=0;board=27 
8: Use of undefined constant mission - assumed 'mission'
File: /home/galcom/public_html/forum/Themes/default/languages/Modifications.english.php (eval?)
Line: 4

   Nefarious Drakiel   Today at 18:32:45 
XX.XXX.XXX.XXX     66fe487d3c925bee64f72382c99c14ab 
http://www.gal-com.net/forum/index.php?action=post2;start=0;board=27 
8: Use of undefined constant ooc - assumed 'ooc'
File: /home/galcom/public_html/forum/Themes/default/languages/Modifications.english.php (eval?)
Line: 5

   Nefarious Drakiel   Today at 18:32:45 
XX.XXX.XXX.XXX     66fe487d3c925bee64f72382c99c14ab 
http://www.gal-com.net/forum/index.php?action=post2;start=0;board=27 
8: Use of undefined constant force - assumed 'force'
File: /home/galcom/public_html/forum/Themes/default/languages/Modifications.english.php (eval?)
Line: 6

   Nefarious Drakiel   Today at 18:32:45 
XX.XXX.XXX.XXX     66fe487d3c925bee64f72382c99c14ab 
http://www.gal-com.net/forum/index.php?action=post2;start=0;board=27 
8: Use of undefined constant comm - assumed 'comm'
File: /home/galcom/public_html/forum/Themes/default/languages/Modifications.english.php (eval?)
Line: 7



Error log went out to 363 pages, and a severe lag has appeared on the server. Im not sure if they are related, but can anyone open some insight into the errors? im still new, only been with SMF for about a week now, still figuring things out *lol* I did try to search and couldnt find anything related.

Justyne

as far as I recall you also need to modify something in Subs.php
Read this topic here please

http://www.simplemachines.org/community/index.php?topic=12138.0
Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.

Brenflakes

in post.template.php i had the following, and i had defined it in the language file 'mission' => array('code' => 'mission', 'before' => '[mission]', 'after' => '[/mission]', 'description' => $txt[mission]),

instead i hard coded it and changed it to'mission' => array('code' => 'mission', 'before' => '[mission]', 'after' => '[/mission]', 'description' => 'Mission Results'),
no more errors :D

thanks for the reply tho :)

Advertisement: