PHP warning messages saving project with PHP 5.3.0

jsmoorejr - October 30, 2009 - 20:11
Project:Storm
Version:6.x-1.26
Component:Storm Project
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I am just trying out Storm and have gotten 3 warning messages when I try to save a new project. Here are the steps that I took prior to getting the messages:

1. Created 2 Organizations; one for the provider and one for the customer.
2. Created people so that I would have users to add to the team.
3. Created a team with 3 members
4. I began creating a project which is where I ran into the issue.

First when I created the project, I filled out the begin/end dates, category, status, priority, Organization, Project Manager and assigned to. I gave it a title and then tried to save it. What I got were these 3 warning messages and nothing else on the page:

Warning: function_exists() expects parameter 1 to be string, array given in C:\xampp\htdocs\t2\includes\form.inc on line 726

Warning: function_exists() expects parameter 1 to be string, array given in C:\xampp\htdocs\t2\includes\form.inc on line 726

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\t2\includes\form.inc:726) in C:\xampp\htdocs\t2\includes\common.inc on line 335

So, I tried two more times, making sure that all fields were filled in but it made no difference. When I clicked on projects from the main Storm page, I noticed that all three projects I created where there. I tried editing one of them and got the same 3 warnings.

Is there something I am doing incorrectly or is this a bug? If it is something I am doing wrong, is there a tutorial somewhere on how to use Storm correctly or some user documentation that will give me some better guidance?

Thanks in advance
John

#1

Magnity - October 30, 2009 - 21:15
Priority:minor» normal

Hi John - any other modules installed?

Has anybody else had this issue?

#2

jsmoorejr - October 30, 2009 - 22:31

Yes, I have several other modules installed, here is the list that I installed aside from the core:

ACL
Advanced Forum
Author Pane
CCK
Devel
Dynamic Persistent Menu
Forum Access
Nice Menus
Node as Block
Private Message
Quotes
Subscriptions
User Longin Bar
Views
Zenophile
and of course Storm.

I am also going through the Modules tutorial so I have a small example mod from the tutorial called "onthisdate" installed.

I looked around and didn't see anyone with this same issue.

John

#3

Magnity - October 30, 2009 - 22:48
Title:I get warnning messages when I try to save a project» I get warning messages when I try to save a project

The message about headers being modified sounds like something is at least being amplified by the devel backtrace functionality. (Btw - does a backtrace appear with devel for this error?).

Do the errors change without devel?

Anything in the logs? I'm guessing it might just be a copy of the php warnings that you've already posted.

#4

jsmoorejr - October 30, 2009 - 23:47

The only thing that appeared on this error page was the 3 warnings that I posted, the rest was just white space. Theme, other page widgets all of it was missing.

When I uninstalled Devel and tried saving the project, I get the same first two errors, but the third goes away. The difference is that I actually have content on my page without Devel. It takes me back to the projects page with the list of projects. Changes I make are being saved, but in a red block right under the page Title (under the banner) is the warning block with these two errors:

    * warning: function_exists() expects parameter 1 to be string, array given in C:\xampp\htdocs\t2\includes\form.inc on line 726.
    * warning: function_exists() expects parameter 1 to be string, array given in C:\xampp\htdocs\t2\includes\form.inc on line 726.

At least now I have a menu. :)

I probably won't be reinstalling Devel.

#5

Magnity - October 31, 2009 - 17:56

Glad you've got the site works at least now then. Lets hope we can fix those other warnings too.

Which version of PHP are you on?

Are there any circumstances you've come across when this doesn't happen, or other situations where it does happen?

I've had a cursory look at this section of the code, but haven't found an issue of yet!

#6

jsmoorejr - November 2, 2009 - 17:37

PHP Version: 5.3.0

I do not recall seeing this error before. Although in my first attempt to install drupal, I installed the Admin menu module and I saw warning messages like these. I don't know if they said the same thing or not, but regardless, I am not working on the same install as I had then.

I appreciate the help, now that my page is at least showing when I save a project, I can continue to set it up and get it working.

#7

jsmoorejr - November 5, 2009 - 22:56

I rolled back to PHP version 5.2.8 and the warning messages went away. Not sure why, but seems that there is something that PHP 5.3.0 doesn't like. Thanks again for the help.

#8

Magnity - November 6, 2009 - 00:11

That's interesting to know. In fact, I think I may have heard about issues with 5.3.x before, but can't remember when.

Sounds like it still will need solving at somepoint though - especially with more and more people moving to PHP 5 and higher versions of that.

#9

Magnity - November 8, 2009 - 10:05
Title:I get warning messages when I try to save a project» PHP warning messages saving project with PHP 5.3.0

Changing title to better describe for the future...

#10

Magnity - November 12, 2009 - 15:28
Category:support request» bug report

Reclassifying as probable bug.

 
 

Drupal is a registered trademark of Dries Buytaert.