Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Emails on Comments not going through  (Read 6730 times)

0 Members and 1 Guest are viewing this topic.

tynana

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Emails on Comments not going through
« on: October 10, 2006, 01:33:01 am »

Hi Stramm and all! ;)

Your mod works great as always after I made sure I overwrote the files as suggested. Thanks!

Anyway I have one problem, wouldn't be so bad but it is the main reason I needed the mod.

My setup:

Mambo 4.5.2 bridged to SMF 1.0.8 (SMF wrapped in Mambo) using SMF registration and pretty much all functions PM, Profile etc.
Coppermine 1.4.8 Bridged to SMF works great for several months now.
Everything is in the same database

Installed your  stramm_mod1.4.8.bridge.1
Buddy is turned off in Admin (don't need it)
I haven't set the avatar path yet so that is why they don't show, can fix that later.
The "Get notified of Comments" is showing and seems to work, no errors, but no emails are being sent ???

My site is http://www.renderbenders.com if you need to look
test user = wicca
pass = kenson

Coppermine is the "MAIN GALLERIES" link at the top left

Any help would be greatly appreciated and thanks again Stramm ;D
« Last Edit: November 05, 2006, 07:20:30 am by Stramm »
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Emails on Comments not going through
« Reply #1 on: October 10, 2006, 07:48:24 am »

update to the newest modpack 1.4.9 v3 please (and of course to CPG 1.4.9 first)

tynana

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Emails on Comments not going through
« Reply #2 on: October 10, 2006, 09:28:53 pm »

Thanks Stramm!

Will do and will let you know how it went. ;D

You're the best!

Tynana
Logged

tynana

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Emails on Comments not going through
« Reply #3 on: October 12, 2006, 03:15:35 am »

Hi again Stramm,

Well I upgraded to CPG 1.4.9 and upgraded to your MOD 1.4.9 V3. Everything went fine, ran the UPDATE file, everything OK. I set all up as I needed it in config and all seems to check out. The PMs are working fine and emails are being sent for them, but....emails are still not being sent for comments. I even contacted my Host and set up the SMTP as they told me...No go. I also left it blank for sendmail and it still doesn't work. I have no errors but for the info below which I think has nothing to do with the mail.

USER:
------------------
Array
(
    [ID] => 066ee9a1a4b4a72ae7ee2d6b23cb6ae6
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
           
  • => 1

        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 1
    [num_URI_upload] => 0
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 0
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg148_filetypes; (0s)
  • [1] => select * from cpg148_plugins order by priority asc; (0s)
        [2] => SELECT * FROM cpg148_bridge (0s)
        [3] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg148_usergroups WHERE group_id in (1) (0s)
        [4] => SELECT group_name FROM  cpg148_usergroups WHERE group_id= 1 (0s)
        [5] => SELECT user_favpics FROM cpg148_favpics WHERE user_id = 1 (0s)
        [6] => SELECT count(*) FROM  cpg148_pms WHERE owner=1 (0s)
        [7] => SELECT count(*) FROM  cpg148_pms WHERE owner=1 AND showed='0' (0s)
        [8] => DELETE FROM cpg148_banned WHERE expiry < '2006-10-12 05:50:54' (0s)
        [9] => SELECT * FROM cpg148_banned WHERE (ip_addr='67.142.130.30' OR ip_addr='67.142.130.30' OR user_id=1) AND brute_force=0 (0s)
        [10] => SELECT aid from cpg148_pictures WHERE pid='81'  LIMIT 1 (0s)
        [11] => SELECT title,keyword from cpg148_albums WHERE aid='35' (0s)
        [12] => SELECT COUNT(*) from cpg148_pictures WHERE ((aid='35'  ) )   (0s)
        [13] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, votes, pic_rating, title, caption,hits,owner_id,owner_name from cpg148_pictures WHERE ((aid='35'  ) )   ORDER BY pid DESC  (0.001s)
        [14] => SELECT title,keyword from cpg148_albums WHERE aid='35' (0s)
        [15] => SELECT COUNT(*) from cpg148_pictures WHERE ((aid='35'  ) )   (0s)
        [16] => SELECT * from cpg148_pictures WHERE ((aid='35'  ) )   ORDER BY pid DESC  LIMIT 1 ,1 (0s)
        [17] => SELECT title, comments, votes, category, aid FROM cpg148_albums WHERE aid='35' LIMIT 1 (0s)
        [18] => SELECT name, parent FROM cpg148_categories WHERE cid = '4' (0s)
        [19] => SELECT c.msg_id, c.msg_author, c.msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, c.author_id, c.author_md5_id, c.msg_raw_ip, c.msg_hdr_ip, c.pid, u.avatar AS avatar_url FROM cpg148_comments AS c LEFT JOIN `myDB_NAME`.smf_members AS u ON c.author_id=u.ID_MEMBER WHERE pid='81' ORDER BY c.msg_id ASC (0.001s)
        [20] => SELECT mail_sent FROM cpg148_notify WHERE user_id='1' AND picture_id='81' (0s)
        [21] => SELECT title,keyword from cpg148_albums WHERE aid='35' (0s)
        [22] => SELECT COUNT(*) from cpg148_pictures WHERE ((aid='35'  ) )   (0s)
        [23] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, votes, pic_rating, title, caption,hits,owner_id,owner_name from cpg148_pictures WHERE ((aid='35'  ) )   ORDER BY pid DESC  LIMIT 0 ,10 (0s)
        [24] => SELECT count(*) from cpg148_comments where pid=87 and msg_id!=0 (0s)
        [25] => SELECT count(*) from cpg148_comments where pid=81 and msg_id!=0 (0s)
        [26] => SELECT count(*) from cpg148_comments where pid=78 and msg_id!=0 (0s)
        [27] => SELECT count(*) from cpg148_comments where pid=74 and msg_id!=0 (0s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
       
[pos] => -81
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.4 - OK
------------------
mySQL version: 4.1.21-standard-log
------------------
Coppermine version: 1.4.9(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 2
Client API version 4.1.21
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib64 -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1.2
Linked Version 1.2.1.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 1200M | 1200M
post_max_size | 55M | 55M
==========================
Page generated in 0.433 seconds - 28 queries in 0.002 seconds - Album set : ; Meta set: ;

Here are the page errors

/include/functions.inc.php

    * Notice line 88: Undefined variable: cpg_show_private_album
    * Notice line 909: Undefined variable: caption2
    * Notice line 909: Undefined variable: caption2
    * Notice line 909: Undefined variable: caption2
    * Notice line 909: Undefined variable: caption2
    * Notice line 1929: Undefined index: system_icon
    * Notice line 1929: Undefined index: system_icon
    * Notice line 1929: Undefined index: system_icon
    * Notice line 1929: Undefined index: system_icon

/include/themes.inc.php

    * Notice line 2251: Undefined index: uid


If you need me to PM you anything sensitive let me know...I'm not really up on the email stuff but if you tell what and where to change something I can do that ;)

Thanks for your help so far! ;D

Tynana
Logged

tynana

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Emails on Comments not going through
« Reply #4 on: October 13, 2006, 06:43:42 pm »

Anyone?? ??? Please
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Emails on Comments not going through
« Reply #5 on: October 16, 2006, 08:30:37 am »

I'll check again in a free min and if I can't reproduce the error, contact you for more details

tynana

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Emails on Comments not going through
« Reply #6 on: October 17, 2006, 03:49:54 am »

Thanks Stramm ;)
I have had other work to get done so I haven't been in a great hurry. Thanks for looking into this for me! ;D

Tynana
Logged

tynana

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Emails on Comments not going through
« Reply #7 on: October 31, 2006, 12:59:15 am »

Hi Stramm,

Any ideas yet?

Thanks
Tynana
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Emails on Comments not going through
« Reply #8 on: October 31, 2006, 10:03:59 am »

I haven't had any problems so far (CPG -> SMF), will setup a fresh copy of both and test again soon, then with 1.4.10

tynana

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Emails on Comments not going through
« Reply #9 on: November 04, 2006, 12:02:42 am »

HI Stramm,

Well I haven't changed anything but I received an email notification meant for another artist (sent to my ADMIN account)  ;) But no others. I will test some more and see if this continues.
Does this mean anything to you?
If you need I will pm you my gallery config or anything else you may need.

Thanks
Tynana
Logged

tynana

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Emails on Comments not going through
« Reply #10 on: November 04, 2006, 12:23:38 am »

Hi again,

Okay have tested with other accounts and all the emails are going to my Admin email. They are not going to the artist at all. ??? So some part of it is functioning now at least. I just don't know how to get them to go the right direction lol!

Tynana
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Emails on Comments not going through
« Reply #11 on: November 04, 2006, 10:53:42 am »

OK, that's a start... as said, I need a free min to test

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

tynana

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Emails on Comments not going through
« Reply #13 on: November 05, 2006, 03:23:19 am »

 ;D
Thanks Stramm!
That thread led me in the right direction I believe, must test somemore to make sure but it is looking good.
Tell you what I did in case someone else needs this. Please everyone look to the top post to see my setup ::)

Did all listed above of course.
Read the thread Stramm posted above this one. Make sure you do it!
Okay, even after I apllied the fix the email for comments still didn't work, so I started to assume that it was my mail settings.
SMF--Had to set it to SMTP,  localhost, valid email and password for my domain and changed the port number to 26..25 does not work for my host...AH HA!
CPG--Set to SMTP...BUT, had to set host to mail.mydomain.com...my host had told me to set it to localhost..don't work,set valid email and password.

Voila! Emails started to go to the correct accounts not just admin ;D

This worked for me so far...I have much more tests to do but if it came through 2 times it should continue.

I bow to you Stramm :-*
I will post again if for some reson this is a fluke and it stops working but I think this is it.

Thanks so much for a wonderful gallery...I really did not want to change..I love CPG!!

Big Hugs
Tynana
Logged
Pages: [1]   Go Up
 

Page created in 0.036 seconds with 22 queries.