Last time I posted a bug I felt like an idiot, hopefully it won't happen this time ;)
I have done searches and I have tested thoroughly to make sure I wasn't losing my mind. I read the sticky:
http://www.vbulletin.com/forum/showthread.php?t=268862
but I'm trying all of this on my fresh installation under my test environment and I'm still having the issue.
I'm getting the security token error:
Your submission could not be processed because a security token was missing or mismatched.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
When trying to upload LARGE attachments. 16 Mb in size to be exact.
I have read this post:
http://www.vbulletin.org/forum/showthread.php?t=177013
I'm testing using a default style with NO products installed on my vbtest site.
Small attachments work fine (I have successfully seen 3 Mb), but when you try those big ones, it fails every time with the security error.
Any ideas?
In addition to the vB settings, the allowed size of the attachments depends on the PHP and MySQL configuration. You may need to check and change the upload size for both PHP and for MySQL. Note, you'll need to have root access to the server to do this (or have your host do it.) Make these changes to php.ini:
upload_max_filesize = xM
..and my.cnf (or my.ini for Windows systems)
set-variable=max_allowed_packet=xM
Change it to the size ('x') you want in Megabytes. Restart the webserver and MySQL after making these changes.
Note: Do NOT use MB, just M for the megabytes setting.
You may also need to increase the memory_limit, max_execution_time and max_input_time variables in php.ini.
Also you might want to take a look at this for other settings that affect file uploads:
http://www.vbulletin.com/forum/showpost.php?p=594570&postcount=12
http://www.vbulletin.com/forum/showthread.php?p=748319#post748319
Agreed. I had this problem but it was related to a memory issue but it was spitting out a security token mismatch error. Is this by design? Doesn't make sense to me.
Please read the Sticky at the top of this forum.
In case anyone else is having this issue.
I made a page that had this in it:
phpinfo();
?>
and called it using a web browser.
Steve is right my upload_max_filesize is set to 5M.
I do want to point out that the security error instead of anything else was really confusing and may want to be investigated. This seems to be my issue. I'm going to change it and and confirm.
You have to upload the original files, in particular: vbulletin_read_marker.js
Do you mean this one?
http://www.vbulletin.com/forum/showthread.php?t=268862
I did... I said that in my original post.
I don't understand. I followed it completely. Here are the steps that I have tried:
One possibility is that you did not upload all the 3.7.0 files when you upgraded. Please reupload all the 3.7.0 non-image files. Then run install/finalupgrade.php. Make sure that you see versions 3.7.0 in the upper right hand corner of the page.
I did a brand new fresh download and installation with a brand new server and database.
If you still have this problem after that, then try this. Create a new style and choose no parent style. This will force it to use the default templates. Then change to this style and view your forums with it. Do you have the same problem?
I'm using the default style and still having the same issue.
If you do, empty your browser cache, close all browser windows and try again.
Tried that.
If this is still not resolved, then reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':
Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions
I have done this as well. This is what I got back:
./ Scanned 56 files
./admincp Scanned 3 files
./archive Scanned 45 files
./clientscript vbulletin_read_marker.js File does not contain expected contents Scanned 4 files
./clientscript/yui Scanned 2 files
./clientscript/yui/connection Scanned 2 files
./clientscript/yui/yahoo-dom-event Scanned 2 files
./images/regimage/fonts Scanned 125 files
./includes Scanned 18 files
./includes/cron Scanned 8 files
./includes/paymentapi Scanned 7 files
./includes/xml Scanned 79 files
./install upgrade.php File not found Scanned 10 files
./modcpLooks like that vbulletin_read_marker.js file has something wrong with it, but that wouldn't cause this problem would it?
Next, disable all plugins, except the official Blog and Prject Tools ones from vB. Also make sure that you are running the latest versino fo those add-ons in tyou have them.
I have 0 plugin's and vbulletin is the only product.
Do you have anything else that I can look at?
10-4.
I have deleted all the files I had in place, and I have download the files again from here.
I'm going to re-upload the files again and do another install.
Thank you for your time.
I'll let you know if it does/doesn't work.
Still doing it.
Brand new files, as of an hour ago.
Brand new installation.
Same problem:
Can't upload large files because I get a security token error.
Here's my suspected file versions report:
Suspect File Versions Scanned 56 files
./ Scanned 56 files
./admincp Scanned 3 files
./archive Scanned 45 files
./clientscript Scanned 4 files
./clientscript/yui Scanned 2 files
./clientscript/yui/connection Scanned 2 files
./clientscript/yui/yahoo-dom-event Scanned 125 files
./includes Scanned 18 files
./includes/cron Scanned 8 files
./includes/paymentapi Scanned 7 files
./includes/xml Scanned 80 files
./install Scanned 10 files
./modcp
Any other ideas for me to try?
Member List page hugely wide after upgrade
LO-FI version? |