Project

General

Profile

Actions

Bug #16781

closed

Pagetree only shows up to Level 2 / Backend login impossible with MSSQL via ODBC

Added by Dan no-lastname-given over 17 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2006-12-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When using Typo3 (4.0.3.) with a MS-SQL DB the pagetree shows only 2 Levels.
The very top level and one below.

In the Frontent all levels are shown as well as in the DB-Check -> "Total Page Tree" tool.

(issue imported from #M4640)


Files

t3_pagetree.JPG (20.5 KB) t3_pagetree.JPG Administrator Admin, 2006-12-12 13:26
t3_dbal_debug_txt_file.zip (255 KB) t3_dbal_debug_txt_file.zip Administrator Admin, 2007-01-11 10:01
class.ux_t3lib_db.MSSQL.patch (2.18 KB) class.ux_t3lib_db.MSSQL.patch Administrator Admin, 2007-02-27 15:38
4640_v2.diff (2.28 KB) 4640_v2.diff Administrator Admin, 2010-03-07 23:07

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #22063: Backend login impossible with MSSQL via ODBC due to FetchRow() resultClosedXavier Perseguers2010-02-05

Actions
Actions #1

Updated by Christian Welzel over 17 years ago

Do you have tried to enable the dbal-debug code?
Does this print any errors during the queries?

Actions #2

Updated by Dan no-lastname-given over 17 years ago

Thanks for the advice - I've turned on dbal debugging now.
Yes, there has been an error.
I made screenshots of all important log-informations.

Put it all together in a Word File (t3_dbal_debug.zip) and as a txt file with images (t3_dbal_debug_txt_file.zip).

Actions #3

Updated by Karsten Dambekalns about 17 years ago

Hi, could those of you seeing this problem tell me what PHP version is used? Thanks.

Actions #4

Updated by Karsten Dambekalns about 17 years ago

I doubt the fix from Felix is correct, ADOdb does support ADODB_FETCH_BOTH.

Actions #5

Updated by Marc Bastian Heinrichs about 17 years ago

Hi Kasten,

same problem here with PHP version 4.4.6.
With Felix patch the problem is solved!

Greets,
MB

Actions #6

Updated by Georg Ringer over 16 years ago

The patch of Felix works fine and is needed for me to show more than 2 levels (+ patch of daniel)

Actions #7

Updated by David Smeringe over 16 years ago

I can also report success with Felix patch. Though I got problems again when installing templavoila, then the tree for the sub pages created by TV wizard doesn't appear and the listview doesn't list records anymore either. which it did before installing TV. However existing and new pages created outside root page connected to TV are shown and handled great. We're running PHP 5.2.4 and MSSQL 2005.

Actions #8

Updated by Xavier Perseguers over 14 years ago

Hi,

Is this issue still a problem for you with latest TYPO3 version?

If so, I'll have a look at this and fix it (would be great to get some euros back for work on DBAL :D), otherwise I'll close this issue as I could not reproduce it.

If it still happens for you, please give more information in order for me to be able to reproduce the issue.

Actions #9

Updated by Xavier Perseguers over 14 years ago

Committed 4640_v2.diff:

- trunk (rev. 30854)
- DBAL_1-0 (rev. 30855)

I still want to test whether problem with number of levels in pagetree is now solved before setting this bug to resolved.

Actions #10

Updated by Xavier Perseguers over 14 years ago

Using standard page module (not TemplaVoilà), I cannot show more than a single level (root + first level). Patch of Felix does not help in 4.4-dev (trunk at the moment).

The (+) icon is properly shown but when I click on it to open 2nd level, the whole tree closes. Opening it again only shows 1st level again.

Actions #11

Updated by Xavier Perseguers over 13 years ago

I now have a huge number of copies of the first node shown when I try to open it

Actions #12

Updated by Xavier Perseguers over 13 years ago

Problem understood! Autoincrement did not work with PDO. I created first page manually in MSSQL (with uid=1) and then created a subpage from within TYPO3 and it got uid=0 with pid=1. Somehow this created a circular reference when showing the page tree.

Actions #13

Updated by Tolleiv Nietsch almost 13 years ago

  • Target version deleted (0)
  • TYPO3 Version set to 4.4

@Xavier: how is that a TYPO3 issue? Seems more like an issue within PDO itself?

Actions #14

Updated by Xavier Perseguers almost 13 years ago

@Tolleiv Nietsch, I'll move it to the DBAL bugtracker

Actions #15

Updated by Xavier Perseguers almost 13 years ago

  • Project changed from TYPO3 Core to 329
  • Category deleted (999)
Actions #16

Updated by Anonymous almost 13 years ago

Hello,

since we have a productive (!) website using dbal and MSSQL with obdc I can confirm that this is solved.

Greets

Actions #17

Updated by Xavier Perseguers almost 13 years ago

  • Status changed from Needs Feedback to Resolved
  • % Done changed from 0 to 100

Thanks for the info

Actions #18

Updated by Michael Stucki over 10 years ago

  • Project changed from 329 to TYPO3 Core
Actions #19

Updated by Michael Stucki over 10 years ago

  • Category set to 999
Actions #20

Updated by Benni Mack almost 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF