1
GPboarder
Content of all custom blocks has disappeared - titles still present.
  • 2008/10/22 19:52

  • GPboarder

  • Friend of XOOPS

  • Posts: 248

  • Since: 2006/10/6


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

Optimism is the mother of disappointment.

2
melgior
Re: Content of all custom blocks has disappeared - titles still present.
  • 2008/11/25 16:10

  • melgior

  • Just popping in

  • Posts: 3

  • Since: 2005/11/27


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.

3
sailjapan
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.
Never let a man who does not believe something can be done, talk to a man that is doing it.

4
brau
Re: Content of all custom blocks has disappeared - titles still present.
  • 2008/12/9 13:19

  • brau

  • Just popping in

  • Posts: 3

  • Since: 2008/12/9


Any Solution? I've got a similar problem. This is since 2.0.10 version.

PD: my english sucks

5
Burning
Re: Content of all custom blocks has disappeared - titles still present.
  • 2008/12/9 13:32

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


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

Still learning CSS and... english

6
brau
Re: Content of all custom blocks has disappeared - titles still present.
  • 2008/12/9 13:43

  • brau

  • Just popping in

  • Posts: 3

  • Since: 2008/12/9


Thanks Burning...
I tried that solution, but don't work, I tried with all themes(default, zetagenesis, 7dana-rojo) but the problem persists.


7
brau
Re: Content of all custom blocks has disappeared - titles still present.
  • 2008/12/10 4:23

  • brau

  • Just popping in

  • Posts: 3

  • Since: 2008/12/9


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

8
deka87
Re: Content of all custom blocks has disappeared - titles still present.
  • 2008/12/19 10:02

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


i use XOOPS 2.2.4 and faced the same problem. dummy and who's online blocks has been cleared.
Mind anchors

9
deka87
Re: Content of all custom blocks has disappeared - titles still present.
  • 2008/12/19 10:10

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


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...
Mind anchors

10
ghia
Re: Content of all custom blocks has disappeared - titles still present.
  • 2008/12/19 11:22

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


For 2.2.4, check out this also!

Login

Who's Online

200 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 200


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits