forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 email => Topic started by: serg5777 on June 11, 2012, 09:16:31 am

Title: Failed to send email. Please try again later
Post by: serg5777 on June 11, 2012, 09:16:31 am
When sending a message from the feedback forms issued to the message. In what may be the problem? Thank you
Title: Re: Failed to send email. Please try again later
Post by: serg5777 on June 12, 2012, 03:29:50 pm
If you allow me, I will lift up his theme, since the problem is not solved.
Title: Re: Failed to send email. Please try again later
Post by: serg5777 on June 12, 2012, 03:30:34 pm
Andre please help  ;)
Title: Re: Failed to send email. Please try again later
Post by: Joe Carver on June 13, 2012, 01:19:45 am
Are you trying to use contact.php?

Post a link to your gallery please.

This is not truly a bug report.
Title: Re: Failed to send email. Please try again later
Post by: serg5777 on June 13, 2012, 06:34:19 am
I'm sorry that the subject created in the wrong section.
Link (http://megawallpapers.ru/) to website
Title: Re: Failed to send email. Please try again later
Post by: Αndré on June 14, 2012, 11:46:57 am
Please enable debug mode. You should get an extended error message.
Title: Re: Failed to send email. Please try again later
Post by: serg5777 on June 14, 2012, 03:35:48 pm
Code: [Select]
/themes/water_drop/theme.php
Notice line 511: Undefined variable: picture_url
Notice line 533: Undefined variable: pic_title
/include/functions.inc.php
Warning line 807: strstr() [function.strstr]: Empty delimiter
/index.php
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description
Notice line 1086: Undefined index: description


Title: Re: Failed to send email. Please try again later
Post by: serg5777 on June 14, 2012, 03:40:28 pm
I checked the files, apparently the problem is something else. For me the feedback form is not particularly important of course, but it is desirable to work :)
Title: Re: Failed to send email. Please try again later
Post by: Αndré on June 14, 2012, 03:51:18 pm
I don't asked you to post PHP notices, but either enable the debug mode for everyone or post the extended error message.
Title: Re: Failed to send email. Please try again later
Post by: serg5777 on June 14, 2012, 04:00:43 pm
You are on the phpinfo? I'm afraid to lay out the settings of your server to a general overview :(
Maybe there are some private issue?
Title: Re: Failed to send email. Please try again later
Post by: serg5777 on June 14, 2012, 04:08:42 pm
Oh sorry I do not understand. Error contact.php line 211
Title: Re: Failed to send email. Please try again later
Post by: serg5777 on June 14, 2012, 04:10:49 pm
/include/mailer.inc.php
CPG Notice line 1694: Unable to initialize the mail function.
/include/logger.inc.php
Warning line 62: fopen(logs/mail.log.php) [function.fopen]: failed to open stream: Permission denied
Warning line 63: fwrite(): supplied argument is not a valid stream resource
Warning line 64: fwrite(): supplied argument is not a valid stream resource
Warning line 65: fclose(): supplied argument is not a valid stream resource
Title: Re: Failed to send email. Please try again later
Post by: serg5777 on June 14, 2012, 04:17:15 pm
And more:
/contact.php
Notice line 241: Undefined index: captcha_field_mandatory
Notice line 299: Undefined variable: expand_array
Warning line 299: in_array() [function.in-array]: Wrong datatype for second argument
Notice line 324: Undefined variable: expand_array
Warning line 324: in_array() [function.in-array]: Wrong datatype for second argument
Title: Re: Failed to send email. Please try again later
Post by: Αndré on June 14, 2012, 04:21:43 pm
Does your gallery sends e.g. registration emails? Does email sending ever worked in your gallery? Does email sending works in general on your server? Have you entered anything in Coppermine's email settings?


You are on the phpinfo? I'm afraid to lay out the settings of your server to a general overview :(
Maybe there are some private issue?
No.

Please search the docs, this board or google for "PHP notices" to understand what they are.
Title: Re: Failed to send email. Please try again later
Post by: serg5777 on June 14, 2012, 04:23:59 pm
E-mail to the settings specified.
Title: Re: Failed to send email. Please try again later
Post by: serg5777 on June 14, 2012, 04:26:26 pm
I have currently removed the registration, but when it was then notified of new registrants come, then I removed the registration and change the e-mail
Title: Re: Failed to send email. Please try again later
Post by: Αndré on June 14, 2012, 04:26:48 pm
Erm, sorry. What? If you have entered any SMTP settings, check if it works when you clear them.
Title: Re: Failed to send email. Please try again later
Post by: serg5777 on June 14, 2012, 04:37:56 pm
SMTP settings, I do not touch :)
Tell me that there is need to change?
Title: Re: Failed to send email. Please try again later
Post by: serg5777 on June 14, 2012, 04:57:26 pm
E-mail I have not Google.

mail.ru
Title: Re: Failed to send email. Please try again later
Post by: serg5777 on June 14, 2012, 05:06:14 pm
Andre thank you very much, I configured SMTP for mail.ru  ;)
Title: Re: Failed to send email. Please try again later
Post by: qba on October 09, 2012, 11:42:23 am
Hello,
I have the same problem, BUT: my smtp settings were correct and Contact form worked without mistakes. I didn`t make any changes. Today I noticed that emails are not sending to my mailbox.
Is it possible to help me?

My gallery: www.car-brochures.one.pl

File: /home/qba/public_html/automobilia/contact.php - Line: 211

Debug
Code: [Select]
USER:
------------------
Array
(
    [ID] => 2eac525c8b0e6ca197f7bc66ecb3add5
    [am] => 1
    [lang] => polish
    [liv_a] => Array
        (
            [0] => 26
            [1] => 27
            [2] => 378
        )

    [search] => Array
        (
            [params] => Array
                (
                    [title] => on
                    [caption] => on
                    [keywords] => on
                    [type] => AND
                )

            [search] => niki
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => qba
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [access_level] => 3
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] =>
    [can_create_public_albums] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [allowed_albums] => Array
        (
        )

    [0] => 1
    [1] => 1
    [user_group] => 1
    [2] => YES
    [user_active] => YES
    [3] => qba
    [4] => 3e133e862d99477ff42c8d2e189ddb8b
    [user_password] => 3e133e862d99477ff42c8d2e189ddb8b
    [5] => 2012-10-09 11:35:52
    [user_lastvisit] => 2012-10-09 11:35:52
    [6] => 2011-01-20 18:21:14
    [user_regdate] => 1295544074
    [7] =>
    [user_group_list] =>
    [8] => jwidla@onet.eu
    [user_email] => jwidla@onet.eu
    [9] =>
    [user_email_valid] =>
    [10] =>
    [user_profile1] =>
    [11] =>
    [user_profile2] =>
    [12] =>
    [user_profile3] =>
    [13] =>
    [user_profile4] =>
    [14] =>
    [user_profile5] =>
    [15] =>
    [user_profile6] =>
    [16] =>
    [user_actkey] =>
    [17] => polish
    [user_language] => polish
    [18] => qba
    [19] => jwidla@onet.eu
    [20] => 1295544074
    [21] =>
    [user_location] =>
    [22] =>
    [user_website] =>
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT name, value FROM cpg15x_config [include/init.inc.php:181] (0 ms)
    [1] => SELECT * FROM cpg15x_plugins ORDER BY priority [include/plugin_api.inc.php:54] (0 ms)
    [2] => SELECT user_id, time FROM `qba_copp15x`.cpg15x_sessions WHERE session_id = '6c3742a2beea505dd23807d7f6b50813' [bridge/coppermine.inc.php:264] (0 ms)
    [3] => SELECT user_id, user_password FROM `qba_copp15x`.cpg15x_users WHERE user_id = 1 [bridge/coppermine.inc.php:276] (0 ms)
    [4] => SELECT u.user_id AS id, u.user_name AS username, user_password AS password, u.user_group AS group_id FROM `qba_copp15x`.cpg15x_users AS u LEFT JOIN `qba_copp15x`.cpg15x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' [bridge/udb_base.inc.php:70] (0 ms)
    [5] => SELECT user_group_list FROM `qba_copp15x`.cpg15x_users AS u WHERE user_id='1' AND user_group_list <> '' [bridge/coppermine.inc.php:202] (0 ms)
    [6] => 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(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, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS  priv_upl_need_approval FROM cpg15x_usergroups WHERE group_id in (1) [bridge/udb_base.inc.php:323] (0 ms)
    [7] => SELECT group_name FROM cpg15x_usergroups WHERE group_id= 1 [bridge/udb_base.inc.php:327] (0 ms)
    [8] => SELECT COUNT(*) FROM cpg15x_categorymap WHERE group_id in (1) [bridge/udb_base.inc.php:340] (0 ms)
    [9] => UPDATE `qba_copp15x`.cpg15x_sessions SET time = 1349775352 WHERE session_id = '6c3742a2beea505dd23807d7f6b50813' [bridge/coppermine.inc.php:321] (0 ms)
    [10] => UPDATE `qba_copp15x`.cpg15x_users SET user_lastvisit = NOW() WHERE user_id = '1' [bridge/coppermine.inc.php:325] (0 ms)
    [11] => SELECT description from cpg15x_albums WHERE aid='' [themes/chaoticsoul/theme.php:1223] (0 ms)
    [12] => SELECT lang_id FROM cpg15x_languages WHERE enabled='YES' [include/init.inc.php:329] (0 ms)
    [13] => SELECT user_favpics FROM cpg15x_favpics WHERE user_id = 1 [include/init.inc.php:387] (0 ms)
    [14] => SHOW TABLES LIKE 'cpg15x_languages' [include/functions.inc.php:4138] (0 ms)
    [15] => SELECT * FROM cpg15x_languages [include/functions.inc.php:4145] (0 ms)
    [16] => DELETE FROM cpg15x_banned WHERE expiry < '2012-10-09 11:35:52' [include/init.inc.php:443] (0 ms)
    [17] => SELECT null FROM cpg15x_banned WHERE (user_id=1 OR '81.15.192.154' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:459] (0 ms)
    [18] => SELECT *, user_name AS user_name, user_email AS user_email, UNIX_TIMESTAMP(user_regdate) AS user_regdate, '' AS user_location, '' AS user_website FROM  `qba_copp15x`.cpg15x_users WHERE user_id = '1' [bridge/udb_base.inc.php:413] (0 ms)
    [19] => SELECT COUNT(*) FROM cpg15x_pictures WHERE approved = 'NO' [include/functions.inc.php:2420] (0 ms)
    [20] => SELECT lang_id, abbr FROM cpg15x_languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2315] (0 ms)
    [21] => DELETE FROM cpg15x_temp_messages WHERE time < 1349771753 [include/functions.inc.php:4929] (71 ms)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
    [subject] => Temat w Wasze koelkcje
    [message] => ertertyerter
    [referer] => admin.php
    [form_token] => 84010d8fc5d32f31a0a1feb9d6bdd893
    [timestamp] => 1349775327
    [submit] => wyślij
)

==========================
COOKIE :
------------------
Array
(
    [cpg15x_data] => YTo1OntzOjI6IklEIjtzOjMyOiIyZWFjNTI1YzhiMGU2Y2ExOTdmN2JjNjZlY2IzYWRkNSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJwb2xpc2giO3M6NToibGl2X2EiO2E6Mzp7aTowO2k6MjY7aToxO2k6Mjc7aToyO2k6Mzc4O31zOjY6InNlYXJjaCI7YToyOntzOjY6InBhcmFtcyI7YTo0OntzOjU6InRpdGxlIjtzOjI6Im9uIjtzOjc6ImNhcHRpb24iO3M6Mjoib24iO3M6ODoia2V5d29yZHMiO3M6Mjoib24iO3M6NDoidHlwZSI7czozOiJBTkQiO31zOjY6InNlYXJjaCI7czo0OiJuaWtpIjt9fQ==
    [4b2dab495166aadbeef6482f6f021bb6] => 7553d32ec4d7d0df3254ca9b259c5e59
    [__utma] => 71931265.364185647.1349677470.1349702893.1349772217.5
    [__utmz] => 71931265.1349677470.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
    [__utmb] => 71931265.20.10.1349772217
    [__utmc] => 71931265
)

==========================
VERSION INFO :
------------------
PHP version        5.2.17     OK   
MySQL version      5.1.65-cll OK   
Coppermine version 1.5.12     stable

==========================
Module: GD
------------------
Exact version                    2.0.34                     
GD Version                       bundled (2.0.34 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                         
XPM Support                      1                         
XBM Support                      1                         
JIS-mapped Japanese Font Support                           

==========================
Key config settings
------------------
site_url             http://www.car-brochures.one.pl/             
charset              utf-8                                         
allow_private_albums 1                                             
cookie_name          cpg15x                                       
cookie_path          /                                             
impath               /usr/bin/                                     
lang                 polish                                       
main_page_layout     anycontent/breadcrumb/catlist/alblist/lastup,1
silly_safe_mode      0                                             
smtp_host            smtp.poczta.onet.pl:587                       
theme                chaoticsoul                                   
thumb_method         gd2                                           

==========================
Plugins
------------------
Name           Custom thumbnail                                         
Actions        page_start                                               
Filters        file_data                                               
--------------
Name           BBCode Control                                           
Actions        plugin_install, plugin_uninstall, plugin_cleanup         
Filters        admin_menu, bbcode, theme_add_comment, theme_edit_comment
--------------
Name           External Edit                                           
Actions        page_start, plugin_install, plugin_uninstall             
Filters        file_data                                               
--------------
Name           EnlargeIt!                                               
Actions        plugin_install, plugin_uninstall, page_start             
Filters        page_meta, theme_display_thumbnails_params, admin_menu   
--------------
Name           External tracker                                         
Actions        plugin_install, plugin_uninstall, plugin_cleanup         
Filters        gallery_footer, page_meta                               
--------------

==========================
Server restrictions
------------------
safe_mode                0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
safe_mode_exec_dir       /usr/local/php/bin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
safe_mode_gid            0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
safe_mode_include_dir                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
sql.safe_mode                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
disable_functions        exec,passthru,shell_exec,popen,proc_close,proc_get_status,proc_nice,proc_open,chown,chgrp,escapeshellcmd,escapeshellarg,show_source,posix_mkfifo,get_current_user,getmyuid,posix_setuid,posix_setsid,posix_setpgid,posix_setpgid,posix_kill,apache_child_terminate,leak,virtual,pclose,read,system,passthru,shell_exec,popen,proc_close,proc_get_status,proc_nice,proc_open,chown,chgrp,escapeshellcmd,escapeshellarg,show_source,posix_mkfifo,get_current_user,getmyuid,posix_setuid,posix_setsid,posix_setpgid,posix_setpgid,posix_kill,apache_child_terminate,leak,virtual,pclose,read,passthru,shell_exec,system,popen,proc_open,proc_close
file_uploads             1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
include_path             .:/usr/lib/php:/usr/local/lib/php                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
open_basedir             /home/qba:/usr/lib/php:/usr/local/lib/php:/tmp                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
allow_url_fopen          1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
max_execution_time       30                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
max_input_time           60                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
upload_max_filesize      20M                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
post_max_size            20M                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
memory_limit             64M                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
suhosin.post.max_vars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
suhosin.request.max_vars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               


==========================
Page (performance)
------------------
Parameter        Current  Peak   
Memory usage     1.49 MiB 1.58 MiB
Page generation  1139 ms  1139 ms
Page query time  71 ms    71 ms   
Page query count 22       22     


==========================
               
Title: Re: Failed to send email. Please try again later
Post by: Αndré on October 09, 2012, 11:53:36 am
Quote
<!--Coppermine Photo Gallery 1.5.12 (stable)-->

Please upgrade to the latest stable release (currently cpg1.5.20). If it still doesn't work, please start a new thread.
Title: Re: Failed to send email. Please try again later
Post by: qba on October 09, 2012, 12:04:48 pm
OK thanks for this time.
When I upgrade I check situation