I'm trying to upload plugin to wordpress.org but found it kinda difficult.
See Screenshot
When I click "Send Post>>" ,it says "You must supply a Plugin URL that is a link to a .zip file of the working plugin" . I've already uploaded the zip file on https://uploadfiles.io/. And the url is absolutely correct.
Any ideas?
The link needs to be a direct link to the zip file. Most file upload services won't allow this. Chances are it will need to be on a file server.
Related
I want to restrict a pdf file on my server from being viewed or downloaded. for example, when somebody types below url in browser and press enter.
http://example.com/pdf/sample-pdf1.pdf
the file should not be viewed or downloaded. instead, it should get redirected somewhere else or should display some error message
But, when i download the same file using php or html code, it should get downloaded
for example when i use below code in a php file, it should get downloaded.
[a href="http://example.com/pdf/sample-pdf1.pdf" download]Download[/a]
Insert .htaccess file inside pdf directory with content:
"Deny from all" -
That will not allow access that directory and files inside it via URL.
I have uploaded a php file on wordpress, although I can edit and update the file from WP File Manager I am unable to find the page on the internet.
When I see the info of the file, it displays a link to the file and that link leads to nowhere, it says "500:Internal Error".
I have also uploaded a html type file to my WP File Manager which is accessible from the internet, but the php file is not.
This is the link to the file which I uploaded.
Any help would be appreciated.
This is the screenshot of my WP File Manager
I have just clicked the link to the chimp.php file and it loaded fine so I dont see an issue here. Sometimes I have noticed that uploads are not instantaneous, and can take a few minutes before the changes take affect.
Ok now I see a 500 error but the url path isn't including the kirti extension. Just want to narrow down the problem but have you created the page in the wp-admin page menu?
I have a problem in my Wordpress site. When I upload file or image by Add New in "media library" and open the url that the Wordpress gets and open it in a new tab it gets this page :
enter image description here
and can't open the file!
and I cant use its url in pages..
But in the case of image it save in server more than one version of the image like 'img.jpg' >> 'img-90x90.jpg' and 'img-90x65.jpg' etc., The url of this image is working well without any problem !
And if I uploaded image to the server manually by FTP Account it works well.
I works on WordPress 4.7.1
Thanks a lot for help in advance :)
I tried to use Google Doc Embedder by using this code
[gview file="http://localhost/wordpress/wp-content/uploads/2013/07/list.pdf"]
but this error keeps on showing up..
Sorry, we were unable to find the document at the original source. Verify that the document still exists.
You can also try to download the original document by clicking here.
I checked in the directory/path to verify and its still there. So what is the reason that this error keeps on showing up?
Google Docs doesn't have access to your local machine. It will need to be on publicly accessible web server for that to work.
Your file path is wrong. You are pointing to localhost for your server. This is something running on your machine only so google reader would not be able to point to a file on your machine.
You should upload your file to a public server.
You can try even
<iframe src="http://localhost:8080/pdf">
I think there are plugins for iframe in wordpress ,Try it out..
In my Wordpress I use this plugin for Google Docs to embed .pdf
DirtySuds - Embed PDF
Then in the post use this:
[embed width="620" height="600"]http://site.com/file.pdf[/embed]
edit:
You will need live host to upload your .pdf files there.
I am facing some typical problem from one of my project.
A section in my project need a file up loader. The requirement is when an user clicks on the browse button, it will not only opens up the local directory, the already uploaded file directory need to accessed as well.
In simple file uploader only the local directory can be accessed, I cannot able to fine any way out.
If any one can help me in this issue, it will be great for me.
Thanks in advance.
Is impossible to use to use the "file open dialog" / file uploader to browse files from server.
You can create a dialog inside your browser with (html,css,php).
Is difficult to give an example, because I do not know your requirements.
However you have to use two buttons, it will be easier:
upload from your computer
upload from the server
On click "upload from the server" , opens a window IN BROWSER (HTML+CSS) , that lists your folders and files on the server.
To implement this , read here:
http://php.net/manual/en/function.scandir.php
http://php.net/manual/en/function.readdir.php