[Release] Mu Core 1.0.8 + PHP7 Loader
Hi, I've seen that many are still using the mucore, and as we know, this website only works a very old php version. So the insecurity and instability of the mucore is very critical !.Then I decided to update it to work with PHP7. I have to stress that this version of mucore only works with PHP 7 and up.I hope you like my contribution.
Changelog:
Quote:
-Update Core engine, admincp and modules for PHP7+
-Update/Fix Template default for use on this mucore.
-Fix small bugs in install
-Edit Install for news requires of the mucore.
-Other small fixes...
Link Mucore: MuCore 1.0.8 + PHP7 Loader.
Link Xampp(Use xampp with php 7.2): Xampp Download Center
Link SQLServer PHP: PHP-SQLSRV Driver 7.2
Video Tutorial (Spanish Only):
https://www.youtube.com/watch?v=DdObiCr1Zoc
How to install
1- Download and install xampp with php7.2
2- Download and extract PHP-SQL Drivers for PHP7.2 in xamppfolder>php>ext (Dll x86 + ts only)
3- Change names of the librarys:
- php_sqlsrv_72_ts for php_sqlsrv
- php_pdo_sqlsrv_72_ts for php_pdo_sqlsrv
4- Open php.ini in xamppfolder>php , Search extension=php_bz2 and add:
*extension=php_sqlsrv
*extension=php_pdo_sqlsrv
5- Restart Xampp Apache and install mucore in xamppfolder>htdocs
Credits:
-MuCore (obviously).
-Isumeru & MaryJo For fixes and edit this mucore
-Kevin fernandez for final fix, update, and edit mucore
re: [Release] Mu Core 1.0.8 + PHP7 Loader
Tried installing it using latest XAMPP + the Drivers included but still getting error on the ff:
- short_open_tag=On
- extension=php_sqlsrv.dll
- extension=php_pdo_sqlsrv.dll
it's being detected as off even though its already on w/o the ";" and reset apache.
UPDATE:
php issues now fixed!
PROBLEM NOW:
DBase not connecting
re: [Release] Mu Core 1.0.8 + PHP7 Loader
re: [Release] Mu Core 1.0.8 + PHP7 Loader
Nice!
I hope you're not using XAMPP on production.
Just my 2 cents.
Re: [Release] Mu Core 1.0.8 + PHP7 Loader
for which seasons ?
i need 97d 99i
- - - Updated - - -
Quote:
Originally Posted by
kevincho
Hi, I've seen that many are still using the mucore, and as we know, this website only works a very old php version. So the insecurity and instability of the mucore is very critical !.Then I decided to update it to work with PHP7. I have to stress that this version of mucore only works with PHP 7 and up.I hope you like my contribution.
Changelog:
Link Mucore: MuCore 1.0.8 + PHP7 Loader.
Link Xampp(Use xampp with php 7.2): Xampp Download Center
Link SQLServer PHP: PHP-SQLSRV Driver 7.2
Video Tutorial (Spanish Only):
https://www.youtube.com/watch?v=DdObiCr1Zoc
How to install
1- Download and install xampp with php7.2
2- Download and extract PHP-SQL Drivers for PHP7.2 in
xamppfolder>php>ext (Dll x86 + ts only)
3- Change names of the librarys:
- php_sqlsrv_72_ts for php_sqlsrv
- php_pdo_sqlsrv_72_ts for php_pdo_sqlsrv
4- Open php.ini in
xamppfolder>php , Search
extension=php_bz2 and add:
*extension=php_sqlsrv
*extension=php_pdo_sqlsrv
5- Restart Xampp Apache and install mucore in
xamppfolder>htdocs
Credits:
-MuCore (obviously).
-Isumeru & MaryJo For fixes and edit this mucore
-Kevin fernandez for final fix, update, and edit mucore
for which seasons ?
i need 97d 99i
Re: [Release] Mu Core 1.0.8 + PHP7 Loader
from config php:
PHP Code:
/*------------------------------------------*\
| Server Databases: |
| |
| 0 : MuOnline [database] |
| 1 : MuOnline and Me_Muonline [databases] |
\*------------------------------------------*/
$core['server_use_2_db'] = "0";
##############################################
/*-------------------------------------*\
| MUCore SQL Connection Type: |
| |
| MSSQL : Connect using mssql_conect() |
| ODBC : Connect using odbc |
\*-------------------------------------*/
$core['connection_type'] = "ODBC";
//$core['connection_type'] = "MSSQL";
#########################################
/*--------------------------------------------------*\
| MuOnline Database Connection Settings |
| |
| $core['db_host'] : Database host address |
| $core['db_name'] : Database name |
| $core['db_use'] : SQL Authentication user |
| $core['db_password'] : SQL Authentication password |
\*--------------------------------------------------*/
$core['db_host'] = "localhost";
$core['db_name'] = "MuOnline";
$core['db_user']= "sa";
$core['db_password'] = "mypassword";
on
PHP Code:
$core['db_host'] = "localhost";
tried (local) and 127.0.0.1 aswell but same result
Code:
Warning: odbc_connect(): SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in D:\xampp\htdocs\muweb\engine\adodb\drivers\adodb-odbc.inc.php on line 66
MuOnline: Connection error to server 'MuOnline' with user 'sa'
Failed - Fix this
when i do:
PHP Code:
<?php
$link = odbc_connect('MuOnline', 'sa', 'mypassword');
if(!$link) {
echo'Could not connect';
die('Could not connect: ' . mssql_error());
}
echo'Successful connection';
odbc_close($link);
?>
it will connect successfully
php.ini:
Code:
extension=bz2
extension=curl
extension=fileinfo
extension=gd2
extension=gettext
extension=mssql
extension=php_mssql.dll
;extension=gmp
;extension=intl
;extension=imap
;extension=interbase
;extension=ldap
extension=mbstring
extension=exif ; Must be after mbstring as it depends on it
extension=mysqli
;extension=oci8_12c ; Use with Oracle Database 12c Instant Client
extension=odbc
;extension=openssl
;extension=pdo_firebird
extension=pdo_mysql
;extension=pdo_oci
extension=pdo_odbc
;extension=pdo_pgsql
extension=pdo_sqlite
;extension=pgsql
;extension=shmop
extension=php_sqlsrv
extension=php_pdo_sqlsrv
i have no idea whats wrong here...
Re: [Release] Mu Core 1.0.8 + PHP7 Loader
Re: [Release] Mu Core 1.0.8 + PHP7 Loader
go to step2 install/install.php?step=step_2
Re: [Release] Mu Core 1.0.8 + PHP7 Loader
Failed to connect to the MuOnline database
https://imgur.com/a/aDUSpkO @commandcom where did you applied that php code?
https://imgur.com/a/aDUSpkO
2 Attachment(s)
Re: [Release] Mu Core 1.0.8 + PHP7 Loader
test php... just to see if it connect to db...
and it did...
When i use
PHP Code:
//$core['connection_type'] = "ODBC";
$core['connection_type'] = "MSSQL";
Then error as follows:
Attachment 164141
When i use
PHP Code:
$core['connection_type'] = "ODBC";
//$core['connection_type'] = "MSSQL";
Then this kind of error
Attachment 164140
I have no idea whats wrong and where...
Re: [Release] Mu Core 1.0.8 + PHP7 Loader
Basically nothing works nomatter how well you edit config.php
Re: [Release] Mu Core 1.0.8 + PHP7 Loader
Is this working for two databases? or it reads only one?
[Edit]
I already solved this, you have to read carefully and change some lines in step_2.php to make 2 database work.
Re: [Release] Mu Core 1.0.8 + PHP7 Loader
Did anyone tried this in a hosting?
Re: [Release] Mu Core 1.0.8 + PHP7 Loader
Anyone know how to solve database connecting problem?
- - - Updated - - -
Quote:
Originally Posted by
commandcom
test php... just to see if it connect to db...
and it did...
When i use
PHP Code:
//$core['connection_type'] = "ODBC";
$core['connection_type'] = "MSSQL";
Then error as follows:
Attachment 164141
When i use
PHP Code:
$core['connection_type'] = "ODBC";
//$core['connection_type'] = "MSSQL";
Then this kind of error
Attachment 164140
I have no idea whats wrong and where...
Did you solve the problem?
Re: [Release] Mu Core 1.0.8 + PHP7 Loader
found some working site... this one does not work at all