Task #78945

Parent folder "/" does not exist. after transfer database

Added by Harald Holzmann almost 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
-- undefined --
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-12-09
Due date:
% Done:

0%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Hello,

today i moved my typo3 database from a server to my local maschine (Windows / XAMPP). With the remote database, everything works perfect.

When i change it to the localhost (exact the same database), i get the following error: #1325689164: Parent folder "/" does not exist. Then i output the exact files ( var_dump($parentFolder->getIdentifier()); var_dump($folderName);) in Line 2271 in ResourceStorage.php File. The output says string(1) "/" string(11) "_processed_".

After further inspections I recognized that in the database table "sys_file_reference" is the problem. If I set some of the entrys as deleted, the page is build and working. The 2 rows which causing the Problem are with uid foreign 48 (tt_content) see the Screenshot.

Any ideas how to fix this?

I also tried in the Install Tools fix folder structure, database, cleared user sessions and so on.

The funny thing is, if i change it to the remote server, everything is working again (the remote database has the same entries).

sys_file_reference.PNG View (18 KB) Harald Holzmann, 2016-12-09 20:11

History

#1 Updated by Harald Holzmann almost 3 years ago

Now i have created the folder /_processed_ then the page is build, but everything is empty.

Any ideas?

#2 Updated by Harald Holzmann almost 3 years ago

  • Tracker changed from Bug to Task
  • Priority changed from Must have to -- undefined --

Hello,

sorry - it was just a problem by the database transfer with the encoding. PHPMyAdmin had a problem with the encoding. It works now

Kind regards,
Harald

#3 Updated by Wouter Wolters almost 3 years ago

  • Status changed from New to Closed

#4 Updated by Joe Jones about 2 years ago

Harald Holzmann wrote:

Hello,

sorry - it was just a problem by the database transfer with the encoding. PHPMyAdmin had a problem with the encoding. It works now

Kind regards,
Harald

Hallo Harald,

could you specify the problem of your database and how you solve the problem, please?

Thank you
Martin

Also available in: Atom PDF