I run the command.
Find below the result.Code:php artisan migrate
Code:sherly@HOME:~/www/imagehostnow.com$ php aritsan migrate Could not open input file: aritsan sherly@HOME:~/www/imagehostnow.com$
I run the command.
Find below the result.Code:php artisan migrate
Code:sherly@HOME:~/www/imagehostnow.com$ php aritsan migrate Could not open input file: aritsan sherly@HOME:~/www/imagehostnow.com$
It says
There is no such file. May be spelling mistake. Check the command in laravel doc and find out exact command needed to do database migration.Could not open input file: aritsan
Just because i made a spelling mistake, don't get stuck, you already know and used command to do database migration. It is same command.
Become PHP Expert in 30 days
FreeMarriage.com - Free Online Matrimonial
FlashWebHost.com - Professional Web Hosting, Designing.
Paste result of
Code:cd ~/www/imagehostnow.com ls -l
Become PHP Expert in 30 days
FreeMarriage.com - Free Online Matrimonial
FlashWebHost.com - Professional Web Hosting, Designing.
Run the command.
Code:php artisan migrate
Code:sherly@HOME:~/www/imagehostnow.com$ php artisan migrate ************************************** * Application In Production! * ************************************** Do you really wish to run this command? yes Migrated: 2015_01_09_084809_add_type_in_images Migrated: 2015_01_10_040524_add_default_image_privacy_in_users Migrated: 2015_01_10_062030_create_settings Migrated: 2015_01_13_053228_create_spam_reports sherly@HOME:~/www/imagehostnow.com$
Good. Now check phpMyAdmin, you will have new tables created.
Visit web site on your local computer, try uploading an image, see if it works.
Become PHP Expert in 30 days
FreeMarriage.com - Free Online Matrimonial
FlashWebHost.com - Professional Web Hosting, Designing.
Run the command.
Find below the result.Code:cd ~/www/imagehostnow.com ls -l
Code:sherly@HOME:~/www/imagehostnow.com$ cd ~/www/imagehostnow.com sherly@HOME:~/www/imagehostnow.com$ ls -l total 92 drwxrwxr-x 12 sherly sherly 4096 Jan 16 11:54 app -rwxrwxr-x 1 sherly sherly 2452 Jan 8 10:46 artisan drwxrwxr-x 2 sherly sherly 4096 Jan 16 11:54 bootstrap -rw-rw-r-- 1 sherly sherly 717 Jan 8 10:46 composer.json -rw-rw-r-- 1 sherly sherly 58953 Jan 9 11:04 composer.lock -rw-rw-r-- 1 sherly sherly 567 Jan 8 10:46 phpunit.xml drwxrwxr-x 6 sherly sherly 4096 Jan 8 10:46 public -rw-rw-r-- 1 sherly sherly 519 Jan 8 10:46 server.php drwxrwxr-x 20 sherly sherly 4096 Jan 9 11:04 vendor sherly@HOME:~/www/imagehostnow.com$
In that result, you can see the file
All good now.Code:-rwxrwxr-x 1 sherly sherly 2452 Jan 8 10:46 artisan
You can check phpMyAdmin and see the new tables created.
Now visit the imagehostnow.dev (local dev web site) and try uploading an image, see if it works.
Post a screenshost of the result you get.
Become PHP Expert in 30 days
FreeMarriage.com - Free Online Matrimonial
FlashWebHost.com - Professional Web Hosting, Designing.
Uploaded image in imagehostnow.dev. But showed ERROR: Internal Server Error
![]()
Error. To see why that happened, laravel have log file. It is located in folder
First delete that file. Then generate the error. Then look at that file, read it. You will find why that error happened. Try to find the reason by reading error log.Code:app/storeage/logs/laravel.log
EDIT: We delete the file, so we have less logs to read. If you don't delete, the file may have lot more lines. So its better delete the file, generate the error by uploading the image or what ever step required to reproduce the error, then read the log file.
Become PHP Expert in 30 days
FreeMarriage.com - Free Online Matrimonial
FlashWebHost.com - Professional Web Hosting, Designing.
Bookmarks