We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Error if the user forget to select a date - Oxwall Classifieds (Beta) | Forum

MacProcess
MacProcess Apr 28 '15
If the user forgot to enter a due date for an ad, the script will return a white page with error 500 message. Thanks to fix it.
Purusothaman Ramanujam
Can you enable DEBUG/DEV mode and let you know what you see in the screen with a screnshot?
MacProcess
MacProcess May 1 '15
The error message:

SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect date value: '' for column 'expiry' at row 1

Purusothaman Ramanujam
Can you share the entire screenshot, so that I can see which lines and files.
MacProcess
MacProcess May 5 '15
Just force users to enter a date...... actually there is no error when a user do not select a date.
Purusothaman Ramanujam
Yes, its an optional field and so there is not check.

I might need to debug on your server, Sir.
MacProcess
MacProcess May 8 '15
Idea: add a setting in preferences to force the use of a date.
Purusothaman Ramanujam
Actually that will not work sir. Many user does not have to have a date.
You do not have permission to reply this topic