[SOLVED] Html blob does not exist

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
rfuste
Forum Members
Forum Members
Posts: 50
Joined: Wed Jun 07, 2006 7:56 pm

[SOLVED] Html blob does not exist

Post by rfuste »

Hello,

I've attempted searches on both the forum and straight-out google without much success - hardly any entries with this issue.

I recently upgraded a client from an older version of CMSMS (from 1.5 to 1.11) and everything seemed to work fine. Now, for some reason, several key parts of his site are missing (all driven from global_content parts) and I'm pretty I would have caught this when finishing the upgrade.

When I check the database table cmsmadesimple_htmlblobs, the blobs still have the proper html content in them (I also verified this first by using the regular CMSMS admin interface, but thought I'd see if it's truly there in the DB).

I'm inserting the html blobs with the {global_content name='myblob'} tag and running CMSMS 1.11, MYSQL 5, php 5.4, and hosted on 1&1.

Anybody seen this issue before? What troubleshooting steps should I take next? Any info I failed to include to help assess?

Thank you so much!

Robert
Last edited by rfuste on Fri Mar 15, 2013 6:44 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Html blog does not exist

Post by Rolf »

Tried to Clear cache?

Rolf


Ps. And only use letters and numbers in the name!
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Html blob does not exist

Post by staartmees »

Perhaps those GCB's don't work anymore due to syntaxproblems?
rfuste
Forum Members
Forum Members
Posts: 50
Joined: Wed Jun 07, 2006 7:56 pm

Re: Html blog does not exist

Post by rfuste »

Rolf wrote:Tried to Clear cache?

Rolf


Ps. And only use letters and numbers in the name!
Hello Rolf,

I'm afraid I'm not exactly sure what you're referring to when you suggest to clear cache. I know that I used to be able to clear server cache through the CMSMS admin global settings, but I don't see that option anymore in the 1.11 version. And I also use a hard refresh (shift + command + R on mac) as my default refresh when working in any browser.

Is there another cache option I should be aware of and try out?

Thanks for your help!

Robert

P.S. I also wasn't sure what you were referring to in your p.s. about only using numbers and letter in name... what name did you mean?
rfuste
Forum Members
Forum Members
Posts: 50
Joined: Wed Jun 07, 2006 7:56 pm

Re: Html blob does not exist

Post by rfuste »

staartmees wrote:Perhaps those GCB's don't work anymore due to syntaxproblems?
Hello!

The GCB tags are entered in my templates as instructed by the latest tag instructions. In my case, they are {global_content name='newsletter'} and {global_content name='footer'} and have worked fine ever since I upgraded their syntax a few CMS version ago.

I have little experience in programming, so if there's other syntax issues I'm missing, please let me know. Here's an example of my syntax within the template:

Code: Select all

<div id="footer">
		<div id="credits">
			{global_content name='credits'}</div>
		<div id="contact">
			{global_content name='contact'}</div>
	</div>
Thank you for your help!

Robert
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Html blob does not exist

Post by staartmees »

The syntax used in the template is correct but is the syntax used in the GCB's correct?
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Html blob does not exist

Post by paulbaker »

To clear cache go to Site Admin -> System Maintenance -> Cache and content tab -> Clear cache button. It is hidden away compared to older versions. :)

I believe GCBs can now only have simple names as described above.

Syntax referred to is syntax within the GCB; if they contain just HTML then it won't be that. If they contain more than HTML then maybe post your most complicated looking one.
rfuste
Forum Members
Forum Members
Posts: 50
Joined: Wed Jun 07, 2006 7:56 pm

SOLVED: Html blob does not exist

Post by rfuste »

paulbaker wrote:To clear cache go to Site Admin -> System Maintenance -> Cache and content tab -> Clear cache button. It is hidden away compared to older versions. :)
Good to know - thanks for that tip!
paulbaker wrote:I believe GCBs can now only have simple names as described above.

Syntax referred to is syntax within the GCB; if they contain just HTML then it won't be that. If they contain more than HTML then maybe post your most complicated looking one.
Aah, I see. What threw me off is that 5 out of the 6 GCB's I have are literally plain text and therefore assumed it was fundimentally an issue with my template syntax or some other larger-scale issue. Once I removed the javascript snippet from my one GCB, the issue got fixed and all the GCB's showed up. Not sure why they would all fail instead of only the ones with "bad" syntax, but oh well, there must be a good reason and it's now fixed.

Thank you both so much for your help in this!

Robert
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: [SOLVED] Html blob does not exist

Post by Rolf »

Just wondering what that piece of Javascript was...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
rfuste
Forum Members
Forum Members
Posts: 50
Joined: Wed Jun 07, 2006 7:56 pm

Re: [SOLVED] Html blob does not exist

Post by rfuste »

Rolf wrote:Just wondering what that piece of Javascript was...
In case it helps:

Code: Select all

<__script__ type="text/javaScript">// <![CDATA[
document.write('<a href="mailto:doctorjay' + '@' + 'doctorjay.net" mce_href="mailto:doctorjay' + '@' + 'doctorjay.net">' + 'E-mail</a>')
// ]]></__script>
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: [SOLVED] Html blob does not exist

Post by Rolf »

When I use this code in my 1.11.4 website, it just works... Bummer, I hoped I could reproduce this problem now


Off-topic, simpler methode to hide mail address:

Code: Select all

{mailto address='foo@bar.com' encode='javascript' text="baz"}
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
rfuste
Forum Members
Forum Members
Posts: 50
Joined: Wed Jun 07, 2006 7:56 pm

Re: [SOLVED] Html blob does not exist

Post by rfuste »

Rolf wrote: Off-topic, simpler methode to hide mail address:

Code: Select all

{mailto address='foo@bar.com' encode='javascript' text="baz"}
Sorry that you couldn't reproduce the error - and thank you for the simpler email hide script, appreciate it!

Rob
Post Reply

Return to “CMSMS Core”