Posts by fabricio_wm • 1,090 points
97 posts
-
0
votes2
answers1059
viewsA: Database error Missing Driver Name Property
SQLCon.Close; SQLCon.Params.Values['Database']:='localhost:'+txtArquivo.Text; SQLCon.Open;
-
0
votes2
answers1059
viewsQ: Database error Missing Driver Name Property
I am making a system in Delphi 2010 with Firebird 2.5 that I select a database and I need to pass path location to my Database in my Sqlconnection. procedure…
-
2
votes2
answers729
viewsQ: How to view data in a dbgrid
I’m using SQLConnection, SQLDataSet, ClientDataSet, DataSetProvider, ClientDataSet and a DataSource. I need to display the data on one dbgrid, but I’m not sure how to do that. In the FormCreate I…
-
1
votes0
answers1604
viewsQ: Unavailable Database error when trying to connect Clientdataset using Firebird local base
I am developing an application in Delphi 2010 and I’m using Firebird 2.5. I created a Datamodule and put a Sqlconnection, Sqldataset, Clientdataset and right-clicking on the Clientdataset in the…
-
0
votes1
answer317
viewsQ: failed to use get_header in wordpress
I am mounting a system with wordpress to facilitate development and I created a theme and put in the folder wp-content themes. The index.php, header.php and footer.php files are in the wp-content…
-
0
votes1
answer1081
viewsQ: How to restrict access per user in Codeigniter
I have a system that I need to restrict access to in some areas like User Administration, for example. I’m not sure how to get the user who is logged in. I know I need to restrict access to the file…
codeigniterasked fabricio_wm 1,090 -
1
votes1
answer604
viewsQ: failed to work with base_url in Codeigniter 2.2.6
I am trying to load bootstrap files into Codeigniter using base_url(). My autoload.php file has the following configuration $autoload['helper'] = array('url'); In my view I put inside the head the…
-
1
votes1
answer134
viewsQ: Is Cakephp 1.3.15 compatible with Php 5.6?
I have a project in Cakephp that is in version 1.3.15 and the manual says it is compatible with PHP 4 and 5. The hosting server is PHP 5.3.3. I wonder if it is really compatible with PHP 5.6.
-
0
votes0
answers101
viewsQ: Error Undefined variable: siteConfig APP/views/Elements/header.ctp, line 9
I have a problem uploading images to a project using Cakephp 1.3.15. The link below shows what is occurring. http://curia.mitrarj.org.br/files/images/list_type_5/_DSC9589_16022016124709.jpg Follows…
cakephpasked fabricio_wm 1,090 -
2
votes1
answer59
viewsA: Unexpected end of file error in cakephp
Normalized after changing PHP opening tags from '
-
0
votes1
answer59
viewsQ: Unexpected end of file error in cakephp
I have a cakephp project that is in version 1.3.15 and I am trying to run in Xampp but it is giving this error as the attached print and this line corresponds to the closing of my html tag. Does…
-
1
votes0
answers491
viewsQ: Cakephp Does Not Load Css, Javascript, and Images
I have Cakephp in version 1.3.15 installed on a Centos server and the same project that works on the Internet, the local server only loads text and nothing else. As I enable developer mode, if there…
-
1
votes2
answers214
viewsA: Cakephp version 1.3.15 Error 500
Normalised after giving the following command: chmod -R 777 ArqRio
-
0
votes2
answers214
viewsQ: Cakephp version 1.3.15 Error 500
I’m working on a project in Cakephp that I can’t test on localhost. I took the project already started and as I can not do the tests, put straight keeping always the backup and work like this is…
-
7
votes1
answer73
viewsQ: Group by with subdivisions
I have an SQL that brings the number of people who graduated on a given date. Let’s say that of 300 people, 25 graduated on '2010-06-27'. I would like to include two more columns that return the…
-
1
votes0
answers38
viewsQ: failed to update Cakephp
I’m trying to edit a record in Cakephp 3 and instead of editing the system, it’s inserting a new record. Staticscontroller.php public function editar($ID){ $estatisticasTable =…
-
-1
votes1
answer245
viewsA: Cakephp site does not work on localhost
Normalized.I did not find the error and I ended up leaving for another solution. Thanks @Felipedouradinho
-
1
votes1
answer169
viewsQ: How to safely upgrade Cakephp from version 0.2.9 to the latest version
I took a website to manage which is a content manager that was developed in CakePHP in the version 0.2.9. I would like to know which is the correct and safest way to upgrade to the version 2.0 or…
-
0
votes0
answers52
viewsQ: Cakephp Router Failure
I’m updating a website that was made on Cake Php and I have a problem with Route. In app\config\routes.ctp are the rules below and this works: Router::connect( '/curia/anuario', array( 'controller'…
cakephpasked fabricio_wm 1,090 -
1
votes1
answer245
viewsQ: Cakephp site does not work on localhost
Hello. I have a cakephp site running on an internet server. I’m trying to move to my local machine (Windows 8.1) where I already have xampp running with Cakephp in version 2.1.0. I downloaded the…
-
1
votes1
answer1932
viewsQ: How to work with multi-level dropdown menu in bootstrap?
I am using bootstrap and would like to know how I do to work with dropdown menu with multi-level? <div class="btn-group"> <a href="index.php" class="btn btn-warning">Item1</a>…
twitter-bootstrapasked fabricio_wm 1,090 -
1
votes2
answers19485
viewsQ: Bootstrap dropdown menu not working
My dropdown menu doesn’t work. <div class="btn-group"> <button type="button" class="btn btn-warning">Menu Dropdowb</button> <button type="button" class="btn btn-warning…
twitter-bootstrapasked fabricio_wm 1,090 -
0
votes2
answers2674
viewsQ: How to work with Base64 encryption in Mysql?
I need to work with encryption in Mysql and need to use base64 because hearing that MD5 has a small flaw that allows it to have two distinct passwords with the same MD5. I need to encrypt and…
-
-3
votes1
answer805
viewsQ: Moving text within a textarea
I am developing a monitoring system and need to take a text from a log file and show on a monitoring screen. This text should move within the top-down textarea. Does anyone know how to proceed?…
-
1
votes2
answers9250
viewsQ: How to mount a select by taking information from the database
I’d like to ride a select with database information using Mysqli, whereas the value, will receive information from my cod_usuario and the information that will be displayed is the column nome.…
-
1
votes2
answers165
viewsQ: How to define access levels
I have a system that has a pv_user table and a pv_position. I would like to make a check according to the position the user will be redirected to different page. I have the code below: $result =…
phpasked fabricio_wm 1,090 -
0
votes2
answers687
viewsQ: $_Session variable does not write to database
I’m using mysqli and I can’t save information in the database. I ran the test with echo var_dump($_SESSION); echo "<br />"; echo $_SESSION['login']; The value returned was: array(2) {…
-
0
votes1
answer1589
viewsQ: How to pass variable Session in a Hidden input in php
I have a form and need to pass the value of the session via post method. I’m using the code below, but it’s not working. <input type="hidden" name="cod_usuario" value="<?php session_start();…
phpasked fabricio_wm 1,090 -
1
votes2
answers389
viewsQ: Failure to validate fields
I have a form that only enables the forward button, when the field is filled or selected. The fields Cód. Subscriber, Subscriber Name and the Date of Installation are allowing to delete your content…
-
0
votes2
answers17094
viewsQ: How to validate password through Javascript
I have a form that I need to confirm that the fields, Novapassword and Cnovapassword, are equal. Only if the two fields are equal will the system allow from the post to the file troca_password.php…
-
2
votes2
answers688
viewsQ: How to insert caption with quantity
Hello. I have a chart highcharts and need to enable caption with quantity so that facilitate the visualization at the time of printing because the quantity is only appearing when I hover the mouse…
-
1
votes2
answers1373
viewsQ: How to make a select with dynamic columns for each like?
I am making a select for a report of calls per carrier and each column of amount, I have a composite select that should return me the amount of calls from each carrier. SELECT date(calldate) as…
mysqlasked fabricio_wm 1,090 -
-3
votes1
answer167
viewsA: Failed to create login system
I resolved. $_SESSION is coming empty because I forgot the session_start(); at the beginning of questionario_pos_venda.php.
-
-4
votes1
answer167
viewsQ: Failed to create login system
I’m making a PHP login system that checks two conditions. 1st If wrong login or password has been entered; 2nd If the direct URL has been typed. The first check is correct. I’m having trouble in the…
-
1
votes2
answers926
viewsQ: How to store the date and time each click on the form
I have a form and I need to store the date and time with each click of the form or at least the first. I think this should be done via Jquery or Javascript. With each question, the form has a button…
-
1
votes3
answers2402
viewsQ: To assign the chosen value in a select (HTML) to a php variable
I have a code that I need to take the value selected by the user and my code always takes the last select code. <?php $tipo_info = 0; echo "<fieldset>Selecione, qual o tipo da informação…
-
0
votes1
answer1865
viewsQ: How to create a dynamic form in php
I am creating a dynamic form that should work according to what is selected in the select. I don’t know what it is, but the variable type_info should receive the value of the cod_type_info and if it…
-
2
votes6
answers16533
viewsQ: How to mount the HTML of a "select" via PHP, using data from DB
I’m having trouble properly assembling a <select> within PHP, with data returned by mysqli. I tried this way: <?php $con = new mysqli("localhost", "root", "senha","bancodedados" ) or die…
-
2
votes1
answer1682
viewsQ: How to use button for navigation between pages
I have a button that I am using a link as code below: <button id="avancar" type="submit" disabled="disabled" class="btn-primary"> <a href="teste.php">Avançar</a> </button>…
twitter-bootstrapasked fabricio_wm 1,090 -
2
votes2
answers50524
viewsQ: How to enable and disable button from onclick or onchange from select
I’ve done it with the radio button, but I’m having trouble doing it from a select. When selecting any employee, you must enable and when you select that you represent no employee, you will disable…
-
1
votes2
answers980
viewsQ: Enable fields from the completion of a previous field
I need to make a form that, to enable a field is required to fill in a previous field. Since there will be a pagination between a question and another (next or previous). You can do it in Ajax? I’m…
-
4
votes2
answers1628
viewsQ: Comparing string in php
I would like to know how to compare the contents of a string in PHP. I’m looking for a word on a line, but I don’t know what position she’s in. $ch_atend if($linha == "idle") { $ch_atend =…
phpasked fabricio_wm 1,090 -
1
votes2
answers191
viewsQ: Disable part of the form by Jquery
I don’t have much experience with Jquery and Ajax. I am developing a form that when selecting the Radio Button to send anonymous information, it should make invisible the part of the form that…
-
2
votes3
answers4213
viewsQ: Bootstrap dropdown menu does not work on Asp.net website
I have a page index.html that the dropdown menu feature works normally, but when I migrated to Asp.net stopped working. I’m using a page Default.aspx who inherits from the masterpage.master. <div…
-
-1
votes1
answer433
viewsQ: Masterpage error not located
My website that is giving "Masterpage not located" error, and all files have been published:
asp.netasked fabricio_wm 1,090 -
0
votes1
answer159
viewsQ: Sum of a Sqldatasource result
I am developing a reporting system to control calls and need to take the result of a query and make a sum that brings me the total number of calls per sector of a certain number. I’m using Stored…
-
0
votes1
answer354
viewsQ: Different result between select, after applying SUM() and Grop By
I’m making a call report from elastix and I have a problem here in the outcome. Theoretically, if I don’t touch Where, the result would have to be the same. select distinct (case left( devices.id…