Problem with file preview

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
pietro
User
Posts: 4

Problem with file preview

Post by pietro »

Hello everyone,
I'm having a problem trying to display the preview of a file uploaded in a directory outside the project.
If the project directory is "test2024", the files are in "test/upload". I put the parameter to get the file in file upload using "../test/upload"
In the edit mode the preview works. In the view mode the preview and the link don't work and i get a "Bad request URI" error.
I'm using PHPMaker 2024. With PHPMaker 2023 everything worked good.
The upload works, preview don't.
Anyone can solve it?


arbei
User
Posts: 9384

Post by arbei »


pietro
User
Posts: 4

Post by pietro »

I tried to put the absolute url, but I can't put it in the upload config.
I have to put the absolute url to a directory on the server.


arbei
User
Posts: 9384

Post by arbei »

You may post the code that you have tried for discussion.


pietro
User
Posts: 4

Post by pietro »

I'm not working on code, I'm just working on configuration in the edit tag of the field or in the view tag


arbei
User
Posts: 9384

Post by arbei »

If you are a registered user of v2024, you better send your files to support for testing.


Post Reply