View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005729 | mantisbt | installation | public | 2005-06-08 04:39 | 2005-07-23 02:13 |
Reporter | yoyo173fr | Assigned To | thraxisp | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 1.0.0a3 | ||||
Summary | 0005729: Fatal error when loading default page | ||||
Description | when loadinf default page I get this message Fatal error: 401 in /var/www/free.fr/0/a/hattrickchallenge/bug/core/database_api.php on line 109 all seems to be ok in admin/check.php | ||||
Additional Information | I'm running PHP 4.3.10 on MySQL 4.0.22 | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
I'm sorry to bother if I'm wrong, but I don't think it's a duplicate of 0005717 or 0005691 because it's before login not after login. Note: for these 2 platform I have no 0005729 problem but I've got 0005691 issue so I've download and installed the patch from cvs successfully but for my last platform |
|
Could you turn $g_show_detailed_errors = ON; and post more details of the error. The one you listed is a generic SQL command failed message. |
|
It doesn't show up any information! it occurs in function "db_query" in core/database.api fawlty code
error is on trigger_error function result: |
|
There seem to be two problems here. The first, which I am fixing, is that the query should not be made with a blank cookie string. Second, the database query shouldn't fail in this case. It should just return no rows, unless the database table is missing. Was the database created according to the installation instructions? |
|
Yes the database was created according to the installation instructions |
|
Partial fix submitted to CVS. A blank cookie is now considered invalid. core/authentication_api.php -> 1.50 Could you patch this module from CVS and retest? |
|
It's better but there are still some problems, I've uploaded the result page In fact, after some others tests, I've detected that I haven't filled But very stange admin/check.php doesn't show any errors related to this. I have even tried to enter some scrappy username or hostname and admin/check.php doesn't show any errors. In conclusion, bug is fixed for me if I enter $g_database_name even if it shouldn't be necessary, but admin/check.php doesn't detect all configuration problems related to database. |
|
Resolving for now. With new install code in CVS HEAD, this should be less of an issue, as install.php will detect it when trynig to create a DB. We do however need to be careful of the current organisation of install.php/check.php checks. |
|