---
title: "ext_tables.sql bei Page PHP Content bleibt leer??"
url: "https://www.typo3.net/d/38825-ext-tablessql-bei-page-php-content-bleibt-leer"
source: "typo3.net"
tags: ["Extensions","Entwicklung","Datenbank","Frage"]
created: "2006-03-02"
last_reply: "2006-03-04"
replies: 7
solved: false
page: 1
pages: 1
lang: "de"
---

# ext_tables.sql bei Page PHP Content bleibt leer??

Extensions › Entwicklung · 7 Antworten · gestartet 2006-03-02

## Eröffnungsbeitrag

**Dario** · 2006-03-02 · [Beitrag #1](https://www.typo3.net/d/38825-ext-tablessql-bei-page-php-content-bleibt-leer/1)

Nach der Instalation der "Page PHP Content" bleibt die ext_tables.sql leer.

Es kommt dann folgende Fehlermeldung:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/doc/xxxx/xxxxxx/www/typo3/typo3/t3lib/class.t3lib_db.php on line 711

Warning: Cannot modify header information - headers already sent by (output started at /home/www/doc/xxxx/xxxxx/www/typo3/typo3/t3lib/class.t3lib_db.php:711) in /home/www/doc/xxxx/xxxxx/www/typo3/typo3/template.php on line 601

Errors:
	2: SQL error: 'Unknown column 'tx_pagephpcontent_php_code' in 'field list'' (tt_content:57)

Bitte um Hilfe!

## Antworten

### [#2](https://www.typo3.net/d/38825-ext-tablessql-bei-page-php-content-bleibt-leer/2) · Unbekannter Benutzer · 2006-03-02

versuch mal das:

InstallTool --> Database Analyzer --> Update required tables

### [#3](https://www.typo3.net/d/38825-ext-tablessql-bei-page-php-content-bleibt-leer/3) · Dario · 2006-03-02

Danke,

ich komme da aber auch nicht weiter.

Update database tables and fields:
Table and field definitions should be updated
There seems to be a number of differencies between the database and the selected SQL-file. Please select which statements you want to execute in order to update your database:

Add fields
	ALTER TABLE tt_content ADD tx_pksaveformmail_savetopid blob NOT NULL;
	ALTER TABLE tt_content ADD tx_pagephpcontent_php_code text NOT NULL auto_increment;
Removing tables (rename with prefix)
	(EXT) ALTER TABLE tx_rtehtmlarea_acronym RENAME zzz_deleted_tx_rtehtmlarea_acronym;

Dann drucke ich WRITE TO DATABASE

und nichts passiert!!!

### [#4](https://www.typo3.net/d/38825-ext-tablessql-bei-page-php-content-bleibt-leer/4) · Unbekannter Benutzer · 2006-03-02

und wenn du über den ExtManager den Dump der Extension erneut einliest?
also ExtManager --> "Loaded extensions" auswählen --> php page content öffnen --> rechts oben im Menu "Dump DB" auswählen --> "Write this dump to ext_tables.sql now!" anklicken

### [#5](https://www.typo3.net/d/38825-ext-tablessql-bei-page-php-content-bleibt-leer/5) · Dario · 2006-03-03

Jetzt ist zwar dies hier weg

ALTER TABLE tt_content ADD tx_pagephpcontent_php_code text NOT NULL auto_increment;

bei Seite-Typ PHP Script kommt beim Speichern wieder Fehler von oben:

Warning: mysql_num_rows()...

Ausserdem bei Installation Status unter "Errors":

**Class filename "pi1/class.tx_pagephpcontent_pi1.php" did NOT contain the class "tx_pagephpcontent_pi1"!**

### [#6](https://www.typo3.net/d/38825-ext-tablessql-bei-page-php-content-bleibt-leer/6) · woida · 2006-03-03

ALTER TABLE tt_content ADD tx_pagephpcontent_php_code text NOT NULL **auto_increment**;

Eine Tabelle darf nur einen auto_increment Wert haben, und bei tt_content ist das uid.

Deshalb wurde die Spalte wohl nicht gespeichert und pagephpcontent mekert jetzt rum.

Ein Bug??

### [#7](https://www.typo3.net/d/38825-ext-tablessql-bei-page-php-content-bleibt-leer/7) · Dario · 2006-03-03

UND NUN??  #angry#

### [#8](https://www.typo3.net/d/38825-ext-tablessql-bei-page-php-content-bleibt-leer/8) · steffenk · 2006-03-04

php_page_content deinstallieren, in phpMyAdmin die Tabelle löschen und neu installieren.

---

Quelle: „ext_tables.sql bei Page PHP Content bleibt leer??“, typo3.net, https://www.typo3.net/d/38825-ext-tablessql-bei-page-php-content-bleibt-leer
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
