Answer the question
In order to leave comments, you need to log in
When saving an element with a property on the local server, the file gives a Path is invalid error. (120)?
I copied the site from the server to the local server (OpenServer) and saving elements with the picture property stopped working and gives the following error
[Bitrix\Main\IO\InvalidPathException]
Path is invalid. (120)
C:\Project\locrt.claramente.site\bitrix\modules\main\lib\io\filesystementry.php:16
#0: Bitrix\Main\IO\FileSystemEntry->__construct
C:\Project\locrt.claramente.site\bitrix\modules\main\lib\io\directoryentry.php:9
#1: Bitrix\Main\IO\DirectoryEntry->__construct
C:\Project\locrt.claramente.site\bitrix\modules\main\lib\io\directory.php:9
#2: Bitrix\Main\IO\Directory->__construct
C:\Project\locrt.claramente.site\bitrix\modules\main\lib\io\filesystementry.php:73
#3: Bitrix\Main\IO\FileSystemEntry->getDirectory
C:\Project\locrt.claramente.site\bitrix\modules\main\lib\io\directoryentry.php:22
#4: Bitrix\Main\IO\DirectoryEntry->create
C:\Project\locrt.claramente.site\bitrix\modules\main\lib\io\file.php:69
#5: Bitrix\Main\IO\File->putContents
C:\Project\locrt.claramente.site\bitrix\modules\seo\lib\sitemapfile.php:110
#6: Bitrix\Seo\SitemapFile->addHeader
C:\Project\locrt.claramente.site\bitrix\modules\seo\lib\sitemapruntime.php:212
#7: Bitrix\Seo\SitemapRuntime->appendIBlockEntry
C:\Project\locrt.claramente.site\bitrix\modules\seo\lib\sitemapiblock.php:424
#8: Bitrix\Seo\SitemapIblock::actionUpdate
C:\Project\locrt.claramente.site\bitrix\modules\seo\lib\sitemapiblock.php:330
#9: Bitrix\Seo\SitemapIblock::__callStatic
C:\Project\locrt.claramente.site\bitrix\modules\main\classes\general\module.php:480
#10: ExecuteModuleEventEx
C:\Project\locrt.claramente.site\bitrix\modules\iblock\classes\mysql\iblockelement.php:1771
#11: CIBlockElement->Update
C:\Project\locrt.claramente.site\bitrix\modules\iblock\admin\iblock_element_edit.php:1055
#12: require(string)
C:\Project\locrt.claramente.site\bitrix\admin\iblock_element_edit.php:1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question