View Issue Details

IDProjectCategoryView StatusLast Update
0016537mantisbtdb oraclepublic2014-12-08 02:08
Reporterhasanodabasi Assigned Todregad  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.0dev 
Target Version1.3.0-beta.1 
Summary0016537: Fatal error: Call to undefined function db_oracle_order_binds_sequentally()
Description

mantis is not work yet. I have fatal error

Fatal error: Call to undefined function db_oracle_order_binds_sequentally() in C:\xampp\htdocs\mantis\core\database_api.php on line 1181

TagsNo tags attached.
Attached Files
Error_Page.png (248,122 bytes)   
Error_Page.png (248,122 bytes)   
Error_Page2.png (269,617 bytes)   
Error_Page2.png (269,617 bytes)   

Activities

dregad

dregad

2013-10-27 01:54

developer   ~0038347

What version of mantis is that?

hasanodabasi

hasanodabasi

2013-10-27 04:06

reporter   ~0038350

Hi dregad, version 1.3.0 and I am trying install with oracle but not working.
I got this error in previous versions.

atrol

atrol

2013-10-27 05:32

developer   ~0038351

Last edited: 2013-10-27 05:32

@dregad as a side note:
I just noticed that our nightly builds for master contain adodb 5.10 (I assume you want 5.18)
You get the same problem when cloning our repository from github.

hasanodabasi

hasanodabasi

2013-10-27 07:11

reporter   ~0038353

I installed adodb on nightly builds site. But don't work again. Error code is :
Fatal error: Call to undefined function db_oracle_adapt_query_syntax() in C:\xampp\htdocs\mantisbt-master\core\database_api.php on line 357.
function db_oracle_adapt_query_syntax name is db_oracle_adapt_query_syntax_ora in your database_api.php like this
if( db_is_oracle() ) {
$p_query = db_oracle_adapt_query_syntax_ora( $p_query , $arr_parms );
}

When I change the name of the error is
Fatal error: Call to undefined function db_oracle_order_binds_sequentally() in C:\xampp\htdocs\mantisbt-master\core\database_api.php on line 1181

hasanodabasi

hasanodabasi

2013-10-27 07:17

reporter   ~0038354

when I comment out function db_oracle_order_binds_sequentally()
The resulting error screen is attached.

atrol

atrol

2013-10-27 07:43

developer   ~0038355

There are more undefined functions:

  • db_oracle_adapt_query_syntax (but there is a db_oracle_adapt_query_syntax_ora)
  • order_binds_sequentially
hasanodabasi

hasanodabasi

2013-10-27 07:59

reporter   ~0038356

db_oracle_order_binds_sequentally(there is db_oracle_order_binds_sequentially)
sequentally -> sequentially :-). But it doesn't again.

hasanodabasi

hasanodabasi

2013-10-27 09:58

reporter   ~0038357

Table prefix and suffix invalid.
I set prefix and suffix in file
C:\xampp\htdocs\mantisbt-master\config_inc.php but uses C:\xampp\htdocs\mantisbt-master\config_defaults_inc.php. Login page is work but next page doesn't work properly. The resulting error screen is attached.

hasanodabasi

hasanodabasi

2013-10-27 10:28

reporter   ~0038359

Ok working.

dregad

dregad

2013-10-27 13:10

developer   ~0038361

hasanodabasi,

Since 1.3 is currently a development release, I'm lowering the priority to normal. That said, I'll push a commit to fix this issue shortly.

I'm a bit confused about your note 0016537:0038357, the prefix and suffix are normally set from the installer, which generate a syntactically correct config_inc.php file (or print its contents for you to create it manually at the end of installation process), and you should not have to touch config_defaults_inc.php.

dregad

dregad

2013-10-27 13:39

developer   ~0038363

atrol, re: 0016537:0038351, I opened 0016539 to track the issue

hasanodabasi

hasanodabasi

2013-10-27 14:43

reporter   ~0038364

On installation progress prefix and suffix generates SQL properly(for example m_user table) but when running login.php it's calling mantis_user_table prefix and suffix parameters in config_defaults_inc.php.

hasanodabasi

hasanodabasi

2013-10-27 14:45

reporter   ~0038365

if I not change code don't work.

dregad

dregad

2013-10-28 04:44

developer   ~0038367

Did you create the config_inc.php file or not ?

hasanodabasi

hasanodabasi

2013-10-28 11:12

reporter   ~0038372

Auto created.

Related Changesets

MantisBT: master f0373df2

2013-10-27 09:18

dregad


Details Diff
Oracle: fix errors in database API function names

Commit 321e03569fe163e101e737b585c31f22e7576510 renamed some functions
from original patch, to comply with MantisBT coding guidelines. This
fixes the following errors:
- one occurrence of order_binds_sequentially() was not renamed
properly, and another was left with its original name
- db_oracle_adapt_query_syntax() was left with a trailing '_ora'

Fixes 0016537
Affected Issues
0016537
mod - core/database_api.php Diff File