Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2003
Posts: 6,624
Likes: 84
Joined: Dec 2003
Posts: 6,624
Likes: 84
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,624
Likes: 84
Joined: Dec 2003
Posts: 6,624
Likes: 84
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
Another error
by Baldeagle - 10/07/2024 9:08 PM
Is this a cookie issue?
by Baldeagle - 10/05/2024 2:01 PM
Search button not there
by ehill - 10/02/2024 2:56 PM
Change the Order of the buttons in a post
by Unixspot - 09/19/2024 10:04 PM
How do I get rid of this?
by Baldeagle - 09/12/2024 6:30 PM
Who's Online Now
3 members (Ruben, Baldeagle, Gizmo), 670 guests, and 59 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.1
(Snapshot build 20240918)