PDA

View Full Version : Avatar Upload Problem


lappy512
Sat 5th Apr '08, 7:07pm
I have an interesting problem - and it's only on my server, so I'm not sure what to think; I don't know what server config may be wrong. It may not be version related, but I'm running 3.7.0 Beta 2.

When a user trys to upload an avatar via URL upload, I get an internal server error and a core dump in my web directory.
In the error log:
[Sat Apr 05 15:00:53 2008] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: profile.php, referer: http://teenbusinessforum.com/profile.php?do=editavatar

However, if you upload the same file via a local file, it will work fine.

Any ideas?

Steve Machol
Sat 5th Apr '08, 7:21pm
Upgrade to RC2 then see if you still have the same problem.

lappy512
Sat 5th Apr '08, 7:58pm
Thanks Steve - it worked!

I assumed that it was a problem with my server config since it worked on the last server I was on.

Steve Machol
Sat 5th Apr '08, 8:00pm
Glad to hear it. :)

lappy512
Sun 6th Apr '08, 4:04pm
Steve, I'm having a new problem after the install - I cannot use any of the moderation options for the forum. If I go to UserCP ->Moderated Items ->Threads, it tells me that I don't have permissions.

The options for me to edit, merge, move, copy, etc, the posts have disappeared too. I can only delete or delete posts as spam.

I checked the adminCP and I'm still a super moderator + administrator. Are there some permissions that I've been missing?

Steve Machol
Sun 6th Apr '08, 4:04pm
To troubleshoot this, first 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

[Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

Next, disable all plugins.

Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it. Do you have the same problem?

lappy512
Sun 6th Apr '08, 5:31pm
I still have this problem after doing the steps above.

There are some plugin files that are not recognized to be part of vBulletin, and:
"vbulletin_quick_comment.js File version mismatch: found 3.7.0 Release Candidate 2 , expected 1.0.1"

I didn't delete the plugin files, however, I deleted the files in the includes/xml directory.

I created another admin account and the same thing happens to it.

I'm not entirely sure if this was caused by the upgrade performed above or by other factors. I'm relatively new to vB, as I previously used IPB on another board.

Any other ideas?
Thanks.