Page 1 of 2
[SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2
Posted: Mon Nov 12, 2007 6:28 pm
by orbon design
Hi everybody,
I've made a new install using CMSMS 1.2 and MLE1.2 on a Linux server (Apache 2.x, MySQL 5.0.x, PHP5.0.x).
Everything seems to work well as I can change regular pages, use tags (e.g. sitemap, search), change these for all languages (en, nl, de). All this works very very well!
However, I can not seem to change the footer in any of the languages: the 'en' footer is the standard footer and can not be changed, the 'nl' and 'de' footers seem to be empty because they don't show up in the 'nl' or 'de' pages.
I can edit the pages using the normal routine, but when I press 'submit', I receive the following error:
Fatal error: Call to a member function Id() on a non-object in /home/.sites/79/site339/web/modules/Archiver/Archiver.module.php on line 309
Does anybody have any idea what can be wrong, and what I can do to fix the problem?
Thanks in advance!
Roy (NL)
Re: Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2
Posted: Mon Nov 12, 2007 8:49 pm
by DennisR
I had the same problem with a previous version and I remember reading that if you want to change your global content blocks, you've to uninstall the Archiver. Once you've edited and saved your Global Content Blocks, you can install Archiver again, but you've lost all the archives that way, so back up before you do anything... There's a bug somewhere but no one has fixed it yet.
Dennis
Re: Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2
Posted: Mon Nov 12, 2007 8:54 pm
by alby
Lacertus wrote:
I've made a new install using CMSMS 1.2 and MLE1.2 on a Linux server (Apache 2.x, MySQL 5.0.x, PHP5.0.x).
Everything seems to work well as I can change regular pages, use tags (e.g. sitemap, search), change these for all languages (en, nl, de). All this works very very well!
However, I can not seem to change the footer in any of the languages: the 'en' footer is the standard footer and can not be changed, the 'nl' and 'de' footers seem to be empty because they don't show up in the 'nl' or 'de' pages.
I can edit the pages using the normal routine, but when I press 'submit', I receive the following error:
Code: Select all
Fatal error: Call to a member function Id() on a non-object in /home/.sites/79/site339/web/modules/Archiver/Archiver.module.php on line 309
Does anybody have any idea what can be wrong, and what I can do to fix the problem?
I see an
other that have same problem.
I don't use Archiver module but I will try to give a ....
Alby
...
Posted: Fri Nov 23, 2007 2:43 pm
by orbon design
DennisR wrote:
I had the same problem with a previous version and I remember reading that if you want to change your global content blocks, you've to uninstall the Archiver. Once you've edited and saved your Global Content Blocks, you can install Archiver again, but you've lost all the archives that way, so back up before you do anything... There's a bug somewhere but no one has fixed it yet.
Dennis
Hi Dennis,
I've tried this and it works like a charme! Thank you!
I haven't tried to reinstall the Archiver module yet, but I might just leave it like it is until v2.x...
Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2
Posted: Thu Jun 18, 2009 10:37 am
by dermatze
I am experiencing the same problem
I have installed the 1.5.4b MLE and followed all the instructions. The site works fine apart from the footer error. It says
string(61) "Smarty error: unable to read resource: "globalcontent:footer""
In addition, I cannot edit any globale content, for it is not shown in the admin section.
But I haven't the Archiver module installed.
Has anyone got an idea why with is so? Anyone got a solution for the problem?
Thanks in advance, Mat.
Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2
Posted: Thu Jun 18, 2009 12:35 pm
by alby
dermatze wrote:
I am experiencing the same problem
I have installed the 1.5.4b MLE and followed all the instructions. The site works fine apart from the footer error. It says
string(61) "Smarty error: unable to read resource: "globalcontent:footer""
In addition, I cannot edit any globale content, for it is not shown in the admin section.
But I haven't the Archiver module installed.
Has anyone got an idea why with is so? Anyone got a solution for the problem?
Go in Admin Global Content
Create new GCB footer-$lang for
every your languages (ex: footer-en_US, footer-it_IT, footer-de_DE)
In your template add red part: {global_content name="footer
-$lang"}
Alby
Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2
Posted: Thu Jun 18, 2009 3:29 pm
by dermatze
I have applied changes to the templates and it seems to work because the error message has changed. But when I want to add a new GCB, CMSMS only returns an error
There was an error inserting the Global Content Block
As I cannot access anymore: Can you perhaps send me the default footer template?
Thanks once again for your kind help.
Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2
Posted: Thu Jun 18, 2009 3:34 pm
by alby
dermatze wrote:
I have applied changes to the templates and it seems to work because the error message has changed. But when I want to add a new GCB, CMSMS only returns an error
There was an error inserting the Global Content Block
As I cannot access anymore: Can you perhaps send me the default footer template?
Thanks once again for your kind help.
Question: have you done something to htmlblobs table ?
Alby
Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2
Posted: Thu Jun 18, 2009 3:42 pm
by dermatze
Yes, my table looks like this:
Or is there anything else that I should have done to it?
Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2
Posted: Thu Jun 18, 2009 7:52 pm
by dermatze
sorry, looks like the image has gone somehow.
You can access the screenshot via
www.skonka.net/images/clipboard02.jpg
Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2
Posted: Thu Jun 18, 2009 8:07 pm
by alby
Have you read README.FIRST file?
Have you read
Announce?
you had to use 1.5.4 and not 1.5.4b (without modification of htmlblobs table)
now create a field in htmlblobs table: html - text type
and add new GCB: footer-en_US and footer-de_DE
Alby
Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2
Posted: Thu Jun 18, 2009 8:22 pm
by dermatze
Oh yeah! It works fine now. Great.
Thanks very very much.
What is the default content of the footer? This would help me a lot, since my web site orients to the default design a bit.
Now I only need to solve the issue about the flags and I'm done.
1000 thanks to you.
Btw ... I have read the readme.first and all the docs they don't say I should keep the old html entry in the htmlblobs.
Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2
Posted: Thu Jun 18, 2009 8:33 pm
by alby
dermatze wrote:
Btw ... I have read the readme.first and all the docs they don't say I should keep the old html entry in the htmlblobs.
True, but it's advice (README.FIRST add new field and not rename) but in this case is NECESSARY because there is not more multilang support for GCB (you can drop html_en and html_de fields)
Alby
Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2
Posted: Thu Jul 09, 2009 1:41 pm
by gjr
Hi Alby
We are experiencing the same problems. How should we update the cms_htmlblob table. How does the structure look like?
now create a field in htmlblobs table: html - text type
and add new GCB: footer-en_US and footer-de_DE
How does that look?
We upgrade to 1.6 btw!
Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2
Posted: Thu Jul 09, 2009 2:39 pm
by alby
gjr wrote:
We upgrade to 1.6 btw!
In 1.6 you don't touch DB.
Go in Admin Global Settings > MLE languages and update
Alby