Importing / Exporting Database Errors

Importing data

Updating Products…29780.

Warning: mkdir() [function.mkdir]: File exists in /home/zioinc/public_html/zcart/core/fn.fs.php on line 114





Updating links… OK

Updating Products…29780.

Warning: mkdir() [function.mkdir]: File exists in /home/zioinc/public_html/zcart/core/fn.fs.php on line 114



Currently having problems upgrading my databases from version 2.0.9 > 2.1.1



I exported my sections & products and then imported them into my new build and I get the above errors.

Warning: mkdir() [function.mkdir]: File exists in /home/gemnetwo/public_html/core/fn.fs.php on line 114



Hmmm … I just got that same error for the first time.

But I had made no changes to the site or admin area.

Permission for the file is 0666



Do I just ‘REM’ out that line?



110 foreach ($dir_arr as $k => $v) {

111 $path .= (empty($k) ? ‘’ : ‘/’) . $v;

112 if (!@is_dir($path)) {

113 umask(0);

114 mkdir($path, $perms);

Going to assume it’s the new image directory stuff where it tries to create sub-directories based on some maximum number of files setting. It would appear that whatever path it is trying to create with the mkdir() already exists as a file.