1
Mr_RealSurf
Planet & 2.2.3: how set feed polling interval

Can anyone tell me how to set the RSS feed polling interval in Planet (see details of my instance below)?

Ideally I would like to be able to set polling intervals on a per-feed basis. E.g. I might get the BBC feed updated every 10 mins, but CNN once a day and Fox News once a month.

Thanks in advance!



PHP Version::5.2.2
MySQL Version::5.0.24a-standard-log
XOOPS Version::XOOPS 2.2.3 Final
Module Version::2
safemod:OFF
register_globals:OFF
magic_quotes_gpc:OFF
post_max_size:8M
max_input_time:60
output_buffering:4096
xml:ON
mbstring:ON
curl_init:ON
fsockopen:ON
allow_url_fopen:OFF



2
Mr_RealSurf
Re: Article module 1.0 won't display content


Cringe!!

I have article 1.0 now working with 2.2.3

The reason I was having problems is that after my tech guy moved servers, he left a duplicate directory that included my a copy of my XOOPS instance. Cringe!

I discovered that I'd been dutifully making changes to the 'dark' instance rather than the live one...

Hence the complete lack of results!!!

Once again thank you for the kind assistance. It was worthwhile because when I finally got at the live version of my site, I'd been through the somewhat complicated article upgrade process (well, complicated for those of us using 2.2.3).



3
Mr_RealSurf
Re: Article module 1.0 won't display content

Hi and thanks for all the help so far!

I've tried to update my XOOPS to the latest version 2.2.5-rc2. It all seems to have worked. No errors were reported during the update process and the site generally seems unchanged.

(where would I look for confirmation that the version change happened?)

I cleared out templates_c, tried to update article module, got same errors as before. Gloom.

I tried switching on smarty debugging, but nothing happens in firefox anyway.

I think it might be a good idea to have a little package of the update files from 2.0.16 along with instructions for placing them so that users like myself don't have to hunt them down. If I ever get this working, I'll bundle them up myself!

And yes, if anyone else can shed light on this problem it would be hugely appreciated!!

Tobias, I owe you a beer (or appropriate equivalent)!



4
Mr_RealSurf
Re: Article module 1.0 won't display content

Hi, back again! Every time I think, 'this will fix it...' but I'm still not there...

Quote:

Wow, that's strange. Are you sure the two files are in /class/smarty/plugins ? Alongside a whole bunch of other files? You haven't made any additional subdirectory to mirror the XOOPS 2.16 file structure? Something like /class/smarty/xoops_plugins? That would be wrong!

Have you also replaced the xoops.js?


The two files are definitely now in class/smarty/plugins alongside a whole bunch of others.

I did not rename or add or otherwise change subdirectories.

xoops.js is in xoops/include (it is the xoops.js I copied from my working copy of XOOPS 2.0.16)

Here's what I've now tried...

1) delete old Frameworks directory
2) install latest Frameworks directory
o copy local.php and local.class.php from xoops22 folder to language/english
3) go to admin and select update article option

...get the following errors at bottom of page:

Quote:

Notice [PHP]: Undefined variable: xoops_module_header in file /mypathtoxoops/class/theme.php line 120
Notice [PHP]: Undefined variable: xoops_module_header in file /mypathtoxoops/class/smarty/Smarty.class.php line 566
Notice [PHP]: Undefined variable: xoops_module_header in file /mypathtoxoops/class/theme.php line 136
Notice [PHP]: Constant _DB_POSLINE_DESC already defined in file /mypathtoxoops/modules/backup/language/english/modinfo.php line 24
Warning [PHP]: constant(): Couldn't find constant ARTICLE_MI_CONFIGCAT_MODU in file /mypathtoxoops/include/cp_functions.php line 103
Warning [PHP]: constant(): Couldn't find constant ARTICLE_MI_CONFIGCAT_ARTI in file /mypathtoxoops/include/cp_functions.php line 103
Warning [PHP]: xoops_load_lang_file(/mypathtoxoops/modules/phpmyadmin_260b3/language/english/modinfo.php): failed to open stream: No such file or directory in file /mypathtoxoops/include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(): Failed opening '/mypathtoxoops/modules/phpmyadmin_260b3/language/english/modinfo.php' for inclusion (include_path='.:/usr/share/pear') in file /mypathtoxoops/include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(/mypathtoxoops/modules/phpmyadmin_260b3/language/english/modinfo.php): failed to open stream: No such file or directory in file /mypathtoxoops/include/functions.php line 153
Warning [PHP]: xoops_load_lang_file(): Failed opening '/mypathtoxoops/modules/phpmyadmin_260b3/language/english/modinfo.php' for inclusion (include_path='.:/usr/share/pear') in file /mypathtoxoops/include/functions.php line 153
Notice [PHP]: Undefined variable: xoops_module_header in file /mypathtoxoops/footer.php line 31
Notice [PHP]: Undefined variable: xoops_module_header in file /mypathtoxoops/footer.php line 52
Notice [PHP]: Undefined variable: xoops_module_header in file /mypathtoxoops/class/theme.php line 243


I go ahead and try to refresh the module anyway, but once again I get white page with following error messages:
Quote:

Notice [PHP]: Undefined variable: xoops_module_header in file /mypathtoxoops/class/theme.php line 120
Notice [PHP]: Undefined variable: xoops_module_header in file /mypathtoxoops/class/smarty/Smarty.class.php line 566
Notice [PHP]: Undefined variable: xoops_module_header in file /mypathtoxoops/class/theme.php line 136
Notice [PHP]: Constant _DB_POSLINE_DESC already defined in file /mypathtoxoops/modules/backup/language/english/modinfo.php line 24
Warning [PHP]: constant(): Couldn't find constant ARTICLE_MI_CONFIGCAT_MODU in file /mypathtoxoops/include/cp_functions.php line 103
Warning [PHP]: constant(): Couldn't find constant ARTICLE_MI_CONFIGCAT_ARTI in file /mypathtoxoops/include/cp_functions.php line 103
Warning [PHP]: xoops_load_lang_file(/mypathtoxoops/modules/phpmyadmin_260b3/language/english/modinfo.php): failed to open stream: No such file or directory in file /mypathtoxoops/include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(): Failed opening '/mypathtoxoops/modules/phpmyadmin_260b3/language/english/modinfo.php' for inclusion (include_path='.:/usr/share/pear') in file /mypathtoxoops/include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(/mypathtoxoops/modules/phpmyadmin_260b3/language/english/modinfo.php): failed to open stream: No such file or directory in file /mypathtoxoops/include/functions.php line 153
Warning [PHP]: xoops_load_lang_file(): Failed opening '/mypathtoxoops/modules/phpmyadmin_260b3/language/english/modinfo.php' for inclusion (include_path='.:/usr/share/pear') in file /mypathtoxoops/include/functions.php line 153
Notice [PHP]: Undefined variable: xoops_module_header in file /mypathtoxoops/class/smarty/Smarty.class.php line 566
Notice [PHP]: Undefined variable: xoops_module_header in file /mypathtoxoops/class/smarty/Smarty.class.php line 566
Error [Xoops]: Smarty error: [in db:article_archive.html line 48]: syntax error: unrecognized tag 'foreachq' (Smarty_Compiler.class.php, line 573) in file /mypathtoxoops/class/smarty/Smarty.class.php line 1085


Hope those error details help point toward the solution...

Again many thanks for your suggestions!



5
Mr_RealSurf
Re: Article module 1.0 won't display content

Ahoy again!

The saga continues...

I moved those two files into the correct sub-directory as suggested.

I then went to the modules admin and tried to update the article module again.

Once more I get a white page with the following error messages:
Quote:


Notice [PHP]: Undefined variable: xoops_module_header in file /myfilepath/class/theme.php line 120
Notice [PHP]: Undefined variable: xoops_module_header in file /myfilepath/class/smarty/Smarty.class.php line 566
Notice [PHP]: Undefined variable: xoops_module_header in file /myfilepath/class/theme.php line 136
Notice [PHP]: Constant _DB_POSLINE_DESC already defined in file /myfilepath/modules/backup/language/english/modinfo.php line 24
Warning [PHP]: constant(): Couldn't find constant ARTICLE_MI_CONFIGCAT_MODU in file /myfilepath/include/cp_functions.php line 103
Warning [PHP]: constant(): Couldn't find constant ARTICLE_MI_CONFIGCAT_ARTI in file /myfilepath/include/cp_functions.php line 103
Warning [PHP]: xoops_load_lang_file(/myfilepath/modules/phpmyadmin_260b3/language/english/modinfo.php): failed to open stream: No such file or directory in file /myfilepath/include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(): Failed opening '/myfilepath/modules/phpmyadmin_260b3/language/english/modinfo.php' for inclusion (include_path='.:/usr/share/pear') in file /myfilepath/include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(/myfilepath/modules/phpmyadmin_260b3/language/english/modinfo.php): failed to open stream: No such file or directory in file /myfilepath/include/functions.php line 153
Warning [PHP]: xoops_load_lang_file(): Failed opening '/myfilepath/modules/phpmyadmin_260b3/language/english/modinfo.php' for inclusion (include_path='.:/usr/share/pear') in file /myfilepath/include/functions.php line 153
Notice [PHP]: Undefined variable: xoops_module_header in file /myfilepath/class/smarty/Smarty.class.php line 566
Notice [PHP]: Undefined variable: xoops_module_header in file /myfilepath/class/smarty/Smarty.class.php line 566
Error [Xoops]: Smarty error: [in db:article_archive.html line 48]: syntax error: unrecognized tag 'foreachq' (Smarty_Compiler.class.php, line 573) in file /myfilepath/class/smarty/Smarty.class.php line 1085


Does this suggest any other avenues I might try... ?

Many thanks!



6
Mr_RealSurf
Re: Article module 1.0 won't display content

Quote:

Am I correct to infer that you're using the 2.2 branch? See whether you've dropped compiler.includeq.php and compiler.foreachq.php correctly as per instructions.


Yes! I am using 2.2 branch.

You were correct, I had not dropped those two files into the relevant directory. Happily I have a site running the 2.0.16 branch, so I just copied the relevant files from there and followed the instructions in the readme.

I also installed the latest XOOPS editor stuff (although I didn't know how to follow the instructions quoted below, so I just put all the files in the xoopseditor directory and hoped for the best... :-|

Quote:

3 configure preferences where applicable
3.1 ./dhtmlext(all editors)/language/: make your local langauge file based on english.php
3.3 ./dhtmlext(all editors)/editor_registry.php: set configurations for the editor: order - display order in case editor selection is used, 0 for disabled; nohtml - works for non-html syntax
3.3 ./FCKeditor/module/: copy the files to the modules folders in case module specific upload permissions, storage and editor options are required
3.3.1 ./FCKeditor/module/fckeditor.config.js: for editor options, you usually don't not need to change it
3.3.2 ./FCKeditor/module/fckeditor.connector.php: to specify the folder for file browsing (and uploading storage) => XOOPS/uploads/XOOPS_FCK_FOLDER/, the folder is required to create manually
3.3.3 ./FCKeditor/module/fckeditor.upload.php: specify upload permission and uploading storage
3.4 XOOPS/uploads/fckeditor/: to create the folder if FCKeditor is enabled, used for uploads from where the upload folder is not specified
3.5 ./tinymce/jscripts/: download your local language files fromhttp://tinymce.moxiecode.com/language.php

4 check file names: for filename case sensitive system, make sure you have the file names literally correct, i.e., "FCKeditor" is not identical to "fckeditor"


Before trying things out, I checked templates_c (but there were not files showing), I then went to admin system and refreshed the templates, then I went module administration and again tried to update the module...

Sadly, I got exactly the same result as reported in my previous post.

Again, thanks for your generous assistance on this!



7
Mr_RealSurf
Re: Article module 1.0 won't display content

Hi and thanks for the prompt advice!

I can't remember which version I was on, but I'm pretty sure it was the last one before 1.0 was released.

Quote:

Can you have a look whether you have /modules/article/templates/article_index.html?


Yes, that template is present.

Quote:
If you do, perhaps going into the backend to the modules management, and upgrading the article module one more time could do the trick.


I uploaded the module again to my site and then went into the modules admin and refreshed it. Instead of returning the sual list of updated components and so on, I got a blank page with the following text:

Quote:

This page cannot be displayed due to an internal error.

If you are the administrator of this site, please visit the XOOPS Troubleshooting Page for assistance.

Helpful infomation you should provide while asking for assistance:

Notice [PHP]: Undefined variable: xoops_module_header in file /mysitepath/class/theme.php line 120
Notice [PHP]: Undefined variable: xoops_module_header in file /mysitepath/class/smarty/Smarty.class.php line 566
Notice [PHP]: Undefined variable: xoops_module_header in file /mysitepath/class/theme.php line 136
Notice [PHP]: Constant _DB_POSLINE_DESC already defined in file /mysitepath/modules/backup/language/english/modinfo.php line 24
Warning [PHP]: constant(): Couldn't find constant ARTICLE_MI_CONFIGCAT_MODU in file /mysitepath/include/cp_functions.php line 103
Warning [PHP]: constant(): Couldn't find constant ARTICLE_MI_CONFIGCAT_ARTI in file /mysitepath/include/cp_functions.php line 103
Warning [PHP]: xoops_load_lang_file(/mysitepath/modules/phpmyadmin_260b3/language/english/modinfo.php): failed to open stream: No such file or directory in file /export/mysitepath/include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(): Failed opening '/mysitepath/modules/phpmyadmin_260b3/language/english/modinfo.php' for inclusion (include_path='.:/usr/share/pear') in file /mysitepath/include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(/mysitepath/modules/phpmyadmin_260b3/language/english/modinfo.php): failed to open stream: No such file or directory in file mysitepath/include/functions.php line 153
Warning [PHP]: xoops_load_lang_file(): Failed opening '/mysitepath/modules/phpmyadmin_260b3/language/english/modinfo.php' for inclusion (include_path='.:/usr/share/pear') in file /mysitepath/include/functions.php line 153
Notice [PHP]: Undefined variable: xoops_module_header in file /mysitepath/class/smarty/Smarty.class.php line 566
Notice [PHP]: Undefined variable: xoops_module_header in file /mysitepath/class/smarty/Smarty.class.php line 566
Error [Xoops]: Smarty error: [in db:article_archive.html line 48]: syntax error: unrecognized tag 'foreachq' (Smarty_Compiler.class.php, line 573) in file /mysitepath/class/smarty/Smarty.class.php line 1085


Does this mean that I should completely uninstall and delete the module, before reuploading and trying again?

Again, many thanks for your kind assistance!



8
Mr_RealSurf
Article module 1.0 won't display content

Hi

I'm not a very techie person who is trying to get a XOOPS site up and running.

The article module which I like very much has stopped showing the content of articles following an upgrade to the latest version of the module and the latest Frameworks package.

In particular, I see the following error on pages with article content blocks.
Warning [Xoops]: Smarty error: unable to read resource: "db:article_index.html" in file /..path to my XOOPS directory../class/smarty/Smarty.class.php line 1085"

The odd thing is that some parts of Article seem to work. For instance, I can see the article submission page and the article blocks page...

Here are some details from the module's Preferences panel
PHP Version::4.3.9
MySQL Version::5.0.37-community
XOOPS Version::XOOPS 2.2.3 Final
Module Version::1
safemod:OFF
register_globals:ON
magic_quotes_gpc:OFF
post_max_size:8M
max_input_time:60
output_buffering:
xml:ON
mbstring:ON
curl_init:ON
fsockopen:ON
allow_url_fopen:ON
Image path:/mysitepath/uploads/article/image/ ( Available )
File path:/mysitepath/uploads/article/file/ ( Available )

Many thanks in advance!



9
Mr_RealSurf
Re: article module 1.0 & 2.2.3 - no visible blocks!

Still no luck...

I have removed the article module and re-installed to see if it would help.

It doesn't.

When I re-installed article, I then went right through the permissions tab for article and made sure that admin had access to or permissions for all modes (eg viewing, publishing etc).

But still the blocks are not visible.

In the blocks administration menu in XOOPS admin, Article does not appear on the dropdown selector. However, one can see the different block types for article because they appear in the "visible in" menu for each of the blocks showing in blocks administration.

I cannot access the Article preferences because Article does not appear on the Preferences dropdown menu in the admin area.

When I select the article tab in the Article admin, I get a page with only those blocks from other modules that I've made visible across my site. With php debugging on, I also get the following line at the bottom of this page:

Warning [Xoops]: Smarty error: unable to read resource: "db:article_cparticle.html" in file /mysite.com/pathgoeshere/class/smarty/Smarty.class.php line 1085

I checked the developer's site and could find nothing to help me there.

phppp if you are around, I would be most grateful for any advice or insights you may be able to offer.

TIA
don



10
Mr_RealSurf
article module 1.0 & 2.2.3 - no visible blocks!

I've just set installed the article module and cannot activate the blocks in article. When I go to admin>blocks, I do not see any blocks listed in the "add" drop down menu. I have enabled every permission I could find in the article module for webmaster group, but still no luck.

The module appears to have installed without error and I can get into its administration area.



Here are the details of my installation:
PHP Version::4.3.9
MySQL Version::5.0.37-community
XOOPS Version::XOOPS 2.2.3 Final
Module Version::1
safemod:OFF
register_globals:ON
magic_quotes_gpc:OFF
post_max_size:8M
max_input_time:60
output_buffering:
xml:ON
mbstring:ON
curl_init:ON
fsockopen:ON
allow_url_fopen:ON




TopTop
(1) 2 »



Login

Who's Online

159 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 159


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