Skip to content
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

Downloads install in error #1109

Closed
remyKobolski opened this issue Jan 16, 2022 · 2 comments
Closed

Downloads install in error #1109

remyKobolski opened this issue Jan 16, 2022 · 2 comments

Comments

@remyKobolski
Copy link

After installing the downloads plugin (tried multiple), trying to add a category:

E_WARNING(2) - move_uploaded_file(/home/pbsolo/php7/downloads_data/category_snaps/Glossary.gif): failed to open stream: No such file or directory @ /home/pbsolo/_php7_/plugins/downloads/include/functions.php line 457

First the warning irritates because it suggests that the signature of move_uploaded_file is incorrect.
That, the upload directory is NOT <public_html>/downloads_data, neither it is <private_site>/downloads_data.
It is installed as <private_site>/plugins/downloads/downloads_data.

This is not funny, since I don't know what a correct configuration should be:

Should downloads_data be in some other place, or is functions.php buggy?

And ..... shouldn't this failure be caught?

@eSilverStrike
Copy link
Member

Hi,

The downloads plugin has its own repository:

https://github.com/Geeklog-Plugins/downloads

along with its own issue tracker:

https://github.com/Geeklog-Plugins/downloads/issues

BTW most non-core plugins have their own repository which can be found here:https://github.com/Geeklog-Plugins

Since it is not possible for me to transfer this issue can you recreate at the above link if more help is needed (or if you want to reply to this thread).

It looks like you might not have moved the downloads_data directory, did you do step 6 in the install (found in install.txt)?

Step 6: Upgrades can skip this step. For new installs, from the path.to.geeklog/plugins/downloads/ directory copy the directory downloads_data into the public_html/ directory. IMPORTANT: Set directory permission so that your webserver has write access to this directory and all sub directories. This may require write permissions to be 744, 754 or 777 depending on your webserver setup.

@remyKobolski
Copy link
Author

remyKobolski commented Jan 22, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants