Hi,
since I upgraded to 1.2.3 from a 1.1.x installation I had serious problems sending (bigger) mails with advMailer.
advmailer stores the mail fully serialized in its queue and passes the mail to the Mailer module later.
The mail get's stored into the database and I used Longtext before. Using blob helped in some cases (seems to be bigger than longtext) and using mysql's longblob type helped.
now the question: How can I tell the module advMailer that this row always should be longblob?
Is there a field type that is not limited in characters?
I just found B for type Blob but Blob is not enought...
I used advMailers for the newsletter for the last 10 months without problems. Have there been changes maybe in DButil that effects the storing of (really) long text?
Thanks for your help,
Flo
Edited by quan on Jul 03, 2010 - 01:27 PM.
--
ifs-net.de -- zksoft.de
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
blob, longblob, max length and adodb dictionary
-
- Rank: Developer
- Registered: May 07, 2006
- Last visit: May 28, 2010
- Posts: 124
-
- Rank: Software Foundation
- Registered: Jul 21, 2001
- Last visit: May 31, 2010
- Posts: 624
You need XL or X2.
Regards,
Drak
--
Zikula Lead Developer
Board Member of the Zikula Foundation
Follow me on twitter.com/zikuladrak -
- Rank: Developer
- Registered: May 07, 2006
- Last visit: May 28, 2010
- Posts: 124
As I wrote I took XL as default for this module and the table row.
XL seems to be limited (to I don't know how many characters) and did not work correctly.
from the web:
Quote
X2: Multibyte varchar (largest size)
What then is the limit of X2?
Flo
--
ifs-net.de -- zksoft.de -
- Rank: Team Member
- Registered: Jun 10, 2008
- Last visit: May 24, 2010
- Posts: 43
quan
What then is the limit of X2?
Depends on the database system you are using, but I assume like most you are on MySQL.
X2 translates to LONGTEXT which can handle up to 2^32 bytes (not necessarily chars, since Unicode is multibyte)
Curiously, XL also translates to LONGTEXT, so you should have had the same result with either.
B is LONGBLOB, same size but the data is treated as pure binary data instead of handled like character data (unicode multibyte character meanings are lost).
You can look at MySQL 5.1 Data Storage Requirements (or MySQL 5.0 Data Storage Requirements, but they are essentially the same), and decipher the maximum size by the formulae they give for storage requirements.
(Note that in 1.3 we are switching to Doctrine for DB services, so the translation might or might not change. The above is based on ADODB used in 1.2.x.)
--
- Robert


- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
