Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 07:53:30 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155551 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: The massmail module  (Read 367 times)
webby

Offline Offline

Posts: 85


« on: August 23, 2011, 06:20:09 PM »

Hi

I'm getting an error, when I try to use the massmail module:

Notice: Use of undefined constant user_id - assumed 'user_id' in /data/www/www.naturefterskolen.dk/w/modules/massmail/modify.php on line 138

Notice: Use of undefined constant user_id - assumed 'user_id' in /data/www/www.naturefterskolen.dk/w/modules/massmail/modify.php on line 121

Notice: Use of undefined constant user_id - assumed 'user_id' in /data/www/www.naturefterskolen.dk/w/modules/massmail/modify.php on line 121

Notice: Undefined variable: users_id in /data/www/www.naturefterskolen.dk/w/modules/massmail/modify.php on line 301

Any suggestions how to solve that problem?

Webby Smiley
Logged
Reverent

Offline Offline

Posts: 1


« Reply #1 on: September 27, 2011, 10:33:09 AM »

Hey,

im gettin the same erros. Just installed massmail (twice) but nothin changed and the module isnt workin! Any suggestions??

Greetz
Logged
marmot

Offline Offline

Posts: 208


« Reply #2 on: September 30, 2011, 10:59:25 AM »

Hi,

first of all these messages are "only" notices, the module should work fine. You could go to wb backend options and check if Error Reporting ist switched to E_NONE. If not, do so and the messages will disapear.

If you want do get deeper in:

Notice: Use of undefined constant user_id - assumed 'user_id' in /data/www/www.naturefterskolen.dk/w/modules/massmail/modify.php on line 138

Notice: Use of undefined constant user_id - assumed 'user_id' in /data/www/www.naturefterskolen.dk/w/modules/massmail/modify.php on line 121

Notice: Use of undefined constant user_id - assumed 'user_id' in /data/www/www.naturefterskolen.dk/w/modules/massmail/modify.php on line 121

Notice: Undefined variable: users_id in /data/www/www.naturefterskolen.dk/w/modules/massmail/modify.php on line 301
The error message almost says it all Wink. Edit the file modify.php on lines 121 and 138 and single quote user_id (looks like 'user_id').
Insert new line after line 295: $users_id = "";
This is not perfect as $users_id might be empty in some cases but it's quick.

regards
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!