vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   General Hosting/Server Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=197)
-   -   Fatal Error: Call to undefined function (https://vborg.vbsupport.ru/showthread.php?t=164748)

ChopBam 12-09-2007 03:17 PM

Fatal Error: Call to undefined function
 
Hello all.
Whenever anybody tries to view a thread or a profile, this fatal error comes up:

Fatal error: Call to undefined function: str_ireplace() in /home/warrior/public_html/forums/includes/class_postbit.php(296) : eval()'d code on line 12

I can't figure it out for the life of me, and it's a pretty major error, since nobody can view threads or anything. I'm not up to speed on how PHP works, so go easy on the terminology. ;)
Thanks in advance to anybody who can help.

Edit: sorry if this is in the wrong section. I made it hasty.

Paul M 12-09-2007 03:42 PM

You have a modification installed that is causing this - you need to disable them until you find which one it is.

ChopBam 12-09-2007 10:46 PM

Okay I found the problem. It was indeed one of the hacks. Thank you very much.

Marco van Herwaarden 12-10-2007 05:09 AM

str_ireplace() is a PHP 5 function. The modification you have installed probably doesnot take into account that it can also be used on PHP4 installations (should be tested in the install routine).


All times are GMT. The time now is 06:43 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.00938 seconds
  • Memory Usage 1,706KB
  • 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)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