Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-02-23 13:50:52

gaza
Member
Registered: 2004-11-22
Posts: 29
Website

Help! Allowed memory size exhausted

CanaldeVideos.com is showing me this error all the time:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 50 bytes) in /var/www/vhosts/canaldevideos.com/httpdocs/textpattern/lib/txplib_misc.php on line 154

And it happens on different pages…

what is this?

thanks,

Here’s my high diagnostics:

Versión de Textpattern: 4.0.4 (r1956)
Última actualización: 2006-12-14 17:44:43/2007-02-10 02:24:12
Document root: /var/www/vhosts/canaldevideos.com/httpdocs
$path_to_site: /var/www/vhosts/canaldevideos.com/httpdocs
Path a Textpattern: /var/www/vhosts/canaldevideos.com/httpdocs/textpattern
Modo de enlace permanente: section_id_title
open_basedir: /var/www/vhosts/canaldevideos.com/httpdocs:/tmp
Directorio temporal: /var/www/vhosts/canaldevideos.com/httpdocs/textpattern/tmp
URL del sitio: www.canaldevideos.com
Versión de PHP: 4.3.9
Tiempo Local del Servidor: 2007-02-23 06:52:07
MySQL: 4.1.20
Local: es_ES.UTF-8
Servidor: Apache/2.0.52 (CentOS)
Versión de Apache: Apache/2.0.52 (CentOS)
PHP Server API: apache2handler
Cabeceras RFC 2616:
Sistema Operativo del servidor: Linux 2.6.9-42.0.3.ELsmp
Plugins Activos: ako_youtube-0.2.1m, zem_contact_reborn-4.0.3.18, zem_contact_lang-4.0.3.5m, pap_contact_cleaner-0.1, rsx_page_number, rsx_last_page_num, rsx_page_number_nav, rsx_pag-3.0.1, rss_if_search_results-0.1, asy_jpcache-0.9.8

Comprobación previa:
————————————
Algunos archivos de Textpattern han sido modificados: /include/txp_file.php, /publish/taghandlers.php
————————————

Contenidos del archivo .htaccess:
————————————
DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php </IfModule>

#php_value register_globals 0
————————————

Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: latin1
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/share/mysql/charsets/
17 Tables: -

Extensiones de PHP: yp, xml, wddx, tokenizer/0.1, sysvshm, sysvsem, standard/4.3.9, sockets, shmop, session, pspell, posix, pcre, overload, mime_magic/0.1, iconv, gmp, gettext, ftp, exif/1.4 $Id: exif.c,v 1.118.2.35 2005/03/05 18:30:47 rasmus Exp $, dio/0.1, dbx, dba, curl, ctype, calendar, bz2, bcmath, zlib/1.1, openssl, apache2handler, domxml/20020815, gd, imap, ldap, mbstring, mysql, sitebuilder/1.0.1, zip, ionCube Loader

Módulos de Apache: core, prefork, http_core, mod_so, mod_access, mod_auth, mod_auth_anon, mod_auth_dbm, mod_auth_digest, util_ldap, mod_auth_ldap, mod_include, mod_log_config, mod_env, mod_cern_meta, mod_expires, mod_deflate, mod_headers, mod_usertrack, mod_setenvif, mod_mime, mod_dav, mod_status, mod_autoindex, mod_asis, mod_info, mod_dav_fs, mod_vhost_alias, mod_negotiation, mod_dir, mod_imap, mod_actions, mod_speling, mod_userdir, mod_alias, mod_rewrite, mod_proxy, proxy_ftp, proxy_http, proxy_connect, mod_cache, mod_suexec, mod_disk_cache, mod_file_cache, mod_mem_cache, mod_cgi, mod_logio, mod_fpcgid, mod_auth_mysql, mod_perl, sapi_apache2, mod_python, mod_ssl

pretext_data: array ( ‘id’ => ‘’, ‘s’ => ‘’, ‘c’ => ‘’, ‘q’ => ‘’, ‘pg’ => ‘’, ‘p’ => ‘’, ‘month’ => ‘’, ‘author’ => ‘’, ‘request_uri’ => ‘/d8ab4487f8ac0d7382affb285e2e0c3e/?txpcleantest=1’, ‘qs’ => ‘txpcleantest=1’, ‘subpath’ => ‘\\/’, ‘req’ => ‘/d8ab4487f8ac0d7382affb285e2e0c3e/?txpcleantest=1’,
)

/include/txp_category.php: r1879 (aee777474b2f67ca07fc25756ba25c15)
/include/txp_plugin.php: r1917 (74184c0d8ed8608f840707a255178617)
/include/txp_auth.php: r1879 (b1dd4072b7daf4e997c6ff65ce3d1b2d)
/include/txp_form.php: r1913 (16ec600b41438b4cca10d2c8a19b2db8)
/include/txp_section.php: r1891 (2959593586ba3e97bc602f369c32e738)
/include/txp_tag.php: r1915 (3b4a7f73d92f9bbbe09985c5aa830d29)
/include/txp_list.php: r1892 (41f4d32fd070234b78f94adefebd5234)
/include/txp_page.php: r1913 (34331a5468bbb18dd9f6a282f3aa11e8)
/include/txp_discuss.php: r1909 (9b9ee934a30f52cd7a4d8cb45c8380ab)
/include/txp_prefs.php: r1946 (05615b6275d8927a2a0d51918d70a896)
/include/txp_log.php: r1919 (ed54d02e865319f2506c642a6bde768b)
/include/txp_preview.php: r1238 (5a4ae3ff0d68f4cb573d6d62a00ce9e8)
/include/txp_image.php: r1955 (20be975e67fa7c4aa9a1a3e51bfaf379)
/include/txp_article.php: r1889 (7749f699c03d0c57e04fafe17dbfa94c)
/include/txp_css.php: r1897 (f5cf1c20badb96a063c7c180e9020359)
/include/txp_admin.php: r1879 (d36dac010d21df7bcf9cf5e242b34d58)
/include/txp_link.php: r1879 (0652287df8bb32c66cfa1b939402404a)
/include/txp_diag.php: r1902 (96697ade63048e517177f4129d47de76)
/include/txp_file.php: r1895 (c7c1890b71b23d876a7023b287073c06)
/include/txp_import.php: r1238 (634e75d1b61958875ff275e3130f23ad)
/lib/admin_config.php: r1747 (1563fcbaffe25b3272b0d85ff9d5571d)
/lib/txplib_misc.php: r1956 (182c50b86195f1abe9dbe15728df3cae)
/lib/taglib.php: r1535 (04806ef864d5b0d2974e0e5f6397a2d7)
/lib/txplib_head.php: r1887 (b110efd071e9a5bb395beea66ced128a)
/lib/classTextile.php: r1943 (2c559991e34738eef1990dc079bd91c4)
/lib/txplib_html.php: r1937 (c206ca9cb9a54a7a95f3355b77fd0fa2)
/lib/txplib_db.php: r1879 (d68b6ea69950e405c4fec23b8641d9c2)
/lib/IXRClass.php: r765 (cbe59b59246dce060a4b4a52b4d448d8)
/lib/txplib_forms.php: r1887 (0049a228dc8eb346f8603478a7c1b2e2)
/lib/class.thumb.php: r1955 (12961180eee3add5096e69e0a154284e)
/lib/constants.php: unknown (0e40251c717c52b2b7fe992b62a3e97a)
/lib/txplib_update.php: r1239 (757f8189fcc53a795d7c807f17b2e788)
/lib/txplib_wrapper.php: unknown (584448787b4a3488200722672c0eee0d)
/publish/taghandlers.php: unknown (42f621ba6099a81dcff8edf3c96c4adb)
/publish/atom.php: r1864 (50602e2f1c443819a0a60f14f39d3093)
/publish/log.php: r1637 (a4a772567079f18101a1752446f3f6d4)
/publish/comment.php: r1951 (a3f803d744fea80808eb27a3f6b28674)
/publish/search.php: r1748 (b0182abc287055fe0932c263b2a5266d)
/publish/rss.php: r1864 (ae43eaa9ebe6b00e63810ae60ca7c6b6)
/publish.php: r1945 (abff727405efc6c4ec8b1cb403290063)
/index.php: r1948 (adf86f44861797f4969373c708ef48fb)
/css.php: r944 (763fa7658fc19ad23a5b2126fcdf366c)

Gaston

Last edited by gaza (2007-02-23 13:55:15)

Offline

#2 2007-02-24 02:16:09

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Help! Allowed memory size exhausted

It means something is sucking the life out of your memory allocation.

FAQ: Fatal error: Allowed memory size..

Offline

#3 2007-02-24 15:33:57

adnanoner
Member
Registered: 2007-01-01
Posts: 20

Re: Help! Allowed memory size exhausted

Hi,

I’m also having this problem. I have disabled all plugins and it still doesn’t work. I even tried setting the memory limit to 64M in php!
This is the code on my searchpage:
<txp:if_search>
<h3>Search results</h3>
<txp:article limit=25 pgonly=1 />
<txp:search_result_count />
<txp:article limit=25 />
</txp:if_search>

Any idea’s?

Last edited by adnanoner (2007-02-24 15:34:17)

Offline

#4 2007-02-24 15:49:50

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Help! Allowed memory size exhausted

adnanoner, does this only happen on your search page?

Have you tried quoting all attribute values (I’m not sure how the parser deals with unquoted attribute values):

<txp:if_search>
<h3>Search results</h3>
<txp:article limit="25" pgonly="1" />
<txp:search_result_count />
<txp:article limit="25" />
</txp:if_search>

Offline

Board footer

Powered by FluxBB