mapkyca / KnownChrome

Chrome plugin for your Known site (mirroring functionality in the official Firefox plugin)
9 stars 0 forks source link

Chrome can't install extension #2

Closed benwerd closed 9 years ago

benwerd commented 9 years ago

On my system, the plugin generates a .zip. Unfortunately, Chrome refuses to install it on my system (OS X Yosemite), declaring that the archive is invalid.

It may want a .crx archive. There's a guide to building one here:

http://stackoverflow.com/questions/5013263/create-google-chrome-crx-file-with-php

mapkyca commented 9 years ago

Hmmmph...

Is the zip itself valid (i.e. you can open it with whatever it is apples use to read archives)?

Will look into the crx (good for a number of reasons)

mapkyca commented 9 years ago

Ok, give the latest version a crack... now generates a CRX file.

benwerd commented 9 years ago

Works beautifully!

rmdes commented 8 years ago

Does not work on Dreamhost Shared hosting. ask about a Phar extension ? ends up on a white page /yourdomain/chrome/download no problem getting the CRX on a test site on a VPS instance.

screenshot_185

mapkyca commented 8 years ago

Looks like you're missing the extension...

rmdes commented 8 years ago

But isn't it also everyone using or trying to use knownChrome from shared hosting such Dreamhost?

No way to install the Phar extension from what I know at Dreamhost.. Le 5 mai 2016 12:04, "Marcus Povey" notifications@github.com a écrit :

https://github.com/mapkyca/KnownChrome/issues/2Looks like you're missing the extension...

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/mapkyca/KnownChrome/issues/2#issuecomment-217116919

mapkyca commented 8 years ago

Phar should be installed for PHP > 5.3, but I suspect the shared hosts are disabling it in config.

Perhaps this is something you can enable on your host?

rmdes commented 8 years ago

I will contact Dreamhost and see what they say...after all they were doing a promo to use Known and their shared hosting..

I have 2 accounts at dreamhost and both of them fail at having Phar installed.

thanks for your reply, i'll report what they say here.

Sent from Nylas N1, the extensible, open source mail client.

On May 8 2016, at 11:09 am, Marcus Povey <notifications@github.com> wrote:

Phar should be installed for PHP > 5.3, but I suspect the shared hosts are disabling it in config.

Perhaps this is something you can enable on your host?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub

mapkyca commented 8 years ago

Well, the Chrome extension isn't "official" Known, so I'll give them some slack ;)

I'll be interested in what they say, and their reasons (I suspect they just blanket disable extensions that are not commonly used for security reasons), meanwhile I'll see if I can find an alternative/workaround.

rmdes commented 8 years ago

Just confirmed with Dreamhost, it's easy to fix just add extension=phar.so into /home/username/.php/5.6/phprc or the consequent PHP version currently in use.

rmdes commented 8 years ago

is it intended that after publishing a new post with the Chrome extension the extension refresh to this view ? screenshot_199

wouldn't be more logical to have a notification sayin it got successfully posted or something else than loading the whole website in "mobile" mode ?

mapkyca commented 8 years ago

Probably...

It follows the same flow as the firefox endpoint, so this is probably something for upstream Known.