When deleting
PHP Warning: readlink() [<a href='function.readlink'>function.readlink</a>]: No such file or directory in /opt/www/vhosts/biomimicry/htdocs/wiser_platform/apps/frontend/modules/media/actions/actions.class.php on line 134, referer: http://test.portal.modwest.com/wiser_platform/web/organism/88dafcb8b640b1455f6c05e3c38b61ae/section/gallery
[Sun Apr 06 19:43:45 2008] [error] [client 75.175.239.202] PHP Warning: mediaActions::include_once(helper/HelperHelper.php) [<a href='function.mediaActions-include-once'>function.mediaActions-include-once</a>]: failed to open stream: No such file or directory in /opt/www/vhosts/biomimicry/htdocs/wiser_platform/apps/frontend/modules/media/actions/actions.class.php on line 162, referer: http://test.portal.modwest.com/wiser_platform/web/organism/88dafcb8b640b1455f6c05e3c38b61ae/section/gallery
[Sun Apr 06 19:43:45 2008] [error] [client 75.175.239.202] PHP Warning: mediaActions::include_once() [<a href='function.include'>function.include</a>]: Failed opening 'helper/HelperHelper.php' for inclusion (include_path='/opt/www/vhosts/biomimicry/htdocs/wiser_platform/lib:/opt/www/vhosts/biomimicry/htdocs/wiser_platform:/opt/www/vhosts/biomimicry/htdocs/wiser_platform/apps/frontend/lib:/www/vhosts/biomimicry/htdocs/symfony/lib/vendor:.:/www/php/db:/www/php/lib:/usr/share/php/') in /opt/www/vhosts/biomimicry/htdocs/wiser_platform/apps/frontend/modules/media/actions/actions.class.php on line 162, referer: http://test.portal.modwest.com/wiser_platform/web/organism/88dafcb8b640b1455f6c05e3c38b61ae/section/gallery
[Sun Apr 06 19:43:45 2008] [error] [client 75.175.239.202] PHP Fatal error: Call to undefined function use_helper() in /opt/www/vhosts/biomimicry/htdocs/wiser_platform/apps/frontend/modules/media/actions/actions.class.php on line 163, referer: http://test.portal.modwest.com/wiser_platform/web/organism/88dafcb8b640b1455f6c05e3c38b61ae/section/gallery
Logged In: YES
user_id=1301905
Originator: YES
build-r4 - When uploading a gallery image I also get a mkdir error before these helper errors.
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: No such file or directory in /opt/www/vhosts/biomimicry/htdocs/wiser_platform/apps/frontend/lib/imageUploader.php on line 43, referer: http://test.portal.modwest.com/wiser_platform/web/organism/88dafcb8b640b1455f6c05e3c38b61ae/section/gallery
Logged In: YES
user_id=2026366
Originator: NO
Fixed in r10. Please Verify
Logged In: YES
user_id=1301905
Originator: YES
build-r16
Most of the errors are fixed, but I still get:
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: No such file or directory in /var/www/build-r16/wiser_platform/apps/frontend/lib/imageUploader.php on line 43
Logged In: YES
user_id=2026366
Originator: NO
I'm having trouble replicating this issue.
Test Env: http://qa.thewatermark.org/build-r34/wiser_platform/web/wedbg.php
Logged In: YES
user_id=1301905
Originator: YES
build-r27 - It only happens the first time you upload a gallery image for a given entity type. For example, I just created the first institution, and I'm trying to upload a gallery image. imageUploader line 44 is trying to
mkdir wiser_platform/web/uploads/institution/2361a1caa3ddaee65d2348d9bac7c357
but wiser_platform/web/uploads/institution does not exist yet. Something later in the code successfully creates both directories and sets permissions. I removed this chunk and it worked without any errors:
if ( !is_dir($objAction->filepath) ) {
mkdir($objAction->filepath);
system('chmod 777 ' . $objAction->filepath);
}
Logged In: YES
user_id=1301905
Originator: YES
build-r35 - Uploading works without errors now.
Still get a warning when trying to delete:
PHP Warning: readlink() [<a href='function.readlink'>function.readlink</a>]: No such file or directory in /var/www/build-r35/wiser_platform/apps/frontend/modules/media/actions/actions.class.php on line 133