After clicking Continue @ /update.php, we receive:
Fatal error: Cannot redeclare uc_order_views_data() (previously declared in /home/user/public_html/sites/all/modules/ubercart/uc_order/views/uc_order.views.inc:13) in /home/user/public_html/sites/all/modules/contrib/ubercart/uc_order/views/uc_order.views.inc on line 708
I am no Drupal professional, so do not understand what to do in this case.
I have a Drupal 7 site where we encourage users to add comments about content. With a D7 site out of the box, if a user tries to submit a blank comment they will get an error message "Comment field is required". However, I have added default text to the comment box which reads 'what I have learned from this content is...'. The problem is, users can successfully submit comments with only this default text. What I would like to do is run a check on the comments field during the submission process and reject when the field is blank or contains only the default text.
I have created a block for article nodes listing(only those which have a certain taxonomy tags). However, when I am adding a iframe in the node's body field, it is not getting rendered on the listing block while it is rendering on the node full view.
I have created a API endpoint in drupal which validates the session and redirects to particluar page. I need to consume this API from another application. But my drupal app has MFA protected, which genertes an unique cookie for every session after successfull authentication.
So Everytime if I try to consume my API, got MFA login page as respone with http code 303 redirect. If generated unique Cookie is sent in header, I got the actual response.