vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin Project Tools - vBulletin Project Tools Open Source 2.2.2 (https://vborg.vbsupport.ru/showthread.php?t=270346)

Hostboard 08-17-2022 04:00 PM

1 Attachment(s)
Quote:

Originally Posted by erosolmi (Post 2608744)
Tried to update to 2.2.2 under VB 4.2.5 and PHP 7.1.33 but got error:

Call to undefined method vB_DataManager::vB_DataManager() on line 89 in /home/thinba5/public_html/community/includes/class_dm_pt_project.php
#0 /home/thinba5/public_html/community/includes/functions.php(196): vB_DataManager_Pt_Project->vB_DataManager_Pt_Project(Object(vB_Registry), 2)
#1 /home/thinba5/public_html/community/includes/adminfunctions_plugin.php(1201) : eval()'d code(139): datamanager_init('pt_project', Object(vB_Registry), 2)
#2 /home/thinba5/public_html/community/includes/adminfunctions_plugin.php(1201): eval()
#3 /home/thinba5/public_html/community/admincp___XYZ/plugin.php(1755): install_product(' #4 {main}


Fatal User Error: Call to undefined method vB_DataManager::vB_DataManager() on line 89 in ..../includes/class_dm_pt_project.php in ..../vb/vb.php on line 286
Trace Data:
#1 : vbstop() called in ..../includes/class_core.php on line 6089
#2 : vbulletin_error_handler() called in on line
#3 : trigger_error() called in ..../vb/vb.php on line 286
#4 : vB::handleException() called in on line

Var Type:
[ NULL ]

Var Data:
null


Anyone can help?

While vBulletin is PHP 7.1.x compliant I am not sure about PT
Backup and try this file (running on PHP 7.4.x).

erosolmi 08-17-2022 04:49 PM

Thanks a lot.
I tried, passed that point but now same error in another file: class_dm_pt_milestone.php

Call to undefined method vB_DataManager::vB_DataManager() on line 96 in /home/thinba5/public_html/community/includes/class_dm_pt_milestone.php
#0 /home/thinba5/public_html/community/includes/functions.php(196): vB_DataManager_Pt_Milestone->vB_DataManager_Pt_Milestone(Object(vB_Registry) , 2)
#1 /home/thinba5/public_html/community/includes/adminfunctions_plugin.php(1201) : eval()'d code(265): datamanager_init('pt_milestone', Object(vB_Registry), 2)
#2 /home/thinba5/public_html/community/includes/adminfunctions_plugin.php(1201): eval()
#3 /home/thinba5/public_html/community/admincp___XYZ/plugin.php(1755): install_product(' #4 {main}

Fatal User Error: Call to undefined method vB_DataManager::vB_DataManager() on line 96 in ..../includes/class_dm_pt_milestone.php in ..../vb/vb.php on line 286
Trace Data:
#1 : vbstop() called in ..../includes/class_core.php on line 6089
#2 : vbulletin_error_handler() called in on line
#3 : trigger_error() called in ..../vb/vb.php on line 286
#4 : vB::handleException() called in on line

Var Type:
[ NULL ]

Var Data:
null

Hostboard 08-17-2022 05:03 PM

1 Attachment(s)
Quote:

Originally Posted by erosolmi (Post 2608746)
Thanks a lot.
I tried, passed that point but now same error in another file: class_dm_pt_milestone.php

Call to undefined method vB_DataManager::vB_DataManager() on line 96 in /home/thinba5/public_html/community/includes/class_dm_pt_milestone.php
#0 /home/thinba5/public_html/community/includes/functions.php(196): vB_DataManager_Pt_Milestone->vB_DataManager_Pt_Milestone(Object(vB_Registry) , 2)
#1 /home/thinba5/public_html/community/includes/adminfunctions_plugin.php(1201) : eval()'d code(265): datamanager_init('pt_milestone', Object(vB_Registry), 2)
#2 /home/thinba5/public_html/community/includes/adminfunctions_plugin.php(1201): eval()
#3 /home/thinba5/public_html/community/admincp___XYZ/plugin.php(1755): install_product(' #4 {main}


Fatal User Error: Call to undefined method vB_DataManager::vB_DataManager() on line 96 in ..../includes/class_dm_pt_milestone.php in ..../vb/vb.php on line 286
Trace Data:
#1 : vbstop() called in ..../includes/class_core.php on line 6089
#2 : vbulletin_error_handler() called in on line
#3 : trigger_error() called in ..../vb/vb.php on line 286
#4 : vB::handleException() called in on line

Var Type:
[ NULL ]

Var Data:
null

Try this. Same note as before.

erosolmi 08-17-2022 05:13 PM

Now I get a MySql error.
mysqli_query(): (42S22/1054): Unknown column 'options' in 'field list' in ..../includes/class_core.php on line 1386

Steven ... thanks a lot for your help.
I think I will give up and move into another project management tool.

erosolmi 08-17-2022 05:18 PM

Also get SQL error about a table that doesn't exists.
I think that my try and retry skipped some SQL updates.

Database error in vBulletin 4.2.5:

Invalid SQL:

SELECT issuenote.*, issue.*, issuenote.username AS noteusername, issuenote.ipaddress AS noteipaddress, issuemagicselect.*,


user.*, userfield.*, usertextfield.*, pt_user.*,
IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, user.infractiongroupid,


issue.visible, issue.lastactivity, issue.lastpost,
user.lastactivity AS user_lastactivity


FROM pt_issue AS issue
INNER JOIN pt_issuenote AS issuenote ON
(issuenote.issuenoteid = issue.firstnoteid)
INNER JOIN pt_issuemagicselect AS issuemagicselect ON
(issuemagicselect.issueid = issue.issueid)

LEFT JOIN user AS user ON (user.userid = issuenote.userid)
LEFT JOIN userfield AS userfield ON (userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid)
LEFT JOIN pt_user AS pt_user ON (pt_user.userid = user.userid)





WHERE issue.issueid = 26;

MySQL Error : Table 'pt_issuemagicselect' doesn't exist

Hostboard 08-17-2022 05:20 PM

My class_core.php file has been updated for PHP 8.0.x I am running under PHP 7.4.x Not sure if it is compatible with a latter PHP version. More than willing to let you try it if you want. Heading out for a while so won't be able to reply till tonight if you do.

Hostboard 08-17-2022 07:03 PM

Quote:

Originally Posted by erosolmi (Post 2608750)
Also get SQL error about a table that doesn't exists.
I think that my try and retry skipped some SQL updates.

Database error in vBulletin 4.2.5:

Invalid SQL:

SELECT issuenote.*, issue.*, issuenote.username AS noteusername, issuenote.ipaddress AS noteipaddress, issuemagicselect.*,


user.*, userfield.*, usertextfield.*, pt_user.*,
IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, user.infractiongroupid,


issue.visible, issue.lastactivity, issue.lastpost,
user.lastactivity AS user_lastactivity


FROM pt_issue AS issue
INNER JOIN pt_issuenote AS issuenote ON
(issuenote.issuenoteid = issue.firstnoteid)
INNER JOIN pt_issuemagicselect AS issuemagicselect ON
(issuemagicselect.issueid = issue.issueid)

LEFT JOIN user AS user ON (user.userid = issuenote.userid)
LEFT JOIN userfield AS userfield ON (userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid)
LEFT JOIN pt_user AS pt_user ON (pt_user.userid = user.userid)





WHERE issue.issueid = 26;

MySQL Error : Table 'pt_issuemagicselect' doesn't exist

Have you tried re-running the installer? Looks like it did not complete.

erosolmi 08-18-2022 04:15 AM

Yes, all errors come from an install process.
My previous working PT version was 2.1.4 and tried to upgrade to 2.2.2.

Hostboard 12-31-2022 02:42 PM

The SVN shows an update as late as 8/15/2020
Would be nice to know what changes were made so I can do a DIFF since my files were updated for PHP 7.4.x


All times are GMT. The time now is 10:14 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.01497 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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