Home arrow Forum Undefined index errors with CB Plugins
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2008, 09:14:05 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  Undefined index errors with CB Plugins
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Undefined index errors with CB Plugins  (Read 1889 times)
zANavAShi
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Undefined index errors with CB Plugins
« on: November 17, 2006, 02:34:44 AM »

I need some help with a brand new Joomla install which spits out a bunch of errors in my Community Builder component window when I install 3 particular SMF-cb plugins:

Here's my windows & wamp server specs:
O/S: Win 2003 server (with SP1 update)
Apache: Apache/1.3.33 (Win32)
PHP: 4.4.4
MySQL: 4.1.9-max
Browser: Firefox 1.5.0.8 (cookies and js enabled, adblocks disabled)

Here's my web site specs:
Joomla version: 1.0.11 stable
Installed components: CB 1.0.1
SMF forum version: SMF 1.1 RC3
SMF bridge version: JSMF_2_0_RC2
CB plugin version: cb_plugin_smf_2_0_1

I have no errors with just these ones installed, but when I proceed to installing the next three cb plugins from the JSMF_2_0_RC2_unzip1st.zip pack I get errors. I have tried both standard and Wolverine versions from here and both versions produce same errors:

cb_plugin_smfposts_2_1 - which introduces the following errors:
Code:
Notice: Undefined index: BAN_CHECK_IP in c:\wamp\www\joomtest\forum\Sources\Load.php on line 480
Notice: Undefined index: start in c:\wamp\www\joomtest\forum\Sources\Profile.php on line 1367
Notice: Undefined index: start in c:\wamp\www\joomtest\forum\Sources\Profile.php on line 1374
Notice: Undefined index: notifyAnnouncements in c:\wamp\www\joomtest\forum\Sources\Profile.php on line 2583
Notice: Undefined index: notifyOnce in c:\wamp\www\joomtest\forum\Sources\Profile.php on line 2584
Notice: Undefined index: notifySendBody in c:\wamp\www\joomtest\forum\Sources\Profile.php on line 2585
Notice: Undefined index: notifyTypes in c:\wamp\www\joomtest\forum\Sources\Profile.php on line 2586
Notice: Undefined index: is_owner in c:\wamp\www\joomtest\forum\Sources\Profile.php on line 2850
Notice: Undefined index: ID_THEME in c:\wamp\www\joomtest\forum\Sources\Profile.php on line 2857

cb_plugin_smfprofile_2_1 - which introduces the following errors:
Code:
Notice: Undefined index: BAN_CHECK_IP in c:\wamp\www\joomtest\forum\Sources\Load.php on line 480

cb_plugin_smfinfo_2_1_1 - which introduces the following errors:
Code:
Notice: Undefined index: BAN_CHECK_IP in c:\wamp\www\joomtest\forum\Sources\Load.php on line 480

Also please note I have installed these last three CB plugs separately during my troubleshooting to isolate which plugs are giving which errors. All of these tests were on fresh install of Joomal, fresh install CB and fresh install SMF.

I've spent all day on this, reading manuals and retesting on fresh installs and can't seem to find anything here or at CB forum to help me track down the source of these errors messages.

Some guidance from the JoomlaHack gurus would be sincerely appreciated and please let me know if there's any info I omitted to provide above.

Thanks for reading and thanks in advance for your replies.

Cheers,
Zana
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Undefined index errors with CB Plugins
« Reply #1 on: November 19, 2006, 01:41:05 PM »

turn down your error reporting, this can be done in your joomla global config or in your php.ini.  These notices are unavoidable and are produced by the SMF core code.  Your other alternative is not to use the plugins, not really a valid choice.

Truly, on live sites you never want anything below fatal errors being shown.  So displaying notices and warnings to your live site users is bad practice, imho.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
zANavAShi
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Undefined index errors with CB Plugins
« Reply #2 on: November 19, 2006, 07:58:52 PM »

Thanks for your reply Wolverine.

I am able to change this setting in my php.ini by editing out:
Code:
error_reporting  =  E_ALL
and editing in:
Code:
; error_reporting = E_ALL & ~E_NOTICE
but once I upload this as a production site I will not have acces to the php.ini file on my web host server.

So where do I reconfig Joomla to perform this same action please? Sorry for the dumb newbie question, but I am totally new to this particular CMS. Is this setting called something different in Joomla Admin?

Cheers,
Zana
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Undefined index errors with CB Plugins
« Reply #3 on: November 19, 2006, 09:53:10 PM »

Joomla global configuration, server tab
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
zANavAShi
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Undefined index errors with CB Plugins
« Reply #4 on: November 19, 2006, 10:17:00 PM »

Wow, thanks for speedy reply kind sir.

Sorry for the dumb newbie questions here, but I need a specific setting please.

I see in Global Configuration >> Server an option called "Error Reporting", which is currently set to "System Default", but the settings options in there do not give any useful information as to which setting relates to those corresponding settings in the php.ini.

Can I assume that "System Default" equals "error_reporting  =  E_ALL" ?

And if so, what would the setting "Simple" equal in terms of php error-reporting? Which of those settings would most closely represent "error_reporting = E_ALL & ~E_NOTICE" ?

I don't want to set error reporting too low so that it ignores useful error messages that help me with my other addon installations.

Cheers,
Zana

PS: I think I should make a feature request to Joomla that they define these error reporting settings more accurately so we know exactly what is being reported with them hrmmmmmmm Undecided
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Undefined index errors with CB Plugins
« Reply #5 on: November 19, 2006, 11:11:19 PM »

I believe that is what simple is, I usually set it to None on my live sites.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
zANavAShi
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Undefined index errors with CB Plugins
« Reply #6 on: November 19, 2006, 11:55:13 PM »

Thanks Wolverine Smiley
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