vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   MySQL Error (https://vborg.vbsupport.ru/showthread.php?t=50913)

GuizzmyoL 03-28-2003 02:08 PM

MySQL Error
 
I keep recieving errors at the top of my showthread.php file and in all the threads. It seems to vary in the numbers, sometimes showing 10 of the same error while in other times it only shows 3. Here it is here:

Code:

Warning: Unknown modifier 'a' in /home/virtual/site125/fst/home/static/public_html/forum/admin/functions.php on line 832
I've tried re-uploading functions.php and even showthread.php, but it makes no difference... Please

Xenon 03-28-2003 02:52 PM

what is line 832 of your functions.php?

GuizzmyoL 03-28-2003 05:59 PM

Well... it seems to have changed, now it's line 801... :dead:

Here's my functions.php file...
don't attach full vB files

GuizzmyoL 03-29-2003 09:01 AM

:( Sorry filburt. Here's my line 801...

PHP Code:

    $bbcode=preg_replace($searcharray$replacearray$bbcode); 

And the code surrounding it...

PHP Code:

    if ($phpversionnum<"4.0.5") {
      
$bbcode=str_replace("'""\'"$bbcode);
    }
    
$bbcode=preg_replace($searcharray$replacearray$bbcode);

    if(
$dobbimagecode and ($bbuserinfo[userid]==or $bbuserinfo[showimages])) {
      
// do [img]https://vborg.vbsupport.ru/[/img]
      
$bbcode preg_replace("/\[img\](\r\n|\r|\n)*((http|https):\/\/([^;<>\(\)\"".iif($allowdynimg,"","!\*\?\&")."]+)|[a-z0-9\/\\\._\- ]+)\[\/img\]/siU""<img src=\"\\2\" border=\"0\" alt=\"\">"$bbcode);
    }
    
$bbcode preg_replace("/\[img\](\r\n|\r|\n)*((http|https):\/\/([^;<>\*\(\)\"]+)|[a-z0-9\/\\\._\- ]+)\[\/img\]/siU""<a href=\"\\2\" target=\"_blank\">\\2</a>"$bbcode); 

Help! :(

Xenon 03-29-2003 04:44 PM

GuizzmyoL,

You are currently showing up as unlicensed. To be able to download hacks and/or receive support here at vBulletin.org, we ask you to please click here (vB-germany users click here) and enter your email address, to show us that you are licensed.

You will need to use your customer number and password (which will be in the email you got when you paid for your license) to access that page. Please note that your email is case sensitive.

Thank you.


All times are GMT. The time now is 02:02 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.01062 seconds
  • Memory Usage 1,734KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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