Closed ozz-project closed 4 years ago
I downloaded 1.3.6.2 and tested again but cannot reproduce the behavior that you reported.
Are you sure that the folders content, media and so on with all the files inside have the rights described in the documentation?
It is described here and you have to set permissions recursively for the folders and all the content inside: https://typemill.net/getting-started/installation
If that is not the problem, then I need more information, maybe attach the image that you try to upload.
i use the php server under windows (php 7.4.5). There should no issue with the rights because the php webserver runs under the the same account as the current user (batch).
I tested it with XAMPP under windows and recent Firefox locally and it worked fine so I need more information to reproduce or fix it.
Do you see any error in the browser-console or in the network-tab when you add an image or drag an element?
You can also activate the php-error-reporting of the slim-framework by adding the following line to the settings.yaml-file:
displayErrorDetails: true
just in case. i did not use xampp. i use the webserver provided by php.
php -S localhost:8000
this the error i got.
`
c:\htdocs>c:\php\php.exe -S localhost:8000
[....]
[Wed May 13 07:05:32 2020] [::1]:50451 Accepted
[Wed May 13 07:05:32 2020] Slim Application Error:
Type: Error
Message: Call to undefined function Typemill\Models\imagecreatefromstring()
File: C:\htdocs\system\Models\ProcessImage.php
Line: 28
Trace: #0 C:\htdocs\system\Controllers\MediaApiController.php(109): Typemill\Models\ProcessImage->createImage()
View in rendered output by enabling the "displayErrorDetails" setting.
[Wed May 13 07:05:33 2020] [::1]:50451 [500]: POST /api/v1/image [Wed May 13 07:05:33 2020] [::1]:50451 Closing `
Typemill needs some extensions, for example the GD-extension for images, so you have to install them first. I don't have a list of extensions, because all the extensions are usually part of standard webservers.
Yeah. I don't know why GD Extension wasn't active. It was a normal default PHP version. Now it works... Thanks you for this quick and great support.
I have selected an image using the visual editor. It is also displayed in the preview, but saving does not work. The section is empty after that. It will not show any errors either Drag and Drop does not work either. I use version 1.3.6.2