Recent Topics

Feature Request: Move /tmp/ within b2evolution folder (b2e: 6.8.10)

Started by on Jul 26, 2017 – Last touched: Jul 27, 2017

Jul 26, 2017 07:20    

extract from error.log:


[Tue Jul 25 18:37:48 2017] [error] [client myIP] PHP Warning:  getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: open_basedir restriction in effect. File(/tmp/phpAZkAhs) is not within the allowed path(s): (/var/www/) in /var/www/www.example.com/com/inc/files/model/_file.funcs.php on line 1494, referer: http://www.example.com/com/admin.php?blog=1&mode=upload&ctrl=files&ajax_request=1&fm_mode=file_select&field_name=notification_logo_file_ID&root=shared_0&path=logos%2F
[Tue Jul 25 18:37:48 2017] [error] [client myIP] PHP Warning:  getimagesize(/tmp/phpAZkAhs) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: Operation not permitted in /var/www/www.example.com/com/inc/files/model/_file.funcs.php on line 1494, referer: http://www.example.com/com/admin.php?blog=1&mode=upload&ctrl=files&ajax_request=1&fm_mode=file_select&field_name=notification_logo_file_ID&root=shared_0&path=logos%2F
[Tue Jul 25 18:37:48 2017] [error] [client myIP] PHP Warning:  move_uploaded_file() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: open_basedir restriction in effect. File(/tmp/phpAZkAhs) is not within the allowed path(s): (/var/www/) in /var/www/www.example.com/com/inc/files/model/_file.funcs.php on line 1551, referer: http://www.example.com/com/admin.php?blog=1&mode=upload&ctrl=files&ajax_request=1&fm_mode=file_select&field_name=notification_logo_file_ID&root=shared_0&path=logos%2F
[Tue Jul 25 18:37:48 2017] [error] [client myIP] PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/www.example.com/com/inc/files/model/_file.funcs.php:1494) in /var/www/www.example.com/com/inc/_core/_misc.funcs.php on line 6710, referer: http://www.example.com/com/admin.php?blog=1&mode=upload&ctrl=files&ajax_request=1&fm_mode=file_select&field_name=notification_logo_file_ID&root=shared_0&path=logos%2F
[Tue Jul 25 18:37:48 2017] [error] [client myIP] b2evolution error: Headers have already been sent in _file.funcs.php on line 1494.Cannot redirect. in /var/www/www.example.com/com/inc/_core/_template.funcs.php at line 295 / REQUEST_URI:  /com/admin.php / HTTP_REFERER: http://www.example.com/com/admin.php?blog=1&mode=upload&ctrl=files&ajax_request=1&fm_mode=file_select&field_name=notification_logo_file_ID&root=shared_0&path=logos%2F, referer: http://www.example.com/com/admin.php?blog=1&mode=upload&ctrl=files&ajax_request=1&fm_mode=file_select&field_name=notification_logo_file_ID&root=shared_0&path=logos%2F

Jul 27, 2017 08:03

@fplanque wrote earlier:

Who is your webhost?

I am happy with our server settings (running TYPO3, Zen-Cart, FUDforum, Oxid eSales, Piwik) and I don't want our hoster to change any of them.

Question is, if you can create a /tmp within /b2evolution and link there, so b2evolution uses it's own /tmp folder.

Thanks.

Jul 27, 2017 10:08

I won't take an hour to investigate your issue if you can't take 5 seconds to type in the name of your webhost.

I need to know if we have a test server there, if we have had one at any time in the past, or if we can get one.

This post has 1 feedback awaiting moderation...


Form is loading...

blogging tool – This forum is powered by b2evolution CMS, a complete engine for your website.