![]() |
Quote:
|
Quote:
Furthermore, if i keep set $MYSQLI = 0; I get this error: Call to undefined function mysql_connect() on line 41 in /home/username/public_html/forum/arcade/functions/dbclass.php #0 /home/username/public_html/forum/arcade.php(188): db_driver->connect() #1 {main} So, does that mean the only way to get this to work is downgrade to PHP 5.6 again? Are these issues a result of upgrading to php 7 or 4.2.5?? |
I believe these are issues related to the PHP/MySQL versions, not the vB version. I don't know how to resolve the other error, although I will admit not putting much time into it because in general, I always seem to have more important issues to deal with. :)
|
Quote:
|
Quote:
edit: I forgot to mention, these files are located in the "arcade/functions" folder. |
Another change that needs to be made so that the product settings work within the AdminCP is to edit the file "admincp/arcade.php" to change line 41 to:
PHP Code:
|
Quote:
This file already had the live above as you mentioned. I also did all the previous changes you mentioned but still getting this error: Quote:
and in the error logs the following: Code:
[21-May-2017 03:09:31 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; info has a deprecated constructor in /home/username/public_html/forum/arcade.php on line 112 Any other advice? |
What version of vB are you running? On the site where I was having the issue, I coincidentally upgraded to the latest vB 4.2.5 (I was running a Beta before) and then after the upgrade, I looked at the arcade issue again, and it was only then that the "Cannot find database" issue went away, and only then could I proceed with the changes I described in the past few posts. :)
|
I took sometime checking this for a friend
on MYSQLI class I changed the connect function to PHP Code:
PHP Code:
PHP Code:
|
Quote:
|
All times are GMT. The time now is 12:01 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|