Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Just moved to new host and when selecting a attachment to view the image is blank.
If I right click and open image in new tab I get a 404 error.
But if I use the actual url to the attachment folder the image displays.

The same happens on a net new attachment

I can't find anything wrong
.
The path was tested and passed with the test file in the correct folder
The files table has a row for the image
The file is in the attachment directory
The file type png is in the allowed file types list
File size is set to 4MB and the new attachment is 50.2 KB but only displays a url to select.
It is set for gd currently but I tried Imagemagick also.
I have run the post,topic and forum rebuilders
I checked phpinfo and can't find anything amiss.
htaccess file is blank never had anything in it when the account was created.
In fact I have non even added a redirect for https yet

I have another site at the same host with no issues on attachments

Update it appears that friendly URL's is the culprit even though it looks like pathinfo is enabled by trying in the browser
https://example.com/index.php/testPathInfo

Any suggestions on what else to check or do????? confused

Last edited by Ruben; 02/01/2022 9:43 AM. Reason: Update

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Well finally figured it out.
Called the host and he stated that it probably is the cache on NGENIX

The new host has a cache system option. in cpanel.

Even though I disabled it before the call it still is cached in the server.

Had to exclude ubbthreads.php and then purge cache in cpanel.

All is well again.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Havenofsobriety), 458 guests, and 91 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)