Notifications
Clear all

[Solved] Text file download problem and update plugin settings error

13 Posts
2 Users
1 Likes
7,446 Views
Posts: 89
Customer
Topic starter
(@itesla)
Member
Joined: 7 years ago

Hi

First problem discover recently some of my members uploaded a text document and when i press to download it downloads the whole html page of what i view in text file.

Second problem is when Updating Options in the Addon setting it gives me HTTP ERROR 500 see both pictures for both issues.

Not sure if this started after update i did not tested the text but Update Options was working before without errors.

Screenshot 2016 12 23 19.03.08
Screenshot 2016 12 23 18.55.44
12 Replies
Posts: 4172
 Tom
Admin
(@tomson)
Famed Member
Joined: 9 years ago

Hi Filip,

The first issue is fixed in 1.0.1 version, please update it through Plugins admin page or download from gVectors account page, then deactivate delete current version and upload the new one.

The second problem related to TXT file is strange, we don't see such problem on our test websites.You can test it here, just login using your wpForo account or register a new:

http://addons.wpforo.com/community/wpforo-advanced-attachments/wpforo-advanced-attachments/

It seems some of your plugins generates Notice or Warning error. It'll disturb download header and put HTML content in it. I'd recommend deactivate plugins one by one and check it. This is something which can't be fixed from our side.

Posts: 89
Customer
Topic starter
(@itesla)
Member
Joined: 7 years ago

Hi Martin

Problem with error was fixed after update but txt file issue still persist tried disabling plugins switching theme and without result.

What else can i try?

Posts: 4172
 Tom
Admin
(@tomson)
Famed Member
Joined: 9 years ago

Could you please download the TXT file and send it to support[at]gvectors.com email address? We need to see the HTML content you're talking about.

Posts: 89
Customer
Topic starter
(@itesla)
Member
Joined: 7 years ago

Hi Tom

I found the problem but need a solution to this not know why it happen.

As soon i enable hotlinking in htaccess it will download that html in text file if i disable codes it works but this is important for my site, here is my code maybe something can be changed.

RewriteEngine On 
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?itesla.solutions/ [NC]
RewriteRule .*.(jpg|jpeg|png|gif|pdf|rar|)$ https://itesla.solutions/isign-up/ [NC,R,L] 
Page 1 / 3
Share:
Scroll to top