I am looking for a solution to this problem, maybe it's a bug, maybe it's my messup
When editing a node that has a date field, I get a blank screen on submit and on preview
I tried increasing the php memory
I tried reverting to the previous date module and calendar module.
I was getting invalid fuction errors when I upgraded to the latest dev modules. Somehow the date or calendar modules got disabled and I had a heck of a time geting them turned back on.
At one point I ran the update.php and chose update #6 (out of 7) from date drop down select box thinking this might revert it back one level but that didn't seem to work.
I also replaced the database with a previous backup but I have the same problem.
Any help will be appreciated.
Comments
Comment #1
karens commentedIt sounds like you upgraded from a version the didn't use the Date API module to one that did. If you do that, it will disable the Date and Calendar modules so you can go to the modules page and install the Date API module, too. If it didn't do that you would get a fatal error that would not let you do anything.
For future reference, It is never a good idea to rerun an update and is an especially bad idea to rerun an earlier update thinking it will undo a later one (it won't).
I suspect your setup is fairly well messed up, so I would go back to your backup database, install the latest version of both the Date and Calendar modules. Go immediately to the admin modules page and be sure that Date, Calendar and the Date API module are all installed. The Date API program comes packaged with the Date module but does not depend on CCK, so it shows up in the 'Other' area instead of in the 'CCK' area.
Once everything is installed, try your node again. If you still have problems, go to the field settings page and double -check your settings and re-save them, it may be that something changed in the new version that affected you (although there were no changes that should have done that).
Comment #2
Lowell commentedThanks for your help, I reverted to a backed up db and modules and got everything working normal again. Only lost a few days of content (that'll teach me to do backups 'everytime')
then installed the newest dev of calendar and date. Looks really good so far, I appreciate all your effort into these projects, they are shaping up nicely.
oops, I just tried the node edit and got the same trouble (a blank page with the url showing the same node/#/edit ) when clicking on the submit button. :-(
I quickly followed your suggestions without any results so I reverted to the previous date and calendar modules and everything seems ok again
; $Id: date.info,v 1.2.2.4 2007/02/21 14:31:56 karens Exp $
; $Id: calendar.info,v 1.1.2.2 2007/02/22 01:51:00 karens Exp $
I would like to use the newest but have some conflict in site. I will try them on another site as soon as I can.
If you want more info about this one, just let me know what to do and I'll be glad to help.
Comment #3
karens commentedJust saw another issue about not being able to view the node. In that situation the jscalendar widget was being used. Is that what you are using for your date field, too? If so, try using a different widget (textfield or select list) and see if the problem goes away. If it does, it is related to the jscalendar integration or jscalendar itself (and both these issues are the same).
Comment #4
Lowell commentedWe can probably consider this issue closed, and thanks for your help.
Yes I do use the jscalender widget but I got it working somehow so I won't be able to test this idea.
I did some fiddling around with the database and then applied the newest dev versions of calendar and date and to my suprise, everything is working again.
As far as I can remember, the only thing I did to the database to fix everything was to remove all the accesslog data from the .sql file before I restored it. This data made the database huge, and there were many duplicate error statements about the node/edit(s) that I was editing. We could do more investigating but it makes sense that I would get a blank page, the php memory was being exceeded because of a possible infinite loop of some kind probably due to my update.php antics.
thanks again for your help as always, if you want to know more I can look up the actual error messages again
Comment #5
tema commentedSorry, KarenS...
After CVS update of date.module I have my local AMP server down every time when I'm trying to add a node with date field. Everything is clean and fresh. No JScalendar, no Views.
Before crushing MySQL writes in a log:
"[Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them"
Priority: critical
Comment #6
parasiteI think this thread is the same like this. I posted my issue there.
Comment #7
karens commentedI hope the latest commit will take care of this issue.
Comment #8
(not verified) commented