CMS MADE SIMPLE FORGE

AdvancedContent

 

[#5045] When switching from Content > Advanced Content lots of PHP errors

avatar
Created By: Dennis (moontear)
Date Submitted: Tue Jun 08 17:45:45 -0400 2010

Assigned To: Georg Busch (nan)
Version: AdvancedContent 0.3.3
CMSMS Version: None
Severity: Major
Resolution: Fixed
State: Closed
Summary:
When switching from Content > Advanced Content lots of PHP errors
Detailed Description:
Hi there,

GREAT plugin!

I have a problem with version 0.3.3 together with CMSMS 1.7.1. When changing the
content type via the dropdown menu from Content to Advanced Content, the page
refreshes and the following PHP errors appear:
--------------------
Notice: Undefined index: AdvancedContentStartTime in
xxx/cms/modules/AdvancedContent/inc/function.fillParams.inc.php  on line 82

Notice: Undefined index: AdvancedContentStartDate in
xxx/cms/modules/AdvancedContent/inc/function.fillParams.inc.php on line 82

Notice: Undefined index: AdvancedContentEndTime in
xxx/cms/modules/AdvancedContent/inc/function.fillParams.inc.php on line 82

Notice: Undefined index: AdvancedContentEndDate in
xxx/cms/modules/AdvancedContent/inc/function.fillParams.inc.php on line 82

Warning: Cannot modify header information - headers already sent by (output
started at xxx/cms/modules/AdvancedContent/inc/function.fillParams.inc.php:82)
in xxx/cms/lib/classes/class.admintheme.inc.php on line 182

Warning: Cannot modify header information - headers already sent by (output
started at xxx/cms/modules/AdvancedContent/inc/function.fillParams.inc.php:82)
in xxx/cms/lib/classes/class.admintheme.inc.php on line 185

Warning: Cannot modify header information - headers already sent by (output
started at xxx/cms/modules/AdvancedContent/inc/function.fillParams.inc.php:82)
in xxx/cms/lib/classes/class.admintheme.inc.php on line 188

Warning: Cannot modify header information - headers already sent by (output
started at xxx/cms/modules/AdvancedContent/inc/function.fillParams.inc.php:82)
in xxx/cms/lib/classes/class.admintheme.inc.php on line 189

Warning: Cannot modify header information - headers already sent by (output
started at xxx/cms/modules/AdvancedContent/inc/function.fillParams.inc.php:82)
in xxx/cms/lib/classes/class.admintheme.inc.php on line 192

Warning: Cannot modify header information - headers already sent by (output
started at xxx/cms/modules/AdvancedContent/inc/function.fillParams.inc.php:82)
in xxx/cms/lib/classes/class.admintheme.inc.php on line 197
--------------------
To make Advanced Content work I either change the Content Type in the Database
to "content2" or I change the content type via the regular drop-down box and
QUICKLY hit apply as to save the change - the site then breaks but after
re-opening the edit page everything is working properly.


History

Comments
avatar
Date: 2010-06-09 06:56
Posted By: Georg Busch (nan)

Thanks for using the bugtracker.

Try this patched file (or check out the latest SVN revision):
 
http://dl.dropbox.com/u/2876578/CMSms/Patches/Modules/AdvancedContent/function.fillParams.inc.php.zip

(download, unzip and upload it to modules/AdvancedContent/inc)

Please tell me if this works for you.
      
avatar
Date: 2010-06-09 07:03
Posted By: Dennis (moontear)

Works as advertised.

Too bad I already converted all pages via SQL UPDATE ;-)
      
avatar
Date: 2010-06-20 15:32
Posted By: Georg Busch (nan)

this is fixed in 0.3.4 now
      
Updates

Updated: 2010-06-20 15:32
state: Open => Closed

Updated: 2010-06-09 08:01
resolution_id: 10 => 7

Updated: 2010-06-09 06:56
resolution_id: => 10