Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am new Drupal user. Last time I was trying to develop simple module and I have simple question to you: How I can get variables, which was post from form?
I am using 4.6.1. I use a windows 2003 domain system. I have ldap_indegration module setup. When I try to connect I am getting the following error :
ldap_bind(): Unable to bind to server: Invalid credentials in D:\Inetpub\UCPrivate\modules\ldap_integration\LDAPInterface.php on line 59.
then I get
LDAP Bind failure for user uid=administrator,dc=unicoischools,dc=com. Error 49: Invalid credentials
I am using the correct username and password. Any ideas what would cause this?
I want to make a module to offer ups rates for shipping in ecommerce. To do this, the shipping module needs to know the sender's and receiver's zip code (or full address) and the weight of the shipment. Given the hooks and structure of the ecommerce modules, where would I look for this information?
OK in one of my new modules, I am trying to do a "bulk" delete of rows from a table using:
db_query("DELETE FROM sampleTable WHERE keyColumn like 'deleteme%'");
$rowCt = db_affected_rows();
In this example, $rowCt gets set to 144 indicating 144 rows were deleted as expected. But, when I go look at the table ... the number of rows is UNCHANGED!