Composer with satis invalid credentials in a Windows Server - php

First: sorry for my english, if anyone can edit the question for me.
I'm trying to create a server with satis/composer.
For do that I install composer/statis/git/svn/apache/php/openssl in a Windows Server 2012.
Then I add/edit/create some configurations but composer request an authentication and I don't know why because, accessing web browser, satis display all the packages normally.
my config.json
Error:
Informations:
In the network
Has a proxy
Has a firewall
All computers/notebooks are Windows 7
Composer, Git, Svn are updated
If anyone needs more information leave a comment please.

I found the solution:
I identify the problem executing the curl command and the return is forbidden.
Then I just test the same command without company proxy and works, so that is the problem.
Now, it's works.
Thanks guys.

Related

Localhost not working with fresh installation of Symfony

I know there is a thread on it ("Symfony fresh installation is not working on my localhost") but the solution didnt helped me.
I'm new to Symfony and I tried to create my first project. I installed a fresh copy of Symfony and then tried to start the server but I can't access localhost:8000, its loading forever and nothing happens.
My folder :
Screen installation
I ran this command :
php bin/console server:run
It says everything is okay and I can now access it.
Command Result
..but when I try to access it, the tab is loading forever.
Tab loading forever
Server status
I already tried to start the server on another port php bin/console server:start *:8080 for example, but same problem happen. Am I doing something wrong ? Thanks for helping and sorry for my bad english.
Quick Reply,
Thanks to people answering this thread.
I found the solution. I removed my antivirus protection and now its working perfectly. I recently installed Avast and I tried to removed it and seems to be the problem. Sorry for bothering.

My laravel project start page is not opening

I have install Laravel in my pc using composer.
I used gitbash and started xampp control server
First I've changed my directory.
Then I've ran a command composer create-project laravel/laravel project_1. After the command had run, it installed laravel and all necessary file and key was successfully set.
Then I again changed my directory to project_1
Then I ran another command php artisan serve. After running this command Laravel development server started and 127.0.0.1:8000 this ip has genrated.
I copied the id and paste it in my browser url bar.(I copied and pasted it without using keyboard. I only used mouse)
but when I provided the ip the project_1 starting page did not open.
The page was loading and it is still loading.
what can I do? Please help
logs folder
Here is my contribution, I cannot say what is the cause but I have a solution for it; because I have such as a challenge.
run
php -S 127.0.0.1:8000 -t public
Note that the 8000 is your port, and this could be any 4-digit number.
I hope this helps
Every thing you did seems right to me in terms of Laravel requirements, so lets check some other possible issues:
make sure that your internet connection isn't configured to use
proxy, if so make sure you excluded your local address.
if you are using Internet security suite software, make sure it doesn't block your requests, this vary from software to another but you might test this by deactivating the software for a while until you try.
now that's what I have in mind, I hope it help.
First, stop the php artisan serve
After changing directory go to inside your project folder, you can run php artisan serve. Then a localhost URL will be generated for you where you can see your project in the browser
If you have PHP installed locally and you would like to use PHP's built-in development server will start a development server at http://localhost:8000
Please try to install Laragon and forget about Xampp for now. This is really cool tool and you'll start much quicker. I did try to resolve few issues with Xampp myself and always wasted a lot of time. You can google tutorials later for it as well. Plenty of info out there.
As well it comes with in house installer for Laravel ;) and more :).
Make sure that you are not coping the url from Git Bash through command, it will stop running the project
Make sure that you are not using antivirus specially avast antivirus.

Pagodabox - Class 'Predis\Client' not found in /data/vendor/laravel/framework/src/Illuminate/Redis/Database.php:62

I have a website hosted on pagodabox and I keep getting the following error.
Class 'Predis\Client' not found in /data/vendor/laravel/framework/src/Illuminate/Redis/Database.php:62I have already checked this question, but my problem is specifically related to the pagodabox host. I have contacted support, no response from them and I am thinking i;m not gtoing to hear back from theb since this has tro do with the app itself.
I tried updating and recompiling the build on the server to run the updated composer.json file with predis/predis, but this didn't do anything. i followed the instructions in the answer above, but it's not working on my server. Any ideas?
Try this
Remove composer.lock
Remove vendor folder
Run composer install
Hope this helps

How to test my 'magento' project on localhost?

Don't judge me that 'you don't even search anything' ...
Actually, I read and read this post :
enter link description here
But I'm new to web project (I have only experience developing ios and android) , I don't know what I have to take a next step.
I have 'MAGENTO' project so my mission is to get accustomed to this project by testing on my localhost.
But I feel unkind for the post above because of my less understanding of web.
You can blame me, but please Tell me What I don't know...
I feel crazy because I don't know what I don't understand
What I've done is below :
Installation of php version 5.6
Having total project of magento of our service
Check apache is installed :
Server version: Apache/2.4.16 (Unix)
Server built: Jul 22 2015 21:03:09
One thing I think I am aware of is that I do not know how to connect my magento project and localhost...
First as #muk Said. install xampp.
it is hard to tell you how to install magento on local machine because you are not aware of web.
install magneto
I am providing you a video please see that and I think you will get success.
BTW below are the steps to install magento on local xampp/wampp.
download and extract magento
put magento folder in htdocs folder (C:\xampp\htdocs\ if you install xampp in c drive)
open browser and hit localhost/phpmyadmin (make sure your mysql and apache are running)
create a database
now open another tab and hit url localhost/magento
a setup wizard will show there , enter required information
and that all. For more information.
http://insync.co.in/how-to-install-magento-on-wamp-server-localhost-localcomputer/
This has all the info you need. If you still face issues, update your question with info about where you are stuck at and what error you see.

Install SVN on server on line without SSH access

I have a question about my project and SVN!I'm using OVH "Hosting Personal"(hébérgement mutualisé perso),so I do not have access SSH,and I can't install SVN directly on my OVH server...
I wish to install SVN on remote OVH server without SSH access.I tried to find a solution to install SVN on my local server(OS: Ubuntu,apache2) and put My Project inside and then I download all installation of SVN with configuration files to my server OVH on line,is that it is possible?
I hope to put my project on line and make modification and checkout when I wan't,but all tutorials talks just to do it with SSH.
The answer is: you probably can't.
Even if you had an SSH access, I guess that on shared hosting, OVH doesn't give you access to svn tools, and doesn't let you install svn.
Edit: this guide on OVH (in french) indicates it is possible to use svn, and that the only condition to use it is to have SSH access
PS: you don't have a server: you have some disk space on a server: big difference !
If it was technically possible, it would anyway most likely be a breach to OVH service terms of use.
Here is a link the the French "Conditions d'utilisation", in case you need to know what's inside :)
Only the use of PHP/CGI scripts is allowed, and with load restrictions.

Categories