I am trying to upload my website zip folder to 000webhost through file manager upload button but each time after 100% upload it tells this error
what should I do to solve this issue because it is very annoying?
Note: I try to upload a zip folder to 000webhost, my website is a laravel project so it takes up to week to upload through ftp connection so I prefer uploading the project through 000webhost file manager, the zip file is 72 MB.
Related
I am trying to upload my files onto cpanel now. Do i have add them manually?
Because i tried to copy the project folder into folder i created but then, i get an error trying to upload. Can any one here please give me a step to do this easily?
PS: It is my first time trying to do this.
1 ) First compress your project and then upload to your cpanel
2 ) now go to your cpanel and extract the file and done.
You can use any FTP program with FTP credentials to upload project files. Just make sure you have appropriate permissions.
Also, you can upload the zip file as other answers suggest.
FTP programs
FileZilla
This question couldn't solve my problem.
I got this error C:\xampp\tmp, I am using PhpStorm file transfer protocol and I get this error whenever I want to upload any file to my cpanel.
I could only upload files if I delete the folder c:\xampp\tmp on my cpanel and after some time the folder will appear again on my cpanel.
The c:\xamp\tmp is availabe on my local machine, I presume the file is been uploaded to the server and I don't want it to. the folder I am trying to upload is inside htdocs, its a Drupal 7 file.
I am using Cyberhost.in to host a JSF application. The problem that I am facing is that whenever I am trying to access image files from public_html folder I am getting a 404 error. I have kept my war file in webapps folder. I am using c-panel, the thing is that I want to take backup of files for my website so I have kept them in public_html folder. Initially I was saving the files under webapps/[WAR FILE NAME] but when ever I was trying to overwrite webapps/[WAR FILE NAME] I was getting permission denied error.
You should upload image files on their location that you have mentioned in your code, otherwise you should change the location in website code of the same.
Also check permissions/ownership of files
I am using Codeigniter to upload a zip file and extract it to a folder using upload and zip library of Codeigniter 1.7.2
Everything Ok, but my code fails to delete the zip file after extract the zip file using extract method.
I got the message 'access deny'.
Anyone help me?
try restarting your PHP and APACHE, perhaps they have locked the handle to the file !
I just got a script from a friend and was written with the laravel framework. After uploading the script to my file manager, i am having this error
Warning: require(C:\xampp\htdocs\bin\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\bin\bootstrap\autoload.php on line 17
Fatal error: require(): Failed opening required 'C:\xampp\htdocs\bin\bootstrap/../vendor/autoload.php' (include_path='\xampp\php\PEAR') in C:\xampp\htdocs\bin\bootstrap\autoload.php on line 17
From the error, i saw that the vendor folder was missing in my files and my friend also didnt have it.
I saw many articles talking about installing composer but i'm not having the laravel framework and the project is already on a web server.
Things i have tried.
I have copied other "vendor folder" from other laravel script i have, doesnt work.
I also tried installing composer on my pc and copied the vendor folder generated. still doesnt work
Please i will be very happy if anybody can help with this.
Thanks in advance.
IF you try upload your project to web hosting. follow this step.
compress whole project on your xampp/wampp/etc with zip extension
upload to your web hosting.
extract the file
create "Laravel" Directory
Move All Your File (your laravel Project) to "Laravel" Directory, EXCEPT "Public" directory.
open your "Public" directory, and move to public_html or parent directory or one step before your "Public" directory ("../")
edit your index.php (previously in "Public" Directory)
Edit this code
require DIR.'/../vendor/autoload.php';
$app = require_once DIR.'/../bootstrap/app.php';
to
require __DIR__.'/laravel/vendor/autoload.php';
$app = require_once __DIR__.'/laravel/bootstrap/app.php';
and don't forget update your database connection on your .env file :)
I have found a way of generating the folder and it works.
I install composer for windows on my system , then navigate to the htdocs folder in xamp where i kept the file. then run this command
--composer installer--
After some mins, it downloaded some files and generate the vendor file itself.
i then zip the folder and upload it to my web host
Thanks every one