Posts by mayconfsbrito • 511 points
28 posts
-
0
votes0
answers73
viewsQ: Suggestions for updating JSE application to J2EE
Already for more than three years I do not work with Java for real, I have worked with PHP, learned and liked a lot. In my opinion, all two languages have many legal advantages to be incorporated…
-
1
votes1
answer436
viewsQ: Can’t connect to Mysql server on 'IP (4)
I have two servers with different purposes, one being a webserver running apache and php 5.3, and the other is a Mysql database server. The first uses the database in the second 24 hours a day, 7…
-
4
votes2
answers1833
viewsQ: Dynamically execute model class method from an ajax request to the controller
I am creating a feature in my system for dynamic component reloading, so that queries are executed that are allocated in model layer classes, through AJAX requests. However, since I use the MVC…
-
2
votes2
answers1049
viewsA: Smart session with Codeigniter
I was able to solve the problem by simply rearranging the Codeigniter session configuration by setting in the file config.php of my application the parameters for the operation of the session.…
-
2
votes1
answer3713
viewsA: How do I enable "explicit_defaults_for_timestamp"?
I’ve been through this problem and solved it this way: I edited the my.cnf file (which in my case is on a Debian linux server, is stored on /etc/mysql/my.cnf) and on the tag [mysqld] inserted the…
mysqlanswered mayconfsbrito 511 -
8
votes1
answer2098
viewsQ: How do I use git to organize my development, approval, and production environment?
We are adopting the use of an homologation server here in our company, but we still do not know how to organize the development flow from this paradigm, since currently each developer when he wants…
-
2
votes1
answer1825
viewsQ: Allow a user to view stored procedures created by other users
I have a Mysql database populated with some stored procedures. The problem is that two different users have created several procedures, so that only the user who created the stored Procedure can see…
-
1
votes2
answers1263
viewsA: Run SQL files inside subdirectories on Linux
I was able to build my own script as follows: #!/bin/bash shopt -s globstar echo '...' if [ $# -lt 2 ] then echo "Favor definir dois parâmetros para execução deste script" echo "Primeiro parâmetro:"…
-
0
votes2
answers1263
viewsQ: Run SQL files inside subdirectories on Linux
I have an SQL file repository where each one represents a stored Procedure. These files are inside a directory organized in other subdirectories. Example of my directory structure: stored-procedures…
-
1
votes1
answer805
viewsQ: Model layer with DAO classes
Work with an MVC application that can be considered large or at least average, as it involves hundreds of features and more than 400 Mysql database tables. As a ORM tool we adopted Doctrine through…
-
0
votes1
answer494
viewsA: Instability when loading Jquery dynamically in window.load() in Firefox
In parallel to this topic I opened another post on Stack Overflow international and got the answer from the solution suggested by the user Master Slave. Click here to see the topic with the proposed…
-
1
votes1
answer494
viewsQ: Instability when loading Jquery dynamically in window.load() in Firefox
I have a feature where depending on the situation I should declare the Jquery library and some other scripts, such as the script Alert.js than a class of the same name. I have tested this…
-
1
votes2
answers1049
viewsQ: Smart session with Codeigniter
I have an application developed with Codeigniter, PHP and Mysql. The user’s session has always been treated according to the Codeigniter standard, but now I need the session to be more restrictive,…
-
3
votes1
answer1338
viewsQ: How to clone a javascript object? By copying and not by reference?
I need to copy a javascript object to be able to manipulate the copy freely. But when I try to copy the object normally through the sign =, the "copy" is performed by reference. That is, I actually…
-
1
votes3
answers4377
viewsA: window.close does not work
I figured out the reason for the problem that happens when the browser tab is reopened/resurrected, i.e., in Chrome when I reopen the window through the shortcut Ctrl + Shift + T. Since I am testing…
-
1
votes3
answers4377
viewsQ: window.close does not work
I am implementing the Jquery UI Dialog in my application. When the dialog is closed it should close the current window using the method window.open(); javascript. However this does not occur, and…
-
7
votes2
answers19648
viewsQ: Line break encoding ( n) in Javascript Alert()
Hello, I need to replace the string </script> transforming it into the string \n. The problem is that unfortunately my PHP project is with charset=ISO-8859-1, while javascript runs with UTF8.…
-
0
votes1
answer93
viewsA: How to customize the Doctrine library to work with the Timestamp type
I was able to do the customization modularized. That is, I was able to create the Doctrine subclasses in my application and use them from the connection configuration, defining the property…
-
-1
votes1
answer93
viewsQ: How to customize the Doctrine library to work with the Timestamp type
I’m using Composer with Doctrine in my application, and it’s getting wonderful. But I need to customize some Doctrine features, changing the classes Doctrine\DBAL\Platforms\AbstractPlatform and…
-
1
votes1
answer443
viewsQ: Filter tables to be mapped by Doctrine from Entitymanager (no command line)
I’m developing a feature in my application that consists of automatically mapping and generating entities. The problem is that the user can select the tables he wants to map, so I must insert a…
-
0
votes2
answers286
viewsQ: Toggle in a div next to (or below)
I need to manipulate a div from the click on another div. Basically, one is on top of the other, I want to click the top one and so the bottom one runs the event .toggled(). But one cannot be inside…
-
1
votes2
answers260
viewsQ: Datatables - Rowspan in <tbody>: Cannot read Property 'classname' of Undefined
I am using Jquery and the Datatable plugin in my tables. So in some situations I need to use rowspan in the body (tbody) of my tables, which generates the following error in Google Chrome and ends…
-
0
votes1
answer575
viewsA: Highcharts - Display tooltip in column equal to 0 or no value
Solved by inserting the attribute minPointLength in the montage of my chart. See the Fiddle example below: Fiddle…
-
0
votes1
answer575
viewsQ: Highcharts - Display tooltip in column equal to 0 or no value
Hello! At one time I implemented Highcharts in the Framework in my company, and I can say that we are super satisfied with it. But we have a problem that we don’t know how to solve. In column…
-
0
votes2
answers597
viewsA: Data-Tables misaligning table title and body when scroll is applied
I opened a topic related to this problem in the international Stack Overflow where my question was partially solved. Despite the new problem found from the answer, I believe it is related to my…
-
1
votes2
answers597
viewsQ: Data-Tables misaligning table title and body when scroll is applied
I’m trying to apply the plugin DataTables to the tables in my template, the problem is that when I apply the scroll, the table ends up misaligning the title of the table of its respective data body.…
-
1
votes2
answers562
viewsA: Table being rendered by Firefox with different border thicknesses
I was able to solve by treating only the CSS code as follows: table.bordasimples { border-spacing: 0px; border:1px solid #D2DDD4; } table.bordasimples tr td {border:1px solid #D2DDD4;}…
-
0
votes2
answers562
viewsQ: Table being rendered by Firefox with different border thicknesses
I have a problem specifically for tables rendered in firefox. I need to use the border-Collapse property on my tables to join the edge of the cells. But when firefox renders the table, the edges are…