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 :
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" !
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
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
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
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