Posts by Yuri Rodrigues • 653 points
40 posts
-
0
votes0
answers127
viewsQ: Shell Exec does not run opening by browser
I made a list of commands to be executed on the server using php, which was as follows echo shell_exec("sudo mkdir teste"); echo shell_exec("sudo chown apache:ind teste/"); echo shell_exec("sudo…
-
0
votes2
answers351
viewsA: Magento 1.9 API
I got it, it was my . htaccess that was different from the standard, I took one from the default user and played it worked. thank you
-
0
votes2
answers351
viewsQ: Magento 1.9 API
Good afternoon, I’m having a problem accessing the Gento 1.9 api page I’ve tried every way /index.php/api/rest/ /api/rest/ and all returns 404, someone can help? Att;…
-
1
votes1
answer68
viewsQ: Magento Error 404
Good morning, I’m having a problem when active URL friendly on Magento. When for example access: MINHAURL/customer/account/login/ I get the following error Not Found The requested URL…
-
0
votes1
answer57
viewsQ: Wordpress category and tag query
How I search posts by category and tag? I did it and it didn’t work: query_posts(array( 'post_type' => 'noticias', 'showposts' => 2, 'category__and' => array(70), 'tag__in' => array(77),…
-
0
votes0
answers34
viewsQ: Ajax, Scroll through each element
I have an ajax that returns me this. {curso: "Administração", nDeAluSelecionadosRespondentes: 0, nDeAlunSelecionadosNaoRespondentes: 0, numeroDeAlunosSelecionados: 0,…
-
0
votes1
answer900
viewsQ: Compare Angular Data Js
I would like to compare two dates at angular js, the two dates are like this: Sat Oct 14 2017 11:43:46 GMT-0300 (Hora oficial do Brasil) Sat Oct 14 2017 17:53:51 GMT-0300 (Hora oficial do Brasil)…
-
0
votes1
answer18
viewsQ: Plugin does not create page
I’m trying to create page when activating a plugin, however, when trying to access, says that the page was not found, it even arrives without created, but gets a tag "scheduled" Follows code below:…
-
0
votes0
answers38
viewsQ: Updates Price when selecting attribute [Magento]
When selecting an option in the attribute, for example: P M G GG = 25.00 the price does not update, as I do to update as soon as I select the option... my version of Mangento is === 1.9.3.1 ====…
-
4
votes4
answers6169
viewsQ: Angular js Array within another array
How do I print an array within another array, in the.log console it comes like this: Array[5] 0:Array[10] 0:Object 1:Object 2:Object 3:Object 4:Object 5:Object 6:Object 7:Object 8:Object 9:Object…
-
1
votes1
answer45
viewsQ: Start nodejs in Azure
I have a problem to initiate the nodejs in the server Azure, I’ve set everything up and the site is already in the air, but I have a chat in Ode, using socket.io, see the code below (index.js): var…
-
1
votes1
answer57
viewsQ: Accessing information from an Object
How would I access Type and cm with that array? object(stdClass)#38 (3) { ["op"]=> string(1) "&" ["c"]=> array(1) { [0]=> object(stdClass)#32 (3) { ["type"]=> string(10) "completion"…
-
0
votes0
answers16
viewsQ: Manipulating php string
I wanted to be able to access some information of this string: {"op":"&","c":[{"type":"completion","cm":1227,"e":1}],"showc":[true]} it looks like an array, but it prints as a string, as it…
phpasked Yuri Rodrigues 653 -
3
votes2
answers192
viewsQ: Remove value "json header"
I have a problem to generate a json in php, after the query it returns me this {"37":{"codigo":"37","firstname":"Aluno","lastname":"Toledo","atividade":"A","checklist":null},…
-
0
votes3
answers1541
viewsQ: Angularjs Format date
As a data format in the input type controller="DATE"? i have this return in controller... Sat Aug 06 2016 00:00:00 GMT-0300 (Hora oficial do Brasil) Mon Aug 01 2016 00:00:00 GMT-0300 (Hora oficial…
-
2
votes3
answers450
viewsQ: Socket.io chat, setting url
I would like a help with chat using socket.io, I would like to define a URL, I am not getting, I can only access through localhost:3000. For example I wanted the chat to be on the homepage of my…
-
2
votes1
answer1566
viewsQ: Node.js does not load js or css scripts
I’m making a chat app and I can get the page I want but this page does not load the corresponding css or js scripts, does anyone have a solution for this please? So far I’ve got this: Code:…
-
0
votes1
answer160
viewsQ: cannot get/ chat socket.io
I am trying to start the socket.io service, but error appears Cannot GET/ my server.js is like this var socket = require( './node_modules/socket.io' ); var express =…
-
0
votes1
answer529
viewsQ: Angularjs Service http
I have a service at the angle and wanted to do a foreach to recover the user value, to authenticate the login My service: .service('usuariosService', function ($rootScope, $location,$http) {…
-
1
votes1
answer81
viewsQ: Angularjs Element duplicating
I made a chart with Morris.js https://morrisjs.github.io/morris.js/donuts.html and put it inside a return of a query, so far everything right, but when I call this query again to generate other data…
-
4
votes3
answers1322
viewsQ: Add "name" to a JSON object
My JSON currently returns this low code: {"2":"aluno","8":"barbara_cristina","13":"carolina_deus"} Is there a way in places of numbers 2, 8 and 13 I could add a "header"? I wanted it to be like…
-
2
votes1
answer1170
viewsQ: "Syntax error: Missing 'semicolon'" in Mysql database
I have the procedure down below CREATE DEFINER=`root`@`localhost` PROCEDURE `SP_notasAluno`(IN aluno INT) BEGIN DECLARE ditCodigo,courseId INT; DECLARE usuario VARCHAR(50); DECLARE…
-
0
votes1
answer109
viewsQ: Ionic + Angularjs error list item
I made a list in Ionic that returns some values, but when I click on the list to show these values completely, I am not able to recover... my controller: app.factory('services', ['$http',…
-
0
votes1
answer332
viewsQ: Recover value Angularjs POST
How to recover the value in php file when I use this Angularjs post method? $http({ method : 'POST', url : 'xxxxxxx.com/consulta.php', data : JSON.stringify($scope.newName), headers : {…
-
-2
votes2
answers510
viewsQ: Return response problem via $http.post()
I’m just trying to get a return value HTTP but I’m not getting it. .controller('myCtrl', function ($scope, $http) { $scope.sendPost = function() { var dataObj = { name : $scope.newName }; var res =…
-
3
votes1
answer217
viewsQ: Upload mysql query to list
I am making a query in a database that returns a list of users, which I am printing in a table. I would like to turn this query into a list and then insert these users into another table This is how…
-
2
votes4
answers2091
viewsA: How to send variables via ajax/php
Have you tried that? var dadosajax = { 'campo1' : 'valor', 'campo2' : 'valor' } and then to recover $campo1 = $_REQUEST['campo1']; $campo2 = $_REQUEST['campo2']; and ajax would look like this...…
-
4
votes2
answers4557
viewsQ: How to compare two arrays and return the difference between them?
I have 2 arrays that come from 2 different banks, one comes from sql server other mysql. The Mysl query returns like this.. array (size=6) 0 => string 'ultimoteste3' (length=12) 1 => string…
-
7
votes2
answers2040
viewsQ: How to store the value of the indexes of this JSON in variable?
I have a function in php that returns it to me. [{"id":81,"username":"usuarioteste23"}] How can I save in a variable this ID and in another variable this Username? Thank you.…
-
1
votes1
answer878
viewsQ: Recover ajax response value
I have a service that registers in a system (the code below) var userstocreate = [ { username: '' + usuario + '', password: 'E@d123456', firstname: '' + primeiro +'', lastname: '' + lastname + '',…
-
1
votes2
answers87
viewsQ: Help with concatenating
I need to pass a variable inside an item array, a parameter that only accepts string, but when I pass a variable the API does not accept, it says that the parameter is incorrect. Better explaining:…
-
3
votes2
answers5442
viewsQ: Change menu color in page scroll
How do I change the color of a menu by scrolling the page? I’m doing like this $(function() { $(window).on("scroll", function() { if($(window).scrollTop() > 100) {…
-
1
votes1
answer48
viewsQ: Help with QuizMoodle
I would like to create a list of users who for example answered "no" to a questionnaire. How do I select these users and send a message? generate a list of users and import, any solution? I have a…
moodleasked Yuri Rodrigues 653 -
0
votes0
answers64
viewsQ: Helps how to do this effect
http://www.sweez.com.br/#franchises I would like to know how to leave these elements floating as the page descends... someone has a simple example? I know you use Parallax,…
-
0
votes1
answer85
viewsQ: I would like that bar when scrolling the page
But just go filling the steps when scrolling the page, someone can help? $(document).ready(function() { var i = 1; $('.progress .circle').removeClass().addClass('circle'); $('.progress…
-
3
votes1
answer436
viewsQ: Horizontal timeline as you scroll down
(function($){ $(function(){ // Slider functionality // slide knob to position function (function( $ ){ $.fn.slideToPos = function() { var left = $(this).position().left + ($(this).width() / 2) -…
-
0
votes1
answer222
viewsQ: Help with progress bar!
Hello, good morning, I would like to know if anyone has seen or implemented a progress bar when scrolling the page. a bar that is fixed below with a forward button more or less that.. var sections =…
-
1
votes1
answer856
viewsQ: Jquery video final event
Good morning, I have a problem, I wanted to display a modal at the end of each video, in the first video it worked right, but in the second I’m not getting... Follows code below... If anyone can…
-
1
votes2
answers543
viewsQ: Video Jquery Exchange
I can’t do that after clicking the button, change the video I wanted the video to change at the top, but appears 2 after clicking the button... function setvideo(src) {…
-
2
votes2
answers85
viewsQ: Help with Bootstrap
I have a modal that appears at the end of the video, as I can call the bootstrap modal when the video ends? normal javascript alert works, but bootstrap doesn’t :s // 2. This code loads the IFrame…