vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBug Tracker 1.0.3 (https://vborg.vbsupport.ru/showthread.php?t=69600)

PitchouneN64ngc 02-21-2005 10:10 AM

I have tested your update (1.0.3) and I find two little bugs with prefix tables.

In vbugs.php, find two times this:

PHP Code:

    FROM vbugs 

And replace by this:

PHP Code:

    FROM " . TABLE_PREFIX . "vbugs AS vbugs 

;)

Dark_Wizard 02-21-2005 06:03 PM

Quote:

Originally Posted by PitchouneN64ngc
I have tested your update (1.0.3) and I find two little bugs with prefix tables.

In vbugs.php, find two times this:

PHP Code:

    FROM vbugs 

And replace by this:

PHP Code:

    FROM " . TABLE_PREFIX . "vbugs AS vbugs 

;)


Nice find...fixed, attachment updated!

SpeedStreet 02-21-2005 07:21 PM

was the little bug that was fixed the truncating of data in vbugsadmin when adding a new bug?

ixian 02-24-2005 10:38 PM

Quote:

Originally Posted by Dark Shogun
I have the exact same problem. I am running my board on a private system and get the same exact error when I try to add/change any of the vbug dropdowns in the admincp. Can someone please help us out?

Dark Shogun

This problem has returned for 3.0.7, I just ran a fresh install - on a fresh, unhacked board - and get this exact problem. Went back over the file edits with a fine toothed comb. Nope.

I don't use table prefixes but from what I read that shouldn't matter?

ixian 02-24-2005 10:54 PM

Quote:

Originally Posted by ixian
This problem has returned for 3.0.7, I just ran a fresh install - on a fresh, unhacked board - and get this exact problem. Went back over the file edits with a fine toothed comb. Nope.

I don't use table prefixes but from what I read that shouldn't matter?

Commenting out line 125 in vbugs_admin.php fixes the problem, though I am sure that isn't the final fix. At least it works this way.

Dark_Wizard 02-26-2005 04:00 PM

Quote:

Originally Posted by ixian
This problem has returned for 3.0.7, I just ran a fresh install - on a fresh, unhacked board - and get this exact problem. Went back over the file edits with a fine toothed comb. Nope.

I don't use table prefixes but from what I read that shouldn't matter?

What exactly is the error and the steps leading to it as I have checked the coding and there is nothing there that would cause any issues on line 125. Also what O/S are you using?

ixian 02-27-2005 05:18 PM

Quote:

Originally Posted by Dark_Wizard
What exactly is the error and the steps leading to it as I have checked the coding and there is nothing there that would cause any issues on line 125. Also what O/S are you using?


Same error as reported earlier:

Code:

Parse error: syntax error, unexpected T_PRIVATE, expecting ']' in c:\path\to\admincp\vbugs_admin.php on line 125
Steps are, I click any option in admincp - modify, add, or edit - and I get this error.

Redhat ES 3.x.

Dark Shogun 02-27-2005 07:14 PM

I am using a windows laptop.

Dark Shogun

Creed 02-27-2005 08:15 PM

I'm installing now :)

Zachariah 03-05-2005 03:04 PM

Vbugs.php
Find:

Code:

// pre-cache templates used by all actions
$globaltemplates = array(
        'VBUGS',
        'userfield_select_option'
        );

Replace:

Code:

// pre-cache templates used by all actions
$globaltemplates = array(
        'VBUGS',
        'vbugs_footer',
        'userfield_select_option'
        );



All times are GMT. The time now is 06:40 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.01295 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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