Error on server

izmirart
8 Posts
izmirart posted this 13 November 2020

What is this error?

When I try to export theme as zip I get this error. Can you please advise?

![What is this error?][1] When I try to export theme as zip I get this error. Can you please advise? [1]: https://snipboard.io/06SFLj.jpg
Vote to pay developers attention to this features or issue.
6 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 13 November 2020

Hello,

Does this error happen when you work online in a browser or on desktop as well?
Try disabling all security related plugins and programs.

Gina
Themler Support

Hello, Does this error happen when you work online in a browser or on desktop as well? Try disabling all security related plugins and programs. Gina Themler Support
izmirart
8 Posts
izmirart posted this 13 November 2020

This is online error, I tried it in desktop app, there is no error while exporting.

Just to let you know I control my own server.

So; in the server, I changed php version from 7.4 to 7.1 and the error dissapeared.

Still wonder why this happened though.

This is online error, I tried it in desktop app, there is no error while exporting. Just to let you know I control my own server. So; in the server, I changed php version from 7.4 to 7.1 and the error dissapeared. Still wonder why this happened though.

Last edited 13 November 2020 by izmirart

izmirart
8 Posts
izmirart posted this 13 November 2020

I changed it back to 7.4 again and its giving a similar error while saving.

enter image description here

I changed it back to 7.4 again and its giving a similar error while saving. ![enter image description here][1] [1]: https://snipboard.io/YUsp9L.jpg
Support Team
Support Team posted this 13 November 2020

What Themler version do you use?
PHP 7.4 is supported by Themler 517.

Gina
Themler Support

What Themler version do you use? PHP 7.4 is supported by Themler 517. Gina Themler Support
artisteer23
1 Posts
Is Solution
artisteer23 posted this 14 November 2020

Hello,
I got this error with PHP 7.4.11. While waiting for Themler to make an update, I tested with Xampp and on my web server a :

  • By creating a tmp folder in ..../ThemeName/themes/Name/__ editor__/app/backend/tmp the messages don't appear anymore and the zip archives are ok (The tmpnam() function of common.php finds the tmp folder in its directory). Inconvenient it is necessary to empty manually the tmp folders because they are transferred in the archive and if an update is made it will be necessary to recreate the tmp folder.

  • This solution does not require create a tmp folder : Change path in __ editor__/app/backend/common.php lines 362 and 410 : tempnam('tmp' to = tempnam('../../../../../tmp' . This allows to use the tmp folder created automatically by themler in ThemeName.
    I hope it will work for you.
    Kind regards

Hello, I got this error with PHP 7.4.11. While waiting for Themler to make an update, I tested with Xampp and on my web server a : - By creating a tmp folder in ..../ThemeName/themes/Name/__ editor__/app/backend/tmp the messages don't appear anymore and the zip archives are ok (The tmpnam() function of common.php finds the tmp folder in its directory). Inconvenient it is necessary to empty manually the tmp folders because they are transferred in the archive and if an update is made it will be necessary to recreate the tmp folder. - This solution does not require create a tmp folder : Change path in __ editor__/app/backend/common.php **lines 362 and 410** : tempnam('**tmp**' to = tempnam('**../../../../../tmp**' . This allows to use the tmp folder created automatically by themler in ThemeName. I hope it will work for you. Kind regards

Last edited 16 November 2020 by artisteer23

Support Team
Support Team posted this 16 November 2020

Thank you for letting us know the result, this is very helpful.

Gina
Themler support

Thank you for letting us know the result, this is very helpful. Gina Themler support
You must log in or register to leave comments