Hello,
We are having trouble saving pages longer than 64K characters. Drupal seems to just chop off everything after the first 64K characters. Does anyone know what's going on? Why does this happen? How can I fix it? Is it a database problem? Should I change something in my database?
Cheers, Daniel.
I would have a look at the server log. You might probably running on some memory limit or something similar. Check your logs (Drupal and Apache) or report any error message you are able to find.
Hope this helps,
FV
Drupal says that my PHP memory size limit is 256MB. I just reproduced the error and I don't see anything on the Drupal log. I'm not sure how to get to the server logs on the cPanel. I found one error log that didn't contain anything about this issue.
:-(
Fabio Varesano wrote:
I would have a look at the server log. You might probably running on some memory limit or something similar. Check your logs (Drupal and Apache) or report any error message you are able to find.
Hope this helps,
FV
64k really sounds like you are hitting a MySQL text field limitation. Make sure body and teaser in node_revisions are set as longtext fields.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 1/20/2010 2:02 PM, Daniel Carrera wrote:
Drupal says that my PHP memory size limit is 256MB. I just reproduced the error and I don't see anything on the Drupal log. I'm not sure how to get to the server logs on the cPanel. I found one error log that didn't contain anything about this issue.
:-(
Fabio Varesano wrote:
I would have a look at the server log. You might probably running on some memory limit or something similar. Check your logs (Drupal and Apache) or report any error message you are able to find.
Hope this helps,
FV
Ok. I just checked.
Table: node_revisions
body - longtext - utf8_general_ci teaser - longtext - utf8_general_ci log - longtext - utf8_general_ci
So that's not it...
Does it make sense that PHP's size limit be 256 MB? That seems quite high. Especially for a shared hosting environment.
Daniel.
Jamie Holly wrote:
64k really sounds like you are hitting a MySQL text field limitation. Make sure body and teaser in node_revisions are set as longtext fields.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 1/20/2010 2:02 PM, Daniel Carrera wrote:
Drupal says that my PHP memory size limit is 256MB. I just reproduced the error and I don't see anything on the Drupal log. I'm not sure how to get to the server logs on the cPanel. I found one error log that didn't contain anything about this issue.
:-(
Fabio Varesano wrote:
I would have a look at the server log. You might probably running on some memory limit or something similar. Check your logs (Drupal and Apache) or report any error message you are able to find.
Hope this helps,
FV
Am 20.01.10 10:48, schrieb Daniel Carrera:
Hello,
We are having trouble saving pages longer than 64K characters. Drupal seems to just chop off everything after the first 64K characters. Does anyone know what's going on? Why does this happen? How can I fix it? Is it a database problem? Should I change something in my database?
Hm, a user of drupalcenter.de reported the same a few days ago. We tested with 72.000 words (!) and got no error (Drupal 6.15, Apache on Windows, Linux and Mac; memory_limit between 96MB and 128MB).
Did you look into watchdog if an entry about creating the new node has been logged?
Stefan Borchert wrote:
Hm, a user of drupalcenter.de reported the same a few days ago.
Ok, so it's not just me.
We tested with 72.000 words (!) and got no error (Drupal 6.15, Apache on Windows, Linux and Mac; memory_limit between 96MB and 128MB).
So it's probably a configuration issue (whether Apache, PHP, Drupal or MySQL, I don't know).
Did you look into watchdog if an entry about creating the new node has been logged?
What's watchdog?
Daniel.