Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $65.00
Net Balance: $61.80
Left to go: $38.20

Donations
studioC  ($25)May-17
Anonymous ($15)May-16
Anonymous ($25)May-4

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

2 2.5 2.6 3.0 2013 Abuse AntiHarvesting AntiMalUser AntiSpam API Attack Australia Balancing Ban Beats billige black Blocks blue Captcha cell Christmas chronolabs Cloud content Conversion dating demo docek download Dresses editor evden eve facebook familia Federated floor free Friendica Gateway Google herre Honeypot Human Invoice IP IPLog jQuery JSON kantor lamps List log logger Logging mobile module modules Monster MyAlbum-p newbb news online PageRank Permissions pink Plugin portal Prevention profile project Protector publisher release Rights rmcommon Room sale security SERIAL Server site Smarty Spam stem Studio svn tag tags tdmcreate Theme themes userlog website Whitepaper xoops Xortify xthemes ZendFramework

New Users

Registering user

# 136012

carrie123

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  Register To Post

(1) 2 3 »


#1 Posted on: 2008/10/22 14:52 Content of all custom blocks has disappeared - titles still present.
Yesterday I had custom blocks with content. Today I have custom blocks with just titles, no content.
I have been experimenting with different themes and re-loaded some files into the xoops_data and xoops_lib after running the checksum.php.

I haven't touched the database. Each time I think I'm ready to upgrade the production site, I run into another little glitch.

Any ideas?


* XOOPS Version: XOOPS 2.3.1
* PHP Version: 4.4.4
* MySQL Version: 4.1.22-standard
* Server API Version: cgi
* OS Version: Linux
* safe_mode: Off
* register_globals: On
* magic_quotes_gpc: On
* allow_url_fopen: On
* fsockopen: On
* allow_call_time_pass_reference: On
* post_max_size: 64M
* max_input_time: 100
* output_buffering:
* max_execution_time: 100
* memory_limit:
* file_uploads: On
* upload_max_filesize: 64M



Top


Optimism is the mother of disappointment.
GPboarder
Friend of XOOPS
Friend of XOOPS
Joined:
2006/10/5 21:53
From Ontario, Canada
Group:
Registered Users
Posts: 245
(Show More) (Show Less)


#2 Posted on: 2008/11/25 10:10 Re: Content of all custom blocks has disappeared - titles still present.
You're not the only one, I had the same problem. Since I only use 3 custom blocks I just restored the content of the blocks from a DB backup, but that's ofcourse no real solution.

Top

melgior
Just popping in
Just popping in
Joined:
2005/11/27 6:22
From The Netherlands
Group:
Registered Users
Posts: 3
(Show More) (Show Less)


#3 Posted on: 2008/11/25 10:19 Re: Content of all custom blocks has disappeared - titles still present.
Had similar problems. Morphogenesis based themes seem to bring them back to life... strange behavior though. I can only assume that something in 2.3.x doesn't agree with certain themes.

Top


Never let a man who does not believe something can be done, talk to a man that is doing it.
sailjapan
Moderator
Moderator
Joined:
2005/11/16 5:27
From Osaka
Group:
Registered Users
Posts: 1667
(Show More) (Show Less)


#4 Posted on: 2008/12/9 7:19 Re: Content of all custom blocks has disappeared - titles still present.
Any Solution? I've got a similar problem. This is since 2.0.10 version.

PD: my english sucks

Top

brau
Just popping in
Just popping in
Joined:
2008/12/9 7:01
Group:
Registered Users
Posts: 3
(Show More) (Show Less)


#5 Posted on: 2008/12/9 7:32 Re: Content of all custom blocks has disappeared - titles still present.
hi,

Same problem ... but in my case (Xoops 2.3.2b + morphogenesis 2.10) I have solved it by :
- delete all files presents in /xoops_data/caches/smarty_compile/
- delete my browsers historic



Top


Still learning CSS and... english
Burning
Theme Designer
Theme Designer
Joined:
2006/8/22 14:44
Group:
Registered Users
Repository Group
Posts: 1111
(Show More) (Show Less)


#6 Posted on: 2008/12/9 7:43 Re: Content of all custom blocks has disappeared - titles still present.
Thanks Burning...
I tried that solution, but don't work, I tried with all themes(default, zetagenesis, 7dana-rojo) but the problem persists.



Top

brau
Just popping in
Just popping in
Joined:
2008/12/9 7:01
Group:
Registered Users
Posts: 3
(Show More) (Show Less)


#7 Posted on: 2008/12/9 22:23 Re: Content of all custom blocks has disappeared - titles still present.
Now it works!

I'm using 2.3.2b version, I modified line 141 in /class/theme_blocks.php

Before:
$block['content'] = $template->fetch$tplName$cacheid );


After:
if($tplName == 'db:system_block_dummy.html') {
    
$block['content'] = $xobject->getContent("S",$xobject->getVar("c_type"));
}else {
    
$block['content'] = $template->fetch$tplName$cacheid );
}

Now the question is: This code is safe?

PD: My english sucks...

Top

brau
Just popping in
Just popping in
Joined:
2008/12/9 7:01
Group:
Registered Users
Posts: 3
(Show More) (Show Less)


#8 Posted on: 2008/12/19 4:02 Re: Content of all custom blocks has disappeared - titles still present.
i use XOOPS 2.2.4 and faced the same problem. dummy and who's online blocks has been cleared.

Top


Mind anchors
deka87
Friend of XOOPS
Friend of XOOPS
Joined:
2007/10/5 13:50
From Russia
Group:
Registered Users
Posts: 1107
(Show More) (Show Less)


#9 Posted on: 2008/12/19 4:10 Re: Content of all custom blocks has disappeared - titles still present.
i restored newblocks table from the db backup but it didn't solve the problem. none of the previously discussed solutions didn't work either...

Top


Mind anchors
deka87
Friend of XOOPS
Friend of XOOPS
Joined:
2007/10/5 13:50
From Russia
Group:
Registered Users
Posts: 1107
(Show More) (Show Less)


#10 Posted on: 2008/12/19 5:22 Re: Content of all custom blocks has disappeared - titles still present.
For 2.2.4, check out this also!

Top


The art of asking questions.
ghia
Community Support Member
Community Support Member
Joined:
2008/7/3 14:19
From Belgium
Group:
Registered Users
Posts: 4946
(Show More) (Show Less)




(1) 2 3 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.

[Advanced Search]