Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2010-12-20 12:05:13
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Warning: Field 'l10n_caption_es_es'
I am not able to upload images on textpattern, I am getting this:
Warning: Field ‘l10n_caption_es_es’ doesn’t have a default value insert into txp_image set name = ‘cartel_posicion.jpg’, ext = ‘.jpg’, w = 1164, h = 794, alt = ‘’, caption = ‘’, category = ‘’, date = now(), author = ‘mlarino’ in E:\WebdeOceans\asesoria.com\Html\textpattern\lib\txplib_db.php on line 113
and txp cant send emails:
Warning: mail() [function.mail]: Failed to connect to mailserver at “localhost” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set() in E:\WebdeOceans\asesoria.com\Html\textpattern\lib\txplib_misc.php on line 1107
What can this be?
how can I fix this?
thanks!!!
Last edited by mlarino (2010-12-20 12:32:39)
Offline
Re: Warning: Field 'l10n_caption_es_es'
mlarino wrote:
Warning: Field ‘l10n_caption_es_es’ doesn’t have a default value
Most likely caused by MLP. MLP isn’t fully compatible with TXP 4.3.0. See the issue tracker.
Warning: mail() [function.mail]: Failed to connect to mailserver at “localhost” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set() in E:\WebdeOceans\asesoria.com\Html\textpattern\lib\txplib_misc.php on line 1107
You should tell PHP your server’s SMTP
, smtp_port
and sendmail_from
settings, as according the message, they are not configured. You can configure SMTP settings in your php.ini or defining corret settings by using ini_set()
in /textpattern/config.php
. For example you could define the settings in config.php, by placing there something like:
ini_set("SMTP","your-email-server-here.tld");
ini_set("smtp_port","Your-SMTP-Port-Here");
ini_set("sendmail_from","Your-sender-user@domain.tld");
If you have problems with the right configuration, you should ask the correct settings from your hosting provider.
Offline
#3 2010-12-20 14:58:09
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: Warning: Field 'l10n_caption_es_es'
Thanks Gocom, I just contacted the hosting to configure the smtp.
The problem with MLP… why should it block me from uploading images?
I am using TXP 4.2
Offline
Re: Warning: Field 'l10n_caption_es_es'
mlarino wrote:
The problem with MLP… why should it block me from uploading images?
Because, according the message, the field l10n_caption_es_es
doesn’t have default value, nor the query is trying to set a value for it, and your MySQL server isn’t happy with that. You probably could try to give the field, found in txp_image table, a default value. You could submit a issue to the tracker, or ask advices in MLP’s thread.
Offline
Pages: 1