Hello, I use the following CMS:editable code to upload a photo.
The uploading proces goes fine. I can upload large images. The image even shows in the directory. How ever when I save the page (and I assume the resize proces takes place) it throws a 500 error.
This is the error from the log.
[Thu Nov 29 12:04:46.382397 2018] [lsapi:notice] [pid 2959632:tid 139960125978368] [client 92.111.30.186:61020] [host http://www.site.nl] Backend log: PHP Warning: Unknown: open_basedir restriction in effect. File(/home/site/.php/php-mail.log) is not within the allowed path(s): (/home/hobiekv178/domains/site.nl/:/home/site/domains/include/:/etc/pki/tls/certs:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php55/lib/php/) in Unknown on line 0\n, referer: https://www.site.nl/couch/?o=index.php& ... 50e02a5/25
Any idea how i increase the file size for resizing? Note that I can upload large files to the server and also save them if I dont specify a Width in the editable tag.
Thanks alot in advance
Greetings,
Hobie
- Code: Select all
<cms:editable
name='item_img'
label='Kies een product foto'
show_preview='1'
preview_width='200'
width='1600'
crop='1'
type='image' />
The uploading proces goes fine. I can upload large images. The image even shows in the directory. How ever when I save the page (and I assume the resize proces takes place) it throws a 500 error.
This is the error from the log.
[Thu Nov 29 12:04:46.382397 2018] [lsapi:notice] [pid 2959632:tid 139960125978368] [client 92.111.30.186:61020] [host http://www.site.nl] Backend log: PHP Warning: Unknown: open_basedir restriction in effect. File(/home/site/.php/php-mail.log) is not within the allowed path(s): (/home/hobiekv178/domains/site.nl/:/home/site/domains/include/:/etc/pki/tls/certs:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php55/lib/php/) in Unknown on line 0\n, referer: https://www.site.nl/couch/?o=index.php& ... 50e02a5/25
Any idea how i increase the file size for resizing? Note that I can upload large files to the server and also save them if I dont specify a Width in the editable tag.
Thanks alot in advance

Greetings,
Hobie