I am running PHP 5 on Linux. After installing SMTP module and going to settings/smtp the form does not show up, instead I get this:
======================
smtp
Array (then the buttons: "Save configuration" and "Reset to defaults")
I am running PHP 5 on Linux. After installing SMTP module and going to settings/smtp the form does not show up, instead I get this:
======================
smtp
Array (then the buttons: "Save configuration" and "Reset to defaults")
Comments
Comment #1
LukeLast commentedAre you using the latest CVS version of Drupal HEAD? And smtp.module 1.5? This sounds like a problem involving the recent change in the forms API. If you could give me all the details I'd be grateful.
Comment #2
dkruglyak commentedYes, I got the latest (1.5). This is most likelyl PHP 5 compatibility issue, there are quite a few all over the code. The only visible problem is as I described: instead of config form it displays "Array" string (apparently trying to print out an array "as-is").
Comment #3
dkruglyak commentedNote, the bug looks nearly exactly as this one (http://drupal.org/node/36949). Maybe the source is also forms API and the fix is 4.6 branch. But I really have no idea...
Comment #4
LukeLast commentedIt sounds like you need to update your version of Drupal to the newest 4.7/HEAD from CVS.
Or you could use smtp.module 1.3 http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/modules/sm...
Comment #5
dkruglyak commented4.7/HEAD is not an option for me as well as for most people who are in production with many modules. It would be nice to have a 4.6 tag too (not just a static revision), like many other modules.
Comment #6
LukeLast commentedYou're right, but for now just use version 1.3 of the module, the most recent version of most modules are 4.7 only now.
Comment #7
(not verified) commented