Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > ibProArcade Archive
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
2.5.5+ brings back new db_driver_ib ERRORS Details »»
2.5.5+ brings back new db_driver_ib ERRORS
Version: , by C_P C_P is offline
Developer Last Online: Oct 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-30-2006 Last Update: Never Installs: 0
 
No support by the author.

Thank you for updates! However, ISSUE with mkportal still at game submission.
Quote:
$DB = new db_driver_ib;
Fatal error: Cannot instantiate non-existent class: db_driver_ib in /home/cpfools/public_html/forum/arcade.php on line 127
FYI, I received a different THIS db error at end of game submission
Quote:
Fatal error: Cannot redeclare class db_driver in /home/cpfools/public_html/mkportal/include/mk_mySQL.php on line 7
before making these changes:

Quote:
Im not sure if it's been posted yet but a workaround to the db_driver errors in mkportal you will need to find an replace db_driver with db_driver_ib in all the arcade files.

There is 6 occurences in total Here's a list of changes

In arcade.php
Find :

Code:
$DB = new db_driver;Replace:

Code:
$DB = new db_driver_ib;
In admincp/arcade.php
Find :

Code:
$DB = new db_driver;Replace:

Code:
$DB = new db_driver_ib;
In functions/dbclass.php
Find :

Code:
class db_driver {Replace:

Code:
class db_driver_ib {
I'll put the files back and wait for your suggestion Mr.Zeropage
https://vborg.vbsupport.ru/showpost....&postcount=546

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-31-2006, 04:28 AM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I won't support MKportal here, as I don't know or have that Mod.

Have you checked the included Info-File for MKportal ?
Reply With Quote
  #3  
Old 03-31-2006, 11:41 AM
C_P's Avatar
C_P C_P is offline
 
Join Date: Sep 2004
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MrZeropage
I won't support MKportal here, as I don't know or have that Mod.

Have you checked the included Info-File for MKportal ?
I have checked and had the link already set up. The info file which just tells users to set the url location for the arcade, it does not describe the db errors:
Quote:
If you are using MKportal and display the forum within the Portal itself, you should add
the Link to the Arcade like this:
PortalCP -> Navigation Links -> Add new Link
Icon: /atb_urlo.gif
Title: Arcade
URL: http://www.yourdomain.com/pathtoforum/arcade.php
and activate "open in a new window" !
I already had that set up.
See:
http://www.cpfools.com/forum/arcade.php?

This would be a shame to have to either revert or move to vbarcade because of this.
I'll wait and see for a day or so. If nothing, I'll make sure and spread the work at mkportal to people that are having this issue that this arcade will not work with mkportal and may have to use vbarcade.
I hope something can be done
Reply With Quote
  #4  
Old 04-06-2006, 01:28 PM
C_P's Avatar
C_P C_P is offline
 
Join Date: Sep 2004
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2 choices at this point. Continue to hope someone fixes this or move to the "other" arcade.
Reply With Quote
  #5  
Old 04-07-2006, 05:10 PM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmmm, I did not change or rename the $DB it was there all the time.
Did this MKportal change the name of it ?
Reply With Quote
  #6  
Old 04-07-2006, 05:18 PM
C_P's Avatar
C_P C_P is offline
 
Join Date: Sep 2004
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not sure. The only thing I did was the upgrade of the arcade. If you would like, I can give you access to my ftp info to review?
Reply With Quote
  #7  
Old 04-07-2006, 06:44 PM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, the DB-Driver was not changed anywhere.

But you seem to have instructions to change the $DB-Name everywhere in the Arcade
Quote:
Im not sure if it's been posted yet but a workaround to the db_driver errors in mkportal you will need to find an replace db_driver with db_driver_ib in all the arcade files.

There is 6 occurences in total Here's a list of changes
Sorry, but I won't support User's changes in the Arcade itself here - please ask where you got that instructions from.


But I can tell you this
Quote:
$DB = new db_driver_ib;
Fatal error: Cannot instantiate non-existent class: db_driver_ib in /home/cpfools/public_html/forum/arcade.php on line 127
you should check /arcade/functions/dbclass.phpand change it to this db_driver_ib I guess
Reply With Quote
  #8  
Old 04-07-2006, 06:54 PM
C_P's Avatar
C_P C_P is offline
 
Join Date: Sep 2004
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I changed all the other things back mentioned in that post so it is only the arcade files from you and no modifications.
I then changed ONLY the suggestion you mentioned and get
Quote:
Fatal error: Cannot instantiate non-existent class: db_driver in /home/cpfools/public_html/forum/arcade.php on line 127
See it here. http://www.cpfools.com/forum/arcade.php
Reply With Quote
  #9  
Old 04-07-2006, 07:25 PM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is normal.

MKportal seems to use the same DB-Driver-Name and thus made the instructions you quoted to change the Name to "db_driver_ib" all over the Arcade-Files, but the Driver-Class itself has to be renamed then, too -> /arcade/functions/dbclass.php
Reply With Quote
  #10  
Old 04-07-2006, 07:37 PM
C_P's Avatar
C_P C_P is offline
 
Join Date: Sep 2004
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am confussed, can you please contact me via pm for FTP info because you just told me to change that did you not?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:49 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04430 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete