errors wehen Compiling the application with Inno Setup Compiler

33 views
Skip to first unread message

Heinz Ernst

unread,
Jan 2, 2025, 2:54:21 PMJan 2
to PHP Desktop
Hello
when I am compiling the desktop-application with Inno Setup Compiler, I get the following error messages:

Warning: move_uploaded_file(uploads/db gruppe.xlsx): failed to open stream: Permission denied in C:\Program Files (x86)\Yoga Rechnungen\www\generate_invoices.php on line 574

Warning: move_uploaded_file(): Unable to move 'C:\xampp\tmp\phpD1DB.tmp' to 'uploads/db gruppe.xlsx' in C:\Program Files (x86)\Yoga Rechnungen\www\generate_invoices.php on line 574

Warning: file_put_contents(logs/application.log): failed to open stream: Permission denied in C:\Program Files (x86)\Yoga Rechnungen\www\generate_invoices.php on line 61

I am wondering, why  there is no file in the directory uploads and why the second warning mentionned the path "\xampp\tmp\phpD1DB.tmp"

Does anybody know about this incident?

Thank you for helping me.
Heinz

Czarek

unread,
Jan 16, 2025, 3:04:52 PMJan 16
to PHP Desktop
Your www/ folder should not be in Program Files. Instead it should be put in user directory which is writable. See deployment issues section on KB page:
https://github.com/cztomczak/phpdesktop/wiki/Knowledge-Base#deployment-issues
Reply all
Reply to author
Forward
0 new messages