[SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
orbon design

[SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2

Post 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)
Last edited by orbon design on Fri Nov 23, 2007 2:45 pm, edited 1 time in total.
DennisR

Re: Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2

Post 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
alby

Re: Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2

Post 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
orbon design

...

Post 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...
dermatze
Forum Members
Forum Members
Posts: 10
Joined: Sun Jun 07, 2009 10:30 pm

Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2

Post 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.
alby

Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2

Post 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
dermatze
Forum Members
Forum Members
Posts: 10
Joined: Sun Jun 07, 2009 10:30 pm

Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2

Post 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.
alby

Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2

Post 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
dermatze
Forum Members
Forum Members
Posts: 10
Joined: Sun Jun 07, 2009 10:30 pm

Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2

Post by dermatze »

Yes, my table looks like this:

Image

Or is there anything else that I should have done to it?
dermatze
Forum Members
Forum Members
Posts: 10
Joined: Sun Jun 07, 2009 10:30 pm

Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2

Post by dermatze »

sorry, looks like the image has gone somehow.

You can access the screenshot via

www.skonka.net/images/clipboard02.jpg
alby

Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2

Post 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
dermatze
Forum Members
Forum Members
Posts: 10
Joined: Sun Jun 07, 2009 10:30 pm

Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2

Post 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.
alby

Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2

Post 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
gjr
Forum Members
Forum Members
Posts: 42
Joined: Wed Jun 11, 2008 11:21 am

Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2

Post 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!
Last edited by gjr on Thu Jul 09, 2009 1:56 pm, edited 1 time in total.
alby

Re: [SOLVED]Can't change footer due to Archiver error, using CMSMS 1.2 and MLE1.2

Post 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
Locked

Return to “[locked] CMSMS MLE fork”