-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Activation issue / HTTP error on media upload / feature suggestion #7
Comments
Also, just confirming that composer is installed to the plugin (perception-master) directory, and the activation error still happens. Thanks! |
Got it! I ran php composer.phar install in the directory as well, and that allowed the plugin to activate. This also allows the media uploader to work. And, the images were tagged with some great meta! It may be worth updating the readme with that composer info for other noobs like me who don't know composer :-) I think the only thing that we'd love for it to do is generate labels for images already in the media library, and this will be an awesome solution. There's a note in your inbox about this. Thanks much!!! |
Hi again :-) INSTALL THE PLUGIN, BUT DO NOT ACTIVATE YET INSTALL COMPOSER TO THE PLUGIN /perception-master/ directory
INSTALL DEPENDENCIES ACTIVATE PLUGIN Then go into all of the admin screen stuff with Google cloud setup and JSON file upload that you already have… Note about uploading JSON file - will have to add exception to wp-config.php to use WP uploader: OR …is it possible to just upload the JSON file to your site via FTP and just paste in a URL? |
Hi @HeatherActon, Thanks for trying the plugin out!
I'll add something into readme file for people not familiar with |
Hi Amir!
We're giving your plugin a shot on a client site, where they want to be able to add searchable (front and back end) labels to each image (there are 1000s) in an automated fashion. We installed your plugin and noted a few issues. We'd love to work with you to improve this if you're available and willing!
Issues:
Upon activation there is an error due to a missing /vendor directory (so couldn't load /vendor/autoload.php). I "fixed" this in our version by commenting out line 17 of perception.php. I don't know if that really fixed anything, but given that directory didn't exist in the plugin download it at least allowed the plugin to activate.
After that, the plugin could activate and the setup steps were simple to follow. Except, we had to add a line to wp-config.php temporarily so that we could upload a json file through the WP media uploader. This explanation could be added to the readme, or, if a straight URL is accepted you could just direct the developer to upload the json file to root and provide the URL.
Once we went through setup, which apparently is ok, I thought that maybe existing images would be labeled. But I then realized they have to go through the upload process to be labeled with the meta tag. It may be a nice feature addition to allow a "regenerate Google labels" or something like that, so that if a user puts this on AFTER their media library is full, the labels will get generated for older images.
I did try uploading some images but got a generic HTTP error message in the media uploader. Disabling the plugin lets me upload images again, but uploading them with perception activated does not work currently. I didn't look too far into this.
Hopefully that helps! We'd love to be a part of making this plugin a great tool for our client and others, so let us know how we can help. Thanks!
Heather
The text was updated successfully, but these errors were encountered: