View Single Post
Old
  (#11 (permalink))
stokerpoons
Junior Member
 
Status: Offline
Posts: 15
Join Date: Jun 2004
Location: Portsmouth, UK
07-11-2004, 09:09 PM

Quote:
Originally Posted by Mighty_Y
find in modules/Newsletter/index.php
Code:
    $query = "SELECT email, uid FROM ${prefix}_users WHERE uid = '$cookie[0]'";
and replace with
Code:
    $query = "SELECT user_email, user_id FROM $prefix_users WHERE user_id = '$cookie[0]'";
try that and report back
Hi Mighty Y! I have tried this but still get the error with line 48

error
Quote:
Warning: Supplied argument is not a valid MySQL result resource in /home/stokerpoons/public_html/modules/Newsletter/index.php on line 48
line 48
Quote:
list($usermail) = mysql_fetch_row($result);
Thanks anyway! [/quote]
  Send a message via MSN to stokerpoons  
Reply With Quote