vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   CMS load error! (https://vborg.vbsupport.ru/showthread.php?t=268066)

daydie 08-06-2011 08:04 AM

CMS load error!
 
hey guys, i keep gettin this error when i enable CMS:

Warning: Division by zero in [path]/packages/vbcms/content.php on line 529

Warning: Division by zero in [path]/packages/vbcms/content.php on line 530

I have tryed to create a new style from apparent just incase any template errors, ive upgraded my vbulletin from 4.1.3 to 4.1.5 but still no luck (uploaded all files too)

any help pleaseeee?

*Edit*

Also when i save any changes via admin cp i get this error above the proceed page:

Warning: implode() [function.implode]: Invalid arguments passed in [path]/includes/adminfunctions_options.php(624) : eval()'d code on line 40

Lynne 08-06-2011 03:42 PM

Your first two errors have to do with some ratings (and dividing by 0). You can try editing the articles that are supposed to be on that page and turn ratings off (to edit, go to content.php?xxx/edit where xxx is the article number).

The second error is from a modification. So, turn off the modification and it will go away.

daydie 08-06-2011 10:45 PM

thank you, i had to remove the whole rating code from that file. Also aint had a look at admin cp error as it hasnt caused a problem yet.

evelynpriscilla 10-04-2013 03:28 PM

Quote:

Originally Posted by daydie (Post 2229999)
hey guys, i keep gettin this error when i enable CMS:

Warning: Division by zero in [path]/packages/vbcms/content.php on line 529

Warning: Division by zero in [path]/packages/vbcms/content.php on line 530

admincp -->Poll and Thread Rating Options-->Required Thread/Blog/CMS Rating Votes to Show Rating.
This value cannot be zero.


All times are GMT. The time now is 01:10 AM.

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.00943 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete