I’m facing an issue in version 2025. When I upload a file, it does not appear embedded in the preview and the delete option is missing in edit mode.
I tested by disabling the file path encryption, and this made the download link appear in the preview. However, the delete option is still not available in edit mode.
I’ve encountered issues with viewing uploaded files, unexpected errors when loading pages, and login failures (“An internal error has occurred while processing your request.”).
did you enable debugging to assist with any errors. " An internal error has occurred while processing your request", turn on debugging to see what is possibly triggering this.
what bugs specifically are you encountering.
we’ve ported a fairly complex app to v2025 trial version, and it migrated 99% correctly, any issues were expected due to some changes.
all in all, I;ve been using phpM since the old old days version 8 or 9, and usually don’t have major problems.
Whenever you see “An internal error has occurred while processing your request.” You should enable Debug and check the errors in the log file or the debug bar, never skip this important step of troubleshooting. If not in debug mode, detailed errors will not be shown (this is for protecting your site). Post the complete stack trace so that other users can discuss with sufficient information.
As suggested, you should also check HTTP response, which can show you a lot of information.
Press F12 and go the “Console” panel of your browser to check for JavaScript errors.
Inspect HTML in the “Elements” panel of your browser, check if the HTML for the uploaded images are outputted, or only URL not working, etc.
Check the upload folder of your project, make sure they are correct, don’t use "../". Also make sure you have granted write permission to the folder, otherwise, the script cannot create the folders or subfolders for the upload file. Check if the file are uploaded to the folder successfully first.
Test with normal .png images first, in case some image format may not be supported by PHP GD (assume you have installed GD properly, you may double check with phpinfo).
If you are a registered user of v2025, you may also send all your project files (including database and generated files) to support for testing. If your site is online, I suggest you demonstrate the error to them so they can check and test with the actual problem server.
This is one of the configurations I have in my project. It worked in previous versions, and I need this configuration because I store my files outside my project due to updates.
In my development environment, I use host/sistema_dev (for the system) and host/sistemas_arquivos (for the files), while the production environment is host/sistema.
That means the upload folder is at the same level as the website. Is that what you want to achieve?
If so, you cannot enter the upload path as "sistemas_arquivos/", it is a wrong path, remember that upload folder is relative to the root of the local file system (default is the project folder). Also as explained, you must not use "../", if you enter "../sistemas_arquivos/", it is also an invalid path.
The correct way is to set the root of the local file system to one level higher than the project folder (default is the project folder), see the advanced setting Local file system root (relative to project folder), you may set it to ".." (without quotes).