vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   2.5.5+ brings back new db_driver_ib ERRORS (https://vborg.vbsupport.ru/showthread.php?t=111753)

C_P 03-30-2006 10:52 PM

2.5.5+ brings back new db_driver_ib ERRORS
 
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

MrZeropage 03-31-2006 03:28 AM

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

Have you checked the included Info-File for MKportal ?

C_P 03-31-2006 10:41 AM

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

C_P 04-06-2006 12:28 PM

2 choices at this point. Continue to hope someone fixes this or move to the "other" arcade.
:(

MrZeropage 04-07-2006 04:10 PM

Hmmmm, I did not change or rename the $DB it was there all the time.
Did this MKportal change the name of it ?

C_P 04-07-2006 04:18 PM

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?

MrZeropage 04-07-2006 05:44 PM

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

C_P 04-07-2006 05:54 PM

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

MrZeropage 04-07-2006 06:25 PM

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

C_P 04-07-2006 06:37 PM

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


All times are GMT. The time now is 05:05 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.01581 seconds
  • Memory Usage 1,737KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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