Fork me on GitHub
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

Nominate XOOPS!

Learn XOOPS Core

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $15.00
Net Balance: $14.11
Left to go: $85.89

Donations
Anonymous ($15)Jul-20

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 2013 Abuse adslight Android AntiHarvesting AntiMalUser AntiSpam API Apple Battlefield billige Bootstrap Captcha cell chronolabs content CĂN demo docek download Dresses evden eve facebook Fat Food for free Gateway Google Guide herre Home Honeypot HP html5 Human HỘ IP iPhone jQuery List log Loss mobile module modules Monster new newbb news NHÀ online PARK phone PHP Prevention profile project Protector publisher Rapid RESIDENCE responsive review Rights rmcommon Room security Sentry site Smartphone Smarty Smoking Solution Spam Studio tag tags tdmcreate template The Theme themes User userlog web weight Wishcraft xoops Xortify

New Users

Registering user

# 137636

mzmaker05

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  Register To Post

(1) 2 »


#1 Posted on: 2012/12/22 13:33 blank custom blocks + rss not working
Hi all!
I just upgraded a local version of my xoops site (from v.2.4.5 to 2.5.5).

I faced 2 main issues:

1. the content of all custom blocks is not displayed (only the title of the block is shown). I created new HTML and PHP blocks, I updated the system module, I deleted the cache (both browser and xoops) and I checked the access rights, but the problem still remain.

2. RSS feed generation doesn't work. The [xoops_site]/backend.php page returns the following message (my English translation):
Error during xml readingno element found
Address
http://localhost/.../backend.php
Line number 1column 1:


Any suggestion?
Thank you!

Top

Shiroku
Just popping in
Just popping in
Joined:
2006/9/24 7:29
Group:
Registered Users
Posts: 33
(Show More) (Show Less)


#2 Posted on: 2012/12/23 6:14 Re: blank custom blocks + rss not working
Try to run "file check" to see if you have all the correct files.

I am not sure if I've heard of a problem with custom blocks.

Top


Please support XOOPS & DONATE
Use 2.5.7 | Debugging | Requests | Bugs
Mamba
Moderator
Moderator
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8032
(Show More) (Show Less)


#3 Posted on: 2012/12/25 5:49 Re: blank custom blocks + rss not working
Thank you for your feedback: some files were missing in the "[...]/modules/system/templates/" and "[...]/modules/system/templates/blocks/" directories.

RSS are now generated in a correct way.

About "blank blocks", the content is displayed in all pages but there is an exception: the content is still not visible in the pages related to the News module (only the title of the block is displayed).
As usual, I updated the modules, I deleted the cache (both browser and xoops) and I checked the access rights, but the problem still remain.

Any suggestion about this "sub"-issue?
Thank you.

PS: Merry Christmas :)

Top

Shiroku
Just popping in
Just popping in
Joined:
2006/9/24 7:29
Group:
Registered Users
Posts: 33
(Show More) (Show Less)


#4 Posted on: 2012/12/25 6:55 Re: blank custom blocks + rss not working
can you post the content/code of your custom block here ?

Top

maxxy
Quite a regular
Quite a regular
Joined:
2007/6/11 1:17
Group:
Registered Users
Posts: 285
(Show More) (Show Less)


#5 Posted on: 2012/12/25 9:14 Re: blank custom blocks + rss not working
There are several custom blocks, in the following you will find just the content of one of them (custom HTML block):

<div class="xo-blockcontent"><div id="mainmenu">  <!--<class='menuMain' href='{X_SITEURL}modules/forum/'>Forum</a>--> <class='menuMain' href='{X_SITEURL}modules/news/submit.php'>Scrivi una guida</a> <class='menuMain' href='{X_SITEURL}modules/xoopspoll/'>Sondaggi</a> <class='menuMain' href='{X_SITEURL}modules/news/article.php?storyid=7'>Scambio banner</a> <class='menuMain' href='{X_SITEURL}modules/news/article.php?storyid=122'>Firefox Search Bar</a>  </div></div>


My feeling is that the problem is not related to the content of the block for the following reasons:
- ALL custom blocks are not working in News module
- the blocks are correctly displayed when different pages/modules are loaded
- I tried to create a new custom html block with very simple content (just a word) and it doesn't work


Top

Shiroku
Just popping in
Just popping in
Joined:
2006/9/24 7:29
Group:
Registered Users
Posts: 33
(Show More) (Show Less)


#6 Posted on: 2012/12/25 17:19 Re: blank custom blocks + rss not working
Quote:
About "blank blocks", the content is displayed in all pages but there is an exception: the content is still not visible in the pages related to the News module

I cannot reproduce it.
What version of News are you using?
Did you update both the System and News modules?

Top


Please support XOOPS & DONATE
Use 2.5.7 | Debugging | Requests | Bugs
Mamba
Moderator
Moderator
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8032
(Show More) (Show Less)


#7 Posted on: 2012/12/26 10:40 Re: blank custom blocks + rss not working
fixed: it was required to also update the themes files

Top

Shiroku
Just popping in
Just popping in
Joined:
2006/9/24 7:29
Group:
Registered Users
Posts: 33
(Show More) (Show Less)


#8 Posted on: 2013/1/8 12:02 Re: blank custom blocks + rss not working
I seem to be having the same problem :(

Upgraded from 2.4.5 to 2.5.5, things seem to work nice, except for a couple of blocks. Most of them are custom ones. If I open them for editing the content is nicely shown. Tried to duplicate them and tried to make a new one without success.

The weird thing is that I have the same problem with the "main" block, as well as "xt_themas" for theme selection.

Could you please elaborate more about "updating the theme files"?

I checked with various themes I have installed, and had the same problem. Also tried deleteing caches and they were regenerated.

Also I tried updating most of the modules, tried updating the system module again, but the problems persist.

Tried to turn on debugging mode, but most of the stuff was complaints about deprecation from some modules, not really related to this.

As far as I can see, the site is operating normally otherwise.

Top

donny
Just popping in
Just popping in
Joined:
2006/11/5 16:46
Group:
Registered Users
Posts: 21
(Show More) (Show Less)


#9 Posted on: 2013/1/12 6:10 Re: blank custom blocks + rss not working
Please follow the steps below.

1- Compare the upgraded xoops site with the backup copy and check if the upgraded xoops site contains all templates files located in the following directories:
/modules/sytem/templates/
/modules/sytem/templates/blocks/

2- In "Admin Panel/Preferences/General settings" mark as "yes" the option "Allow changes to themes and templates"

3- Update system module (and other modules e.g. News)

4- Clear the application cache (smarty_cache, xoops_cache, etc.)

5- Clear the browser cache

6- Navigate the site and check the content of the blocks

After that, you can mark as "no" the option mentioned in step #2

Top

Shiroku
Just popping in
Just popping in
Joined:
2006/9/24 7:29
Group:
Registered Users
Posts: 33
(Show More) (Show Less)


#10 Posted on: 2013/1/15 5:07 Re: blank custom blocks + rss not working
Thank you very much for your reply - there really were some templates missing in the /modules/system/templates folder. I am not sure how this happened during the upgrade procedure - I did a regular 2.4.5 to 2.5.5 upgrade. Weird.

Anyway - uploaded what was needed, set the check templates option, updated the modules, and returned the check templates to "no".

Thanks again, you saved me a lot of time - I would probably get to the culprits eventually, but it would take some detailed investigation and following of flows.

Top

donny
Just popping in
Just popping in
Joined:
2006/11/5 16:46
Group:
Registered Users
Posts: 21
(Show More) (Show Less)




(1) 2 »



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]