Html blob 'global_content_block_x' does not exist (reborn)

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jpcarvalhinho1
Forum Members
Forum Members
Posts: 13
Joined: Tue Sep 23, 2014 3:28 pm

Html blob 'global_content_block_x' does not exist (reborn)

Post by jpcarvalhinho1 »

Following this (closed meanwhile):
http://forum.cmsmadesimple.org/viewtopi ... 8&start=45


This is also happening to me. I don't have CGSmartimage installed.
Having to clean cache two or more times a day...

Have implemented this also
http://stackoverflow.com/a/13276808/1004312

With no success...


My settings:

URL: http://www.apdsi.pt
Versão do CMS 1.11.10
Versão PHP (phpversion)  5.4.4-14+deb7u2
Versão da Base de Dados no Servidor (server_db_version) 5.1.63
Software do Servidor (server_software) apache
Sistema Operacional do Servidor (server_os) linux 3.12.25-opus on x86_64
jpcarvalhinho1
Forum Members
Forum Members
Posts: 13
Joined: Tue Sep 23, 2014 3:28 pm

Re: Html blob 'global_content_block_x' does not exist (rebor

Post by jpcarvalhinho1 »

I have transferred all the blobs to the template, so it is getting harder to get.

Can't we put something in the end of the template that forceCloses all DB connections upon Successfully loading the page?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: Html blob 'global_content_block_x' does not exist (rebor

Post by Jo Morg »

We need far more data from your part than that, to be able to try to help. Click on "Before Asking For Help!" link on my SIG.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
jpcarvalhinho1
Forum Members
Forum Members
Posts: 13
Joined: Tue Sep 23, 2014 3:28 pm

Re: Html blob 'global_content_block_x' does not exist (rebor

Post by jpcarvalhinho1 »

Hi Jo... that seems to be the problem... I cannot give much more information...because everything is working fine, and after some time (sometimes an hour, sometimes a day) when I go to one of the news posts e.g.:

http://www.apdsi.pt/index.php/news/852/ ... -2014.html

The content obtained on the right side (after "Documentos Produzidos") isn't there...
But it happened everywhere. In a template without {news module} it happened with the GCB I was using for the footer...


The problem is exactly like all the problems described by tristan on the Other post I mention.

???From reading that post, it seems that FB/openGraph is hammering the database by requesting pages that aren't fully loaded hence the DB connections aren't beeing closed... ??? (My economics degree doesn't let me pass a certain extent :) )

I was wondering if there is some kind of mechanism that when a page loads, it resets all connnections to the database... like a persistent connection= 'NO' on the config file... or something like that...
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: Html blob 'global_content_block_x' does not exist (rebor

Post by Jo Morg »

Please post your System Info. There is an already forum formatted version too.
The closed topic was clearly an issue with CGSmartimage. This apparently is not.
And the link you posted is taking too long before it gives a Smarty error (btw: the error details are visible only to an administrator so we can't really see them).
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
jpcarvalhinho1
Forum Members
Forum Members
Posts: 13
Joined: Tue Sep 23, 2014 3:28 pm

Re: Html blob 'global_content_block_x' does not exist (rebor

Post by jpcarvalhinho1 »

Weird... it is working now... I did nothing...not even cleaning the cache


----------------------------------------------

Cms Version: 1.11.10

Installed Modules:

CMSMailer: 5.2.2
FileManager: 1.4.4
MenuManager: 1.8.6
ModuleManager: 1.5.5
News: 2.14.2
Printing: 1.1.2
Search: 1.7.11
ThemeManager: 1.1.8
TinyMCE: 2.9.12
CGExtensions: 1.42.2
JQueryTools: 1.2.6
CGSimpleSmarty: 1.7.4
CGContentUtils: 1.4.3
Captcha: 0.5.0
FrontEndUsers: 1.24.1
CGUserDirectory: 1.4.5
FCKeditorX: 1.1.0
RSS2HTML: 1.2.5.2
Glossary: 1.0
babel: 0.4.1
SelfRegistration: 1.8.2
CustomContent: 1.10
FormBuilder: 0.7.3
CMSPrinting: 1.0.5
SiteMapMadeSimple: 1.2.8

Config Information:

php_memory_limit:
process_whole_template:
max_upload_size: 10000000
url_rewriting: internal
page_extension: .html
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:

phpversion: 5.4.4-14+deb7u2
md5_function: On (Verdadeiro)
gd_version: 2
tempnam_function: On (Verdadeiro)
magic_quotes_runtime: Off (Falso)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 140M
max_execution_time: 60
output_buffering: On
safe_mode: Off (Falso)
file_uploads: On (Verdadeiro)
post_max_size: 40M
upload_max_filesize: 10M
session_save_path: /tmp (0777)
session_use_cookies: On (Verdadeiro)
xml_function: On (Verdadeiro)
xmlreader_class: On (Verdadeiro)

Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.1.63
Server Db Grants: Não foi possível encontrar uma permissão "GRANT ALL" adequada. Isto poderá significar que poderá ter problemas ao instalar ou remover módulos. Ou até mesmo ao adicionar e excluir itens, incluindo páginas
Server Time Diff: Não foi encontrada nenhuma diferença de tempo no filesystem

----------------------------------------------
jpcarvalhinho1
Forum Members
Forum Members
Posts: 13
Joined: Tue Sep 23, 2014 3:28 pm

Re: Html blob 'global_content_block_x' does not exist (rebor

Post by jpcarvalhinho1 »

Just switched all GCB calls for
{include file='globalcontent:nameofblock'}

...following Rolf's idea.

let's see what happens during the day... yesterday, it was the main page that was incomplete, and the fail to load the template you experienced. :|

I am betting that it can be the my provider's DB capacity that is overloading, but as this started happening when I updated the site's design and programmed the templates to depend on GCBs... Now I have an Administration pointing fingers and crying fowlplay :p.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: Html blob 'global_content_block_x' does not exist (rebor

Post by paulbaker »

Jo Morg wrote:The closed topic was clearly an issue with CGSmartimage.
The last few posts were indeed to do with CGSmartImage but some other sites posted earlier in the topic (like mine) with the same symptoms didn't have CGSmartImage installed, so that is not the answer to the problem.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: Html blob 'global_content_block_x' does not exist (rebor

Post by Jo Morg »

paulbaker wrote:The last few posts were indeed to do with CGSmartImage but some other sites posted earlier in the topic (like mine) with the same symptoms didn't have CGSmartImage installed, so that is not the answer to the problem.
That is IMO one more reason to have a new topic on the subject, as the original one was about 2 or more different problems. For a developer, that is the worst thing when trying to diagnose the causes of a problem. Problems wich may have similar symptoms but different causes need to be set apart. At least the ones caused by CGSmartImage got solved on that particular topic.
This one is different in that there is no CGSmartImage installed.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Post Reply

Return to “CMSMS Core”