Error: There's no DB server input. 1.6.8
Moderator: Thorsten
Error: There's no DB server input. 1.6.8
Hello all. Looking forward to using this system, but I keep getting this following error after attempting to install the program.
Error: There's no DB server input.
I have unzipped all files, uploaded them, and changed chmod to 777 for all directories and files for installation only.
I am using localhost as the DB value. Does it require a full host domain or IP address? Everything else is correct in the info.
PHP 4.4.4
MySQL 4.1.21-standard
everything loaded in /faq/ directory
database and admin for mySQL created
Thanks.
Error: There's no DB server input.
I have unzipped all files, uploaded them, and changed chmod to 777 for all directories and files for installation only.
I am using localhost as the DB value. Does it require a full host domain or IP address? Everything else is correct in the info.
PHP 4.4.4
MySQL 4.1.21-standard
everything loaded in /faq/ directory
database and admin for mySQL created
Thanks.
Hi,
which database did you selected in the install script?
bye
Thorsten
which database did you selected in the install script?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
if 2.0 installs the 1.6.7 release should also install. Are you sure, you did completely the same workflow during the first installation?
bye
Thorsten
if 2.0 installs the 1.6.7 release should also install. Are you sure, you did completely the same workflow during the first installation?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
did you entered the database name in the install script?
bye
Thorsten
did you entered the database name in the install script?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
trampoline
- Posts: 7
- Joined: Thu Dec 07, 2006 3:16 am
Hi,
yes, I found the problem and I'm working on a fix.
bye
Thorsten
yes, I found the problem and I'm working on a fix.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
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
-
goldfish_23
- Posts: 6
- Joined: Thu Dec 14, 2006 1:46 pm
Same Problem
Hi,
I had the same problem... and the fix worked and installation seemed to go okay... but now I get a 500 error when I try to view the faq. Oddly the admin section displays fine.
Any ideas?
p.s. I'm attempting to install 1.6.7. I've got 1.6.6 running on the same server in a different hosting account and that didn't have any problems during or after installation.
p.p.s. Wonderful script Thorsten keep up the wonderful work! We'll donate as soon as we make some money!
I had the same problem... and the fix worked and installation seemed to go okay... but now I get a 500 error when I try to view the faq. Oddly the admin section displays fine.
Any ideas?
p.s. I'm attempting to install 1.6.7. I've got 1.6.6 running on the same server in a different hosting account and that didn't have any problems during or after installation.
p.p.s. Wonderful script Thorsten keep up the wonderful work! We'll donate as soon as we make some money!
http://www.choose-a-domain.com/ - Choose YOUR Domain today!
Re: Same Problem
Hi
Ciao,
Matteo
in our experience this error (admin ok, user ko) usually means that index.php has been corrupted during upload. Could you look at your webserver logs to give us some more details?goldfish_23 wrote:I had the same problem... and the fix worked and installation seemed to go okay... but now I get a 500 error when I try to view the faq. Oddly the admin section displays fine.
Any ideas?
FYI: we're quite ready to release 1.6.8. Just check if your issue is a PMF code error or not and then in the next days 1.6.8 will come out.goldfish_23 wrote:p.s. I'm attempting to install 1.6.7. I've got 1.6.6 running on the same server in a different hosting account and that didn't have any problems during or after installation.
Ciao,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist
-
goldfish_23
- Posts: 6
- Joined: Thu Dec 14, 2006 1:46 pm
error_log
I was unable to find an error log... doesn't seem to have produced one for some reason.
I'm afraid I've uninstalled and installed 1.6.6 as I knew that worked okay for us. Again installation ran smoothly.
I'll try 1.6.8 when it comes out... but I'll use a test account rather than tormenting our customers!
I'm afraid I've uninstalled and installed 1.6.6 as I knew that worked okay for us. Again installation ran smoothly.
I'll try 1.6.8 when it comes out... but I'll use a test account rather than tormenting our customers!
http://www.choose-a-domain.com/ - Choose YOUR Domain today!
Re: error_log
Hi,
Ciao,
Matteo
if you're running PMF under Apache try to check its error.log file.goldfish_23 wrote:I was unable to find an error log... doesn't seem to have produced one for some reason.
Ciao,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist
-
goldfish_23
- Posts: 6
- Joined: Thu Dec 14, 2006 1:46 pm
two errors -
Premature end of script headers: /***address***/public_html/faq/index.php
Premature end of script headers: /***address***/public_html/faq/admin/index.php
Premature end of script headers: /public_html/faq/install/installer.php
error: directory is writable by others: (/***address***/public_html/faq/install
error: directory is writable by others: (/***address***/public_html/faq/admin)
error: directory is writable by others: (/***address***/public_html/faq)
Could it have been chmod errors all along?
Premature end of script headers: /***address***/public_html/faq/index.php
Premature end of script headers: /***address***/public_html/faq/admin/index.php
Premature end of script headers: /public_html/faq/install/installer.php
error: directory is writable by others: (/***address***/public_html/faq/install
error: directory is writable by others: (/***address***/public_html/faq/admin)
error: directory is writable by others: (/***address***/public_html/faq)
Could it have been chmod errors all along?
http://www.choose-a-domain.com/ - Choose YOUR Domain today!
Hi,
Ciao,
Matteo
No, usually it depends on some other factors like loaded apache modules and PHP version. Could you post some info about:goldfish_23 wrote:Could it have been chmod errors all along?
- your server (OS, Apache version, PHP version);
- Are you running CPanel on that server?
- The "premature end" is arised on the PHP file or on the Apache configured error document file?
Ciao,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist