Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 9 years ago

#8749 closed defect (bug) (invalid)

Plugin updater unpacks in wrong directory /wp-content/

Reported by: pampfelimetten's profile pampfelimetten Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: Upgrade/Install Keywords: plugin updater
Focuses: Cc:

Description

Hi there,

i have multiple blogs at the same hoster, but on one of them, the plugin updater won't work: He fails after unpacking. Wordpress puts the zip-file in the "wp-content/" directory (NOT in the "wp-content/upgrade" directory) - Although everything got chmoded 777, reuploaded wordpress, etc...

After some debugging, this line in wp-config now works for me:

define('FTP_CONTENT_DIR', 'wp-content/');

What infos do you need for debuging?

Change History (5)

#1 @pampfelimetten
15 years ago

hm, still got problems. It works on some plugins, it won't work on others - can't figure out why.

Working:
DDay
AddQuicktag

Not working:
Search Everything
cforms

#2 follow-up: @DD32
15 years ago

  • Component changed from General to Upgrade
  • Owner anonymous deleted
  • Version set to 2.7

thats odd that it works for some, not for others.

questions:

  • Which FTP method are you using? (Do you know? Sockets or Extension?)
  • When you connect via FTP, I'm assuming from your define, that the wordpress files are in /
  • Are you sure the files are not being unpacked into upgrade/ and then moved to wp-content/ (ie. no plugins directory)
  • Can you -install- plugins, rather than upgrade them

#3 in reply to: ↑ 2 @pampfelimetten
15 years ago

  • Keywords ftp_content_dir removed
  • Summary changed from Plugin updater unpacks in wrong directory, FTP_CONTENT_DIR not detected to Plugin updater unpacks in wrong directory /wp-content/

okay, I made some mistakes - I had a memory issue (the memory limit on this particular blog was too low). now I can update and install new plugins without problems - although wordpress still stores the zip file in the /wp-content/ directory instead of the /wp-content/upgrade/ directory. is there a reason for that?

  • Which FTP method are you using? (Do you know? Sockets or Extension?)

Sorry, that I don't know - is there a way to find out?

  • When you connect via FTP, I'm assuming from your define, that the wordpress files are in /

yes, they are.

  • Are you sure the files are not being unpacked into upgrade/ and then moved to wp-content/ (ie. no plugins directory)

it seems they get unzip INTO the upgrade/ dir.

  • Can you -install- plugins, rather than upgrade them

Yes, now I can.

#4 @FFEMTcJ
15 years ago

  • Resolution set to invalid
  • Status changed from new to closed

#5 @DrewAPicture
9 years ago

  • Milestone 2.7.2 deleted
Note: See TracTickets for help on using tickets.