Web Http Response:
[prepare_directory] cannot create directory "././upload/2021/03/15"
The path has ./ appended.
I'm not sure which version of "define('PHPWG_ROOT_PATH'...." is used in this instance, but every instance I found would suggest that the "./" prefix on my $conf['upload_dir'] setting is superfluous. That said, it has always worked with this incorrect setting, and indeed worked when I retried the upload.
Does it sometimes repair multiple ././ to ./ ?
The server(piwigo 11) is hosted on linux.
My upload_dir is set in the conf file as $conf['upload_dir'] = './upload';#
method called: pwg.images.upload
URL parameters method=pwg.images.upload&chunks=1&name=PiwigoClient_Upload_-8984915979986137847.jpg&chunk=0&pwg_token=3014efb2bb01b2b6be41c14e6de1fa32&category=1525&file=STREAM
Web Http Response:
[prepare_directory] cannot create directory "././upload/2021/03/15"
The path has ./ appended.
I'm not sure which version of "define('PHPWG_ROOT_PATH'...." is used in this instance, but every instance I found would suggest that the "./" prefix on my $conf['upload_dir'] setting is superfluous. That said, it has always worked with this incorrect setting, and indeed worked when I retried the upload.
Does it sometimes repair multiple ././ to ./ ?
<!-- github-sync-id:831698949 -->
adam
changed title from Piwigo 11.3.0 - Error creating upload folder when attempting to upload file using webservice call pwg.images.upload to Piwigo 11.3.0 - Error creating upload folder when attempting to upload file using webservice call pwg.images.upload 2026-10-27 11:19:18 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The server(piwigo 11) is hosted on linux.
My upload_dir is set in the conf file as $conf['upload_dir'] = './upload';#
method called: pwg.images.upload
URL parameters method=pwg.images.upload&chunks=1&name=PiwigoClient_Upload_-8984915979986137847.jpg&chunk=0&pwg_token=3014efb2bb01b2b6be41c14e6de1fa32&category=1525&file=STREAM
Web Http Response:
[prepare_directory] cannot create directory "././upload/2021/03/15"
The path has ./ appended.
I'm not sure which version of "define('PHPWG_ROOT_PATH'...." is used in this instance, but every instance I found would suggest that the "./" prefix on my $conf['upload_dir'] setting is superfluous. That said, it has always worked with this incorrect setting, and indeed worked when I retried the upload.
Does it sometimes repair multiple ././ to ./ ?
Piwigo 11.3.0 - Error creating upload folder when attempting to upload file using webservice call pwg.images.uploadto Piwigo 11.3.0 - Error creating upload folder when attempting to upload file using webservice call pwg.images.upload