There's no DB server input.
Moderator: Thorsten
-
- Posts: 7
- Joined: Thu Dec 07, 2006 3:16 am
There's no DB server input.
Mac OS X server 10.4
PHP 5.1
sql 4.1.1
Ihave lots of php /sql stuff running but cannot install this one ?
I get
There's no DB server input.
on install
globals off etc safe mode off....
any ideas ?
I have chmod the whole FAQ directory ...
any help realy appreciated...
PHP 5.1
sql 4.1.1
Ihave lots of php /sql stuff running but cannot install this one ?
I get
There's no DB server input.
on install
globals off etc safe mode off....
any ideas ?
I have chmod the whole FAQ directory ...
any help realy appreciated...
Hi,
do you see the databases in a phpinfo() page?
bye
Thorsten
do you see the databases in a phpinfo() page?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 7
- Joined: Thu Dec 07, 2006 3:16 am
Hi,
I found the bug and I'm working on a fix.
bye
Thorsten
I found the bug and I'm working on a fix.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 7
- Joined: Thu Dec 07, 2006 3:16 am
Hi,
here's the patch:
Please open the file install/installer.php and go to line 317. Just change the following code from
to
and try it.
bye
Thorsten
here's the patch:
Please open the file install/installer.php and go to line 317. Just change the following code from
Code: Select all
<?php
// check what extensions are loaded in PHP
foreach ($supported_databases as $extension => $database) {
if (extension_loaded($extension) && version_compare(PHP_VERSION, $database[0]) >= 0) {
if ($extension = 'mysqli' && ini_get('zend.ze1_compatibility_mode')) {
continue;
}
printf('<option value="%s">%s</option>', $extension, $database[1]);
}
}
?>
Code: Select all
<?php
// check what extensions are loaded in PHP
foreach ($supported_databases as $extension => $database) {
if (extension_loaded($extension) && version_compare(PHP_VERSION, $database[0]) >= 0) {
if ($extension == 'mysqli' && ini_get('zend.ze1_compatibility_mode')) {
continue;
}
printf('<option value="%s">%s</option>', $extension, $database[1]);
}
}
?>
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
it has to work, I tested it here. Did you really added the patch, You have to add a "=" in the line 321.
bye
Thorsten
it has to work, I tested it here. Did you really added the patch, You have to add a "=" in the line 321.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 7
- Joined: Thu Dec 07, 2006 3:16 am
yes i patched it just as you suggested, saved the patched file, I even restarted the web server....Thorsten wrote:Hi,
it has to work, I tested it here. Did you really added the patch, You have to add a "=" in the line 321.
bye
Thorsten
its 3.00 in the morning here so I'm off to bed any moment, but I'll reply if I'm up,
Thanks,
Trampoline
-
- Posts: 7
- Joined: Thu Dec 07, 2006 3:16 am