Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support
Sign in to follow this  
Alucard1766

Interne Links gehen nicht nach Dumpimport

Recommended Posts

Hallo zusammen

Ich habe aus einem SQL Dump eine Datenbank des IPB wiederhergestellt und IPB3.2 frisch installiert. Wenn ich in der Config die Datenbank eintrage und das Board aufrufe sehe ich auch die Startpage mit allen Foren und Kategorien. Wenn ich dann aber auf einen Link (egal ob Kategorie oder Thread) klicke erscheint nur ein Datenbankfehler (There appears to be an error with the database.). Ich kann aber zum Beispiel oben auf Member gehen. Diese werden angezeigt. Auch das Registrierungsformular. Dieses kann aber nicht abgeschickt werden mit gleichem Fehler wie oben.

Was könnte der Grund für solches Verhalten sein und wie lässt sich das beheben?

Gruss

Edit: Die Adresse des Forums ist: http://localhost/upload/index.php und die Kategorie welche nicht funzt ist: http://localhost/upload/index.php/forum/43-boardnews/

Hoffentlich bringt euch das was ;)

Edited by Alucard1766

Share this post


Link to post

Danke für die prompte Rückmeldung

Hier der Logauszug(sql_error_latest.cgi):


----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Date: Wed, 24 Oct 2012 12:20:52 +0000

Error: 1146 - Table 'test.core_tags_cache' doesn't exist

IP Address: 127.0.0.1 - /upload/index.php/forum/43-boardnews/

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

mySQL query error: SELECT t.*,xxx.* FROM topics t  LEFT JOIN core_tags_cache xxx ON ( xxx.tag_cache_key=MD5(CONCAT('forums',';','topics',';',t.tid)) )   WHERE t.forum_id=43 AND t.pinned IN (0,1) AND  t.approved=1  ORDER BY t.pinned DESC,  t.last_post DESC LIMIT 0,30

.--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.

| File																	   | Function																	  | Line No.		  |

|----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------|

| C:\xampp\htdocs\upload\admin\applications\forums\modules_public\forums\forums.php| [public_forums_forums_forums].renderForum									 | 430			   |

'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'

| C:\xampp\htdocs\upload\admin\applications\forums\modules_public\forums\forums.php| [public_forums_forums_forums].showForum									   | 147			   |

'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'

| C:\xampp\htdocs\upload\admin\sources\base\ipsController.php			    | [public_forums_forums_forums].doExecute									   | 299			   |

'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'

Die Tabelle Core_Tags_cache existiert wirklich nicht. Aber wie fixe ich das? Da es sich um einen Cache handelt sollte man das evtl. noch hinbekommen.

Ist das eine IPB Systemtabelle?

Gruss

Share this post


Link to post

Die Tabelle gehört zum IP.Board, ja:

Ich gehe mal davon aus, das dein "Dump" aus einer älteren Forenversion stammt, dann muss erstmal der Updater (/admin/upgrade/) gestartet werden, damit alle SQL-Tabellen auf den aktuellen Stand gebracht werden.

Share this post


Link to post

Hallo Helge

Ich habe den Upgrader laufen lassen und sehe jetzt auch in die Kategorien rein. Leider kann ich aber nicht die Threads öffnen.

Wenn ich z.b. http://localhost/upl...-serverwechsel/ aufrufe kriege ich folgenden Fehler:

post-5678-0-36387400-1351157843_thumb.pn


----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Date: Thu, 25 Oct 2012 09:35:54 +0000

Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

IP Address: 127.0.0.1 - /upload/index.php/topic/119284-serverwechsel/

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

mySQL query error: SELECT banned_members FROM topics WHERE tid =

.--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.

| File																	 | Function																	 | Line No.		 |

|----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------|

| C:\xampp\htdocs\upload\admin\applications\forums\modules_public\forums\topics.php| [dp30BanFromTopicFunctions].topicSetUp									 | 185			 |

'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'

| C:\xampp\htdocs\upload\hooks\dp30BanFromTopicFunctions_9b9e5bc06117f3ce5ae62fd2a9d22de5.php| [public_forums_forums_topics].doExecute									 | 50			 |

'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'

| C:\xampp\htdocs\upload\admin\sources\base\ipsController.php			 | [dp30BanFromTopicFunctions].doExecute										 | 299			 |

'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'

Leider werde ich daraus nicht wirklich schlau. Kennst du da auch so eine Lösung?^^

Danke für die Hilfe

Gruss

Edit: Zeile 239 im angegebenen php file ist der schluss.

Inhalt: "}// end of class"

Edited by Alucard1766

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×