This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

SQL Injection error during Security Scan

Security scan trying to manipulate form_build_id value to something else

e.g 

form_build_id manipulated from: form-i0JR1J8PhobAlL1_m6CQ8oHm02Ogf5Z-Gfd9XClh5PU to: form-i0JR1J8PhobAlL1_m6CQ8oHm02Ogf5Z-Gfd9XClh5PU%a5'%20having%201=1--%20

manages to produce sql stack trace on page (UI) showing details of Drupal's SQL entities/ tables

e.g.

An error occurred after the smtp upgrade, and the email could not be sent

I got an error after upgrading SMTP to 8.x-1.0, which caused smtp to fail to send mail. The error is as follows:

SMTP CONNECTION

SMTP module is enabled, turned on, but SmtpConnect() returned FALSE.

How do teachers solve it? Thank you!

callBack

In a content type, in addition to various fields, I have 4 numeric fields. For each single field I call the same callBack to perform a check. Is it possible, inside the callBack, to know which field has recalled the callBack?

How to disable database delete if Module uninstalled

I am working on an Critical Website. I want to not delete the Database if "Accidental Module uninstallation" happens. 

Which hook to use - to develop module, so that the database created does not get deleted by "Accidental Module Uninstallation"

We are implementing Auto-backup of Database tables through Cron job. But Also, want to implement Integrated feature - in worst case scenario if Module get deleted

Autocomplete Field

Hi Guys,

View with REST how to set root and child name

Hi friends,
I have a doubt, i've created a REST with View and i formated like JSON, but the output is like this:

[
{"item1":"123","item2":"123","item3":"123","item4":"","item5":"123","item5":"123"},	{"item1":"345","item2":"345","item3":"345","item4":"","item5":"345","item5":"345"}
]

And i need something like this:

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions