This Question is Resolved.

If you have a similiar issue that this thread does not address, click the button below to open a new related support topic.

 
 
Non-php file in plugins directory causes funkyness
Posted: 16 January 2008 05:08 PM   [ Ignore ]  
Research Assistant
RankRankRank
Total Posts:  963
Joined  11-01-2002

I had a .zip file in my plugin directory and the Plugin Manager page looked extremely funky. My guess is that EE is trying to load the .zip file in and display it as text.

IMHO, there should be a check in the loading code to ignore any non PHP file.

Profile
 
 
Posted: 16 January 2008 05:11 PM   [ Ignore ]   [ # 1 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7534
Joined  08-05-2002

Does the zip file start with ‘pi.’ and have ‘php’ contained within it?  If so, then it passes our current validation check because all plugins start with ‘pi.’ and are typically of the .php, .php4, or .php5 file types.

We have decided in 2.0 to be a bit more picky about the form of plugins and extensions, so this will likely not be a problem for such files as yours in the future.

 Signature 
Profile
 
 
Posted: 16 January 2008 05:14 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
RankRankRank
Total Posts:  963
Joined  11-01-2002

Yup. I was zipping up a plugin to send to someone, so I just right-clicked it and Created Archive (I am on a Mac).

Profile
 
 
Posted: 16 January 2008 05:16 PM   [ Ignore ]   [ # 3 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7534
Joined  08-05-2002

I modified my response above to explain.  There is a check, and your file just so happens to seem valid.

 Signature 
Profile
 
 
Posted: 16 January 2008 05:18 PM   [ Ignore ]   [ # 4 ]  
Research Assistant
RankRankRank
Total Posts:  963
Joined  11-01-2002

Gotcha…I will try to refrain from naming files pi.e_recipe and such until then.

wink

Profile
 
 
Posted: 16 January 2008 05:19 PM   [ Ignore ]   [ # 5 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7534
Joined  08-05-2002

Well, that file name would be invalid as it does not contain ‘php’.

 Signature 
Profile
 
 
Posted: 27 June 2008 12:23 PM   [ Ignore ]   [ # 6 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32027
Joined  05-14-2004

Housekeeping.

 Signature 
Profile
MSG
 
 
 

This Question is Resolved.

If you have a similiar issue that this thread does not address, click the button below to open a new related support topic.

 
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 62436 Total Logged-in Users: 38
Total Topics: 76696 Total Anonymous Users: 24
Total Replies: 414348 Total Guests: 604
Total Posts: 491044    
Members ( View Memberlist )