vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Rss Feed Xml Error! (https://vborg.vbsupport.ru/showthread.php?t=208867)

hotpursuite 03-20-2009 09:58 AM

Rss Feed Xml Error!
 
http://img257.imageshack.us/img257/8310/image1.jpg

What is the problem missed the point? This has repeatedly give error. Rss does not work
What should i do? :(

Help me plase, Thank you.

Quote:

<br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_postbit_alt.php(474) : eval()'d code</strong> on line <strong>21</strong><br /><br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_postbit_alt.php(474) : eval()'d code</strong> on line <strong>21</strong><br /><br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_postbit_alt.php(474) : eval()'d code</strong> on line <strong>21</strong><br /><br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_postbit_alt.php(474) : eval()'d code</strong> on line <strong>21</strong><br /><br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_postbit_alt.php(474) : eval()'d code</strong> on line <strong>21</strong><br /><br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_postbit_alt.php(474) : eval()'d code</strong> on line <strong>21</strong><br /><br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_postbit_alt.php(474) : eval()'d code</strong> on line <strong>21</strong><br /><br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_postbit_alt.php(474) : eval()'d code</strong> on line <strong>21</strong><br /><br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_postbit_alt.php(474) : eval()'d code</strong> on line <strong>21</strong><br /><br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_postbit_alt.php(474) : eval()'d code</strong> on line <strong>21</strong><br /><br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_postbit_alt.php(474) : eval()'d code</strong> on line <strong>21</strong><br /><br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_postbit_alt.php(474) : eval()'d code</strong> on line <strong>21</strong><br /><br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_postbit_alt.php(474) : eval()'d code</strong> on line <strong>21</strong><br /><br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_postbit_alt.php(474) : eval()'d code</strong> on line <strong>21</strong><br /><br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_postbit_alt.php(474) : eval()'d code</strong> on line <strong>21</strong><br /><?xml version="1.0" encoding="ISO-8859-9"?>
------^

NLP-er 06-20-2009 08:56 PM

Same problem :( Any help?...

My error:
Warning: Invalid argument supplied for foreach() in [path]includes[path]class_postbit_alt.php(474) : eval()'d code on line 165

This line shows several times.

This error appears when I use type=rss2 or forumids, without those params it is ok...

And as I can see in google - many forums have same problem. What is going on?

Lynne 06-20-2009 09:32 PM

Line 474 of class_postbit_alt.php:
PHP Code:

($hook vBulletinHook::fetch_hook('postbit_display_complete')) ? eval($hook) : false

Your error is from a modification. Turn it off, and the error should go away.

NLP-er 06-21-2009 11:14 AM

I used define('DISABLE_HOOKS', true); to disable whole plugin system, but still got same error... Does it is taken from some cache or problem is not in hook?

If it is cache how long I have to wait to check does it work or not and how can I figure out which hook it is without trying to disable one by one?

And one more thing - now it's not working even without parameters... Yesterday it was ok :(

RS_Jelle 06-21-2009 12:33 PM

Default cache: 1 hour

vBulletin Options -> External Data Provider -> Cache Lifespan

NLP-er 06-21-2009 03:41 PM

Thanks I will turn off cache at night and seek guilty hook :)

--------------- Added [DATE]1245686540[/DATE] at [TIME]1245686540[/TIME] ---------------

The problem just disappear... But I think that it will come back. Is it possible that it depends on content of posts which are shown in RSS? Or...

One of my users wrote that who is on line produces such error:
Parse error: syntax error, unexpected T_STRING in /includes/functions_online.php(1170) : eval()'d code on line 67

Is it possible that booth those errors depends on some username? I don't know that author of post is send in RSS, but I don't believe that it resolves itself - so what could be the problem - content, username, something else?... As long as I can't reproduce error I cannot work on it, but here are such experienced vB programmers, so I hope someone good in it will help me :)

NLP-er 06-22-2009 09:52 PM

Quote:

Originally Posted by Lynne (Post 1833614)
Line 474 of class_postbit_alt.php:
PHP Code:

($hook vBulletinHook::fetch_hook('postbit_display_complete')) ? eval($hook) : false

Your error is from a modification. Turn it off, and the error should go away.

My error is:
Warning: Invalid argument supplied for foreach() in [path]includes[path]class_postbit_alt.php(474) : eval()'d code on line 165

Doesn't it tells that error occures in line 165?...

Lynne 06-22-2009 10:09 PM

No, it is an error related to line 474 of class_postbit_alt.php . On that line is something else which gets eval()'d and the problem is on line 165 of that eval()'d code. Line 474 is a hook which evals some code and the error is in that code being eval()'d.

NLP-er 06-22-2009 10:11 PM

I've just made tests and it's definitivelly not any hook.

I set RSS cache to 1 minute. Disabled all hooks by define('DISABLE_HOOKS', true); - tested does hooks are dissabled (forum looks :eek:). Checked content of RSS. Wrote new post. Wait a minute - check again does new post is visible in RSS (so cache is refreshed) and then check with option forumids and type=rss2. And in both cases - fail.

As I wrote before for some time it was working again and now again is not working. I'm wondering does the content of posts or some usernames can matter here.

Somebody can help me?...

Lynne 06-22-2009 10:14 PM

Try deleting that hook line in class_postbit_alt.php > save > upload and see what sort of error you then get.

If you still get the error, check your class_postbit_alt.php page and let us know what is on line 474 of it, maybe it is something different than what is on mine.


All times are GMT. The time now is 11:26 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01021 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete