Questions tagged as 'php'

2
answers

Laravel views does not work Session: :( 'message'), nor the Auth :: user () -

I have a problem with Laravel 5.2. At the moment of authenticating the user and redirecting to the home or login depending, the messages that I create by Session::flash() do not appear and on the home page when I try to show the name o...
asked by 06.03.2016 / 19:08
0
answers

Error: Fatal error: Class 'Paypal \ Api \ Payer' not found

I have the following problem: I've imported the paypal library ( paypal/rest-api-sdk-php ) with composer , but I'm getting error the following    "error Fatal error: Class 'Paypal \ Api \ Payer' not found" Start.php <...
asked by 08.09.2016 / 19:54
1
answer

How to install PHP modules with Dockerfile for instances of ElasticBeanstalk AWS

I need to install the mysqli and zip extensions in a Docker image, use the Dockerfile file to run the installation in my instances but with no results. this is my Docker file file: FROM php:5.6-fpm RUN docker-php-ext-install mysqli mysqlnd...
asked by 12.09.2016 / 18:25
1
answer

Referential integrity problems and how to restore migrations in Laravel 5

Hi, I had some referential integrity problems making a model. Basically I had an article with a category and tags For tags create another table that has the id of the article and the tag, since it may contain more than one. Here I had the fir...
asked by 15.09.2016 / 19:33
2
answers

Problem sending controller array to model

I have a problem sending a array containing the data of a form from contralodor to modelo , when the data reaches the database arrive NULL , I have reviewed the code, I searched in Internet and I can not find what is wr...
asked by 16.09.2016 / 05:16
1
answer

Put space every 200px

I want to make a div that inside has several ul and li that is automatically filled with mysql and php with a foreach. The div is infinite and I want every 200px to put a 50px separator automatically. Can this be done? The size of the cont...
asked by 08.02.2017 / 22:44
1
answer

HELP I have a problem with the scroll of my chatroom

I have a problem with the scroll of my chatroom The scrollHeight all the time stays down and does not move to see the messages above what I want to do is move the scroll of the user so that I can see all the chat messages and stay where th...
asked by 09.02.2017 / 00:56
3
answers

Validate a variable with a field from my bd

I am developing a Web page, which has corresponding users to cities, to be more precise it is built in the following way (and it is done in Postgres) USER ┌────────────┬───────────┐ │ cv_usuario │ Password │ ├────────────┼───────────┤ │...
asked by 01.03.2018 / 21:05
1
answer

Send post to another website and receive the result

On my server I have a checker that uses an external server to get a response, but that response is displayed on the external server and I want it to be displayed on my server. How can I make this answer appear on my server? The form you se...
asked by 09.04.2018 / 20:00
1
answer

return answer with json from laravel and access it with jquery

Greetings community! I'm doing the following Of the customer day with Jquery    In the next function I get an email and send it with ajax using everything right here   How could I return a json array from the server and access it from JQu...
asked by 09.10.2016 / 05:02