Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Enable Real-Time Upload Bar.
gabessdsp
New
So I want to have real-time upload bars, but it sends me to a link about PHP documentation. Can anybody actually explain how to enable real-time upload bars in detail?
Tagged:
0
Comments
What version of Vanilla do you use, and what are you talking about? If this is about File Upload, I would ask if a member of staff relate this to the FileUpload addon please
Yes it is the FileUpload add-on, my bad for not clarifying
What version of Vanilla?
I'll research this and do it on my own Local Server.
Version 2.0.18.8
The real-time upload bar requires PHP APC. If you have access to your web server PHP config files and if you're using PHP 5.4 or older, see if APC is installed and set
apc.rfc1867 = on
in the php.ini config file. If you have shared web hosting, you may have to ask your web hosting provider to check this.Add Pages to Vanilla with the Basic Pages app
So I called my host and they verified that PHP APC is enabled on my server. Is there anything else I have to do to get the upload bar to work?
not just apc but that specific setting
grep is your friend.
Called my host, and actually found out I have access to a php.ini file on my server. So I added the line apc.rfc1867 = on to the file but I am still told realtimeUpload Bars are unavailable.
To confirm that the setting is set, please create a file called
test.php
, add this code to it, and upload it to the root of your website.test.php
Please go to the page and copy and paste the output here. You may delete the file afterwards.
Add Pages to Vanilla with the Basic Pages app
apc.enabled = 1 apc.rfc1867 = 0
So it says that the option is false. That's weird..... in the php.ini file on my server I added the line exactly as:
apc.rfc1867 = on
Whenever you make changes to the php.ini file, you need to restart the web server. Does your host have a way for you to restart PHP or the Apache web server?
Add Pages to Vanilla with the Basic Pages app
I guess I'll give them a call.....
Well they said I had to change it to php5.ini because they don't support php.ini (but left the old one just in case) and was told they automatically restart every 90 minutes. So I guess in less than 90 minutes the changes will happen.
Please report back if the changes do work. What web host are you using by the way if you don't mind my asking?
Add Pages to Vanilla with the Basic Pages app
godaddy
It worked, thank you so much!