Home arrow Forum v1.0.1b Undefined constant errors = missing quotes on string constants
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 03, 2008, 01:19:20 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.0.x (Moderators: -Wolverine, kai920)
| | | |-+  v1.0.1b Undefined constant errors = missing quotes on string constants
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: v1.0.1b Undefined constant errors = missing quotes on string constants  (Read 1086 times)
Jimbo Mambo
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 2


View Profile
v1.0.1b Undefined constant errors = missing quotes on string constants
« on: October 12, 2005, 02:15:37 AM »

(Joomla Server Error reporting level: maximum)

Running SMF for first time. Entering the component admin area gives me three similar errors like:

Notice: Use of undefined constant smf - assumed 'smf' in c:\home\popbop2\public_html\JOOMLA\administrator\components\com_smf\admin.smf.php on line 263

I get similar errors on lines 264 & 265.

Line 263 of admin.smf.php reads:
<input type="radio" name="registration_module" value="smf" <?php echo $registration_module == smf ? 'checked="checked"' : '' ; ?>>SMF


I checked the value of $registration_module in my debugger and it is indeed a string.

So, I'm putting the quotes around the value 'smf', 'mambo' and 'cb' in lines  263, 264 and 265 respectively.

Jimbo Mambo (Joomla)

P.S. If these errors diplay, the four-step installation checklist http://www.joomlahacks.com/component/option,com_smf/Itemid,94/expv,0/topic,683.0 doesn't display. That's why Cowboy's instructions didn't make any sense to me. I never saw it until I fixed these errors.
« Last Edit: October 12, 2005, 02:21:45 AM by Jimbo Mambo » Logged
joni6
QA / Testers
Joomla Newbie
*****

Karma: +0/-0
Offline Offline

Posts: 23


View Profile
Re: v1.0.1b Undefined constant errors = missing quotes on string constants
« Reply #1 on: October 12, 2005, 10:12:21 AM »

good find jimbo...
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login