I run below commands in this order and got below result:
git pull origin master
git stash
git checkout master
git pull
php artisan migrate
Type: Posts; User: sherlyk
I run below commands in this order and got below result:
git pull origin master
git stash
git checkout master
git pull
php artisan migrate
/home/sherly/www/imagehostnow.com/app/controllers/UploadController.php
added
$image->status = 'active';
Then tried again, uploaded image but i got error.
http://i.imgur.com/yflDmSE.png
I have just tried to upload an image imagehostnow.dev and it upload successfully.But error showed "image not found"
http://i.imgur.com/1Mu6wHn.png
I have typed "got log" instead of "git log". That was my mistake.
sherly@HOME:~/www/imagehostnow.com/public/thumb/4ca4238a0b$ got log
I am getting error
sherly@HOME:~/www/imagehostnow.com/public/thumb/4ca4238a0b$ got log
No command 'got' found, did you mean:
Command 'dot' from package 'graphviz' (main)
Command 'god' from...
I run these command:
git pull origin master
git log
Last commit in gitlab result:
I changed database,username,password on database.php file
Then my local site is http://imagehostnow.dev/ working fine.
Error: SQLSTATE[28000] [1045] Access denied for user 'imagehostnow'@'localhost' (using password: YES)
Reason:I changed Revert changes on app/config/database.php file.
Run the command.
php artisan migrate
Find below the result.
sherly@HOME:~/www/imagehostnow.com$ php artisan migrate
**************************************
I changed Revert changes in git gui.Then run these commands g0t following result:
git status
git pull origin master
Result
Run command:
git log
Verified gitlab commits. Its same as result.
sherly@HOME:~/www/imagehostnow.com$ git log
commit 1316183eb7254f98f2bdf481cd6a2bc12e0ca62e
I run command:
cd ~/www/imagehostnow.com
git pull origin master
Result:
sherly@HOME:~/www/imagehostnow.com$ cd ~/www/imagehostnow.com
I created new folder upaloads in /home/sherly/www/imagehostnow.com/public
then run command
chmod -R 777 /home/sherly/www/imagehostnow.com/public/uploads
i got this page
...
I was getting upload error.
Then I tried to set permission for 'uploads' folder by running following command:
chmod -R 777 /home/sherly/www/imagehostnow.com/public/uploads
But received...
Uploade image in imagehostnow.dev.But showed ERROR: Internal Server Error.
Find error log content as follows:
[2015-01-16 06:59:21] production.ERROR: exception...
Uploaded image in imagehostnow.dev. But showed ERROR: Internal Server Error
http://i.imgur.com/LPOqi8F.png
Run the command.
cd ~/www/imagehostnow.com
ls -l
Find below the result.
Run the command.
php artisan migrate
sherly@HOME:~/www/imagehostnow.com$ php artisan migrate
**************************************
I run the command.
php artisan migrate
Find below the result.
sherly@HOME:~/www/imagehostnow.com$ php aritsan migrate
Could not open input file: aritsan
I deleted the changed file "bootstrap/start.php", Then run the command:
sherly@HOME:~/www/imagehostnow.com$ cd ~/www/imagehostnow.com
sherly@HOME:~/www/imagehostnow.com$ git pull origin master...
I run those two commands, and got following results:
http://i.imgur.com/PZ8XpEz.png
First you can login as root on your mysql server using:
mysql -u root -p
If a password is required,
$ mysql -u root -p
Enter password:
Screenshot of phpMyAdmin with the database/tables.
http://i.imgur.com/AIZoGOC.png
I have deleted those two files now. I run the command again.
Result following:
sherly@HOME:~/www/imagehostnow.com$ php artisan migrate
**************************************
* ...
"Untracked files" names are:
app/config/database.php~
app/database/migrations/2015_01_14_052420_create_users_table.php
app/database/migrations/2015_01_14_052730_create_users_table.php