ZIP file upload fails #5002
-
I hope someone can help: I have developed a number of websites using this e107 since 2005 but I haven't published any of my plugins before. Now I am nearing a point in my Real Estate Listings plugin development where I'd like to get feedback: a production version can be seen here . In the past (v7.4) I was able to zip up a plugin and successfully upload it to another site but now I get this (using e107 Version 2.3.2):
I am using the native WIN10 SendTo->Compressed File function to generate the zip from a local copy of the plugin folder. If I upload the uncompressed folder via FTP everything is fine. I've dug around both here and in the e107 source code but have not found any clue as to what happened: I've made sure that PHPini settings are OK and e107 filetypes allow the zip. I will attempt to add the zip file here (for examination of the ZIP file, the plugin needs a lot of cleanup). |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Thanks for sharing. I am not aware if this is option (they supported to upload into e107.org and install from it) . I always use FTP and manual upload to server. |
Beta Was this translation helpful? Give feedback.
-
Well lets try a help here @Vodhin top right > NEW > click it git will keep the structure. If your repo has more than 100 files you have to do a partial upload. result |
Beta Was this translation helpful? Give feedback.
-
@Vodhin Always use full path there (if above fails for you, try e_HTTP, SITEURL or something) |
Beta Was this translation helpful? Give feedback.
@Vodhin
your frontpage is not working because you are using e107::url() without addon e_url.php - it is for pretty urls.
Correct path for me was:
$config['page'][0] = array('page' => e_PLUGIN_ABS . 'estate/listings.php' , 'title' => EST_GEN_LISTINGS);
Always use full path there (if above fails for you, try e_HTTP, SITEURL or something)