Gallery URL = http://www.michelemontonati.net/_foto/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.5 cgi-fcgi
Webserver = Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.8b DAV/2 PHP/5.2.11
Database = mysqli 4.1.23-pro-gpl-log, lock.system=flock
Toolkits = Exif, Getid3, Gd, Thumbnail, ImageMagick, NetPBM, ArchiveUpload
Acceleration = partial/900, partial/900
Operating system = Linux opus28 2.6.20.1 #2 SMP Mon Oct 20 18:21:27 CEST 2008 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; it; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
Rows in GalleryAccessMap table = 6
Rows in GalleryAccessSubscriberMap table = 907
Rows in GalleryUser table = 5
Rows in GalleryItem table = 900
Rows in GalleryAlbumItem table = 20
Rows in GalleryCacheMap table = 14
Just installed latest release of Gallery2 and mail seems not working (preventing users from registration)
I saw it's a known issue and there are lots of posts on this, but I couldn't solve my problem yet.
Any help please?
Following error message:
Error (ERROR_UNKNOWN) : Could not send mail to
* in modules/core/classes/helpers/MailHelper_simple.class at line 93 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 2844 (MailHelper_simple::sendTemplatedEmail)
* in modules/core/AdminCore.inc at line 172 (GalleryCoreApi::sendTemplatedEmail)
* in main.php at line 250 (AdminCoreController::handleRequest)
* in main.php at line 104
* in main.php at line 88
getParameter smarty.compile_check for core plugin
file_exists(/_foto/g2data/cache/module/core/0/0/0.inc)
(mysqli):
SELECT
g2_PluginParameterMap.g_itemId,
g2_PluginParameterMap.g_parameterName,
g2_PluginParameterMap.g_parameterValue
FROM
g2_PluginParameterMap
WHERE
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_pluginId = 'core'
AND
g2_PluginParameterMap.g_itemId = 0
file_exists(/_foto/g2data/cache/module/core/0/0)
is_dir(/_foto/g2data/cache/module/core/0/0)
file_exists(/_foto/g2data/cache/module/core/0/0)
is_dir(/_foto/g2data/cache/module/core/0/0)
rename(/_foto/g2data/cache/module/core/0/0/0.inc7DGOW1,
/_foto/g2data/cache/module/core/0/0/0.inc)
getParameter id.rootAlbum for core plugin
file_exists(/_foto/g2data/cache/entity/0/0/7.inc)
Loading plugin map
Class not defined, trying to include it.
file_exists(/_foto/modules/map/module.inc)
map plugin successfully instantiated
Loading plugin tags
Class not defined, trying to include it.
file_exists(/_foto/modules/tags/module.inc)
tags plugin successfully instantiated
Loading plugin userinfo
Class not defined, trying to include it.
file_exists(/_foto/modules/userinfo/module.inc)
userinfo plugin successfully instantiated
getParameter default.theme for core plugin
Loading plugin matrix
Class not defined, trying to include it.
file_exists(/_foto/themes/matrix/theme.inc)
matrix plugin successfully instantiated
Check the version of the matrix plugin
file_exists(/_foto/g2data/cache/theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
The version of the matrix plugin is ok
file_exists(/_foto/g2data/smarty/templates_c/%%1499233234/matrix)
is_dir(/_foto/g2data/smarty/templates_c/%%1499233234/matrix)
file_exists(/_foto/g2data/smarty/templates_c/%%1499233234/matrix)
is_writeable(/_foto/g2data/smarty/templates_c/%%1499233234/matrix)
file_exists(/_foto/g2data/smarty/templates_c/%%1499233234/matrix/v_14)
getParameter smtp.from for core plugin
mail(michelemontonati@gmail.com, Gallery Email Test, This is a test email
from Gallery2, Date: Fri, 13 Nov 2009 16:21:32 +0100
From:
Content-Type: text/plain; charset="utf-8"
)
realpath(/_foto/modules/core/classes/../../../)
realpath(/_foto/)
smtpmail error: Error (ERROR_PLATFORM_FAILURE) : Couldn't get mail server
response code in lib/smtp/smtp.php at line 27
(GalleryCoreApi::error)
in lib/smtp/smtp.php at line 75
in modules/core/classes/GalleryPlatform.class at line 1001
in modules/core/classes/helpers/MailHelper_simple.class at
line 90 (GalleryPlatform::mail)
in modules/core/classes/GalleryCoreApi.class at line 2844
(MailHelper_simple::sendTemplatedEmail)
in modules/core/AdminCore.inc at line 172
(GalleryCoreApi::sendTemplatedEmail)
in main.php at line 250 (AdminCoreController::handleRequest)
in main.php at line 104
in main.php at line 88
Posts: 3868
I don't believe there are any known issues, other than people setting the wrong configurations in G2 and/or php.
What have you entered in the Email settings of the main admin page?
Posts: 11
Server: localhost
Usernamr: blank
Password: blank
SMTP From:
(a real mail I have setup on my domain)
Posts: 3868
Is that server running a mail relay on port 25?
Posts: 11
Actually is on port 995 with SSL connection
Posts: 3868
How are you expecting Gallery to be able to send mail to that port?
Gallery2 doesn't support sending email over SSL.
You can hack it though: see http://gallery.menalto.com/node/85423#comment-299616
You will need to make an appropriate entry in the server setting though, something like
tls://localhost|995Posts: 11
Ok,
I have change to have a non SSL mail
Server:localhost
SMTP:
same problem
Posts: 3868
does localhost have a mail relay running on port 25?
Posts: 11
Yes,
but I even tried with:
Server: pop.micelemontonati.net
USername:
Password: *******
SMTP:
which is the actual configuration for my mail but it seems not working
Posts: 3868
That clearly won't work; you need an SMTP server not a POP3 server.
have you tried leaving the server/username/password blank - which uses the php mail configuration automatically? That's always the easiest way.
Posts: 11
Yep,
but without positive results...
Posts: 3868
Talk to your host; ask them to configure php to send mail to one of their mailservers.
Alternatively, ask your hosting provider which SMTP server they recommend you use and configure the fully-qualified domain name of it in the server box.