SPECIAL OFFER: Only $69 for access to everything in OSTraining for 1 year! You save $75! 
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

Node saved but most CCK fields are blank

5 years 6 months ago #123826 by BamaJohn
A content type with date, term reference, text, and several select lists has gone crazy... It worked as expected for two years and as of earlier this month it no longer saves the inputs from fields except the text field and the title. I've searched but so far no joy. Any ideas of where to look or try will be appreciated.

I can add content to other types without a problem.

A screen shot of the content type is attached.

This message has an attachment image.
Please log in or register to see it.

Please Log in to join the conversation.

5 years 6 months ago #123855 by Valentin
Replied by Valentin on topic Node saved but most CCK fields are blank
Hi BamaJohn,

What changed recently in your Drupal site? If you installed a module that may be messing your installation.
Also, check you have Drupal and all the modules up-to-date

After you submit new content, do you see an error?

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 6 months ago #123885 by BamaJohn
Replied by BamaJohn on topic Node saved but most CCK fields are blank
The only change was an update to Drupal core but I rolled that back today and no change.

A little more info that may help, when this content type is saved, I have a rule that sends emails and the test content created today sent emails with the content as expected. When you then view or edit the node on the website all you see is the Title and the Body, all added fields are blank. But the data was there during the rule processing...

I'm going to check the module(s) that lets me create Dates, Pick Lists and Term References since they are they fields going blank. Any and All other ideas are appreciated.

Please Log in to join the conversation.

5 years 6 months ago #123886 by Daniel Pickering
Replied by Daniel Pickering on topic Node saved but most CCK fields are blank
Hi BamaJohn,

Can you look in "Recent log messages" and give us any information on errors or warnings that have been logged please.

Also look in "Status report" and check everything.

And activate a manual "Cron" then go back to your "recent log messages" and take note of any new entries and give us the information in them.

Thanks,
Daniel

Please Log in to join the conversation.

5 years 6 months ago #123887 by BamaJohn
Replied by BamaJohn on topic Node saved but most CCK fields are blank
Nothing unusual in logs - so I ran cron and it tripped a rule to delete bogus user registrations.

TYPE DATE MESSAGE USER
rules 02/29/2016 - 7:37pm Rules debug information: " Reacting on event... jellison
cron 02/29/2016 - 7:36pm Cron run completed. Anonymous (not verified)

Cron runs hourly so there were not may user registrations to delete

Rules debug information:
" Reacting on event Cron maintenance tasks are performed.
0 ms Reacting on event Cron maintenance tasks are performed.
5.433 ms Evaluating conditions of rule Delete Bogus Users. [edit]
5.445 ms AND evaluated to TRUE.
" Rule Delete Bogus Users fires. [edit]
0 ms Rule Delete Bogus Users fires.
0.014 ms Rule Delete Bogus Users has fired.
5.488 ms Finished reacting on event Cron maintenance tasks are performed.

No out of date modules and the status report has no issues. Core is 7.43

My Drupal 6 days cropped up about CCK, the fields I am using are in D7 core - Fields, at least I think they all are except Date.

Another possible clue - when you save the node it takes a long time and then you are returned to the node/add screen rather than the node view I would expect.

Please Log in to join the conversation.

5 years 6 months ago - 5 years 6 months ago #123888 by Daniel Pickering
Replied by Daniel Pickering on topic Node saved but most CCK fields are blank
Thanks BamaJohn,

So it doesn't generate any errors?
The only change has been drupal core ?
What version number was it before you updated it ?
Did you already have clean urls installed?
How did you apply the update to drupal core?

Another thought for the slow response have you checked that the title isn't already in use ? Sounds like it could be some kind of data validation rule making it bounce back to node/add

Daniel

Please Log in to join the conversation.

5 years 6 months ago #123897 by BamaJohn
Replied by BamaJohn on topic Node saved but most CCK fields are blank
No errors
No changes other than Core
7.42 - I have not skipped any Core updates
Clean URLs have been there since day one
Via Softaculous - SiteGround Control Panel

Did a little more testing and narrowed the problem down to Auto Nodetitle module. If I disable and remove it the node saves as expected with a fields stored. This content type really needs automatic node titles so I tried the DEV version and it causes the same failure on node save. Is there another module I could try to get automatic node titles? I am not a coder so doing something custom could easily exceed my skill set... :-)

Thanks for any help or ideas

Please Log in to join the conversation.

5 years 6 months ago #123898 by BamaJohn
Replied by BamaJohn on topic Node saved but most CCK fields are blank
Found www.drupal.org/project/auto_entitylabel

It works as expected and it appears things are now back to normal...

Please Log in to join the conversation.

5 years 6 months ago #123899 by Daniel Pickering
Replied by Daniel Pickering on topic Node saved but most CCK fields are blank
That is great news to see your making progress.

Is this the module in question ? www.drupal.org/project/auto_nodetitle

Please Log in to join the conversation.

5 years 6 months ago #123900 by BamaJohn
Replied by BamaJohn on topic Node saved but most CCK fields are blank
Auto Nodetitle caused the problem and I had to remove it.

www.drupal.org/project/auto_entitylabel works as expected

Please Log in to join the conversation.

5 years 6 months ago #123901 by Daniel Pickering
Replied by Daniel Pickering on topic Node saved but most CCK fields are blank
Great news and it is under active development so you should be fine with that module.

Let us know if you need any other assistance.

Thanks,
Daniel

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!