Search update

60548 results
2

votes
0

answer

Woocommerce cart update failure

When I add a product to my cart, I see the product added via Ajax. Nothing wrong. When I go to the previous page, my shopping cart is back empty until I refresh the page. I'm using FF or Safari. I don't have this problem in google Chrome (Cart shows the items I added, also when I go to the previous...
Niels
3

votes
1

answer

Jquery Update Not Working

I have this script that I have copied to my html file. When I run it on fiddle combined with my html, it works. But on my site, it doesn't. Is this the correct way to include it?: $('#quantity').change(function(ev){ var price = $('#quantity').val() * 0.1; $('#price').html((price).toFixed(2)); }); Th...
Kaki Sami
2

votes
2

answer

sql oracle using update

I need to take data from one table to add to another table. I got two SQL's: SQL1: select * from table1; SQL2: select * from table2 where coloumn1 = table1.coloumn6 (number) table1 looks like: For better understanding we call each coloumn coloumn1, coloumn2, ... coloumn9 table2 looks like: For bette...
piguy
2

votes
1

answer

Update config file

I have a problem with update my ConfigFile in VS2013 with C#. I have this code: Configuration configManager = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); KeyValueConfigurationCollection confCollection = configManager.AppSettings.Settings; confCollection['ID_Uzivatele'].Va...
Pavel
1

votes
1

answer

Update Fields Supplier Invoice

I'm looking for an Odata service that can update values of supplier invoices. I know that I can do it using BAPI, but I would like to know if there is a way to do it using a update from OData service or something similar. The fields that I want to change are: Block a Payment Change Assignment Number...
2

votes
3

answer

Mysql Update + SELECT query

I want to update data table for those who score exam id 1,2 more than 80. I try this UPDATE data SET column = 'value' WHERE (SELECT * FROM exams WHERE (id = '1' AND score >= 80) AND (id = '2' AND score >= 80)); It gives me 0 result. But it should have few hundreds results ANy help?? I think the prob...
mysqllearner
3

votes
2

answer

insert or update confusion

I'm a bit confused about how to handle the situation where you update a row in sqlite if it exists, or insert it if it doesn't. I seem to see a different solution on every answer there is to this problem. Whats the most efficient or easiest way? EDIT: I meant sqlite, sorry
Vortol
3

votes
5

answer

Ajax data update. Extjs

I need to keep certain data ( in a grid) up to date and was gonna do a poll to the server every 15 seocnds or so to get the data and refresh the grid, however it feels a bit dirty ( the grid will have the loading icon every 15 sec..) doesnt look great... Another option is to check if there is new d...
roundcrisis
2

votes
1

answer

Mysqli Update Prepare Failing

if ($stmt = $mysqli->prepare('UPDATE profile SET fullname =?, guardian =?, addressline1 = ?, addressline2 = ?, city = ?, stateid = ?, pin = ?, birthdate = ?, bloodgroup= ?, allergydetails= ?, pancardno= ?, officephone= ?, residencephone= ?, mobilephone= ?, drivinglicensenumber= ?, drivinglicens...
Basu
2

votes
2

answer

PLINQ update failed

sorry for my English. So, here is my question I'm trying to update DataTable by PLINQ Here is my code DataTable table = new DataTable(); table.Columns.Add(new DataColumn('val', typeof(decimal))); int N = 1000000; for (int i = 0; i < N; i++) table.Rows.Add(new object[] { i }); table.AsEnumerable().As...
feniks
7

votes
3

answer

Update autoComplete JavaFx?

I'm currently working on a JavaFX project.I'm using Autcomplete TextField of ControlFx .Each time i add new rows in database table, it should to update Autocomplete ,i did this but my problem is showing double Context-Menu ,we can say double autocompletes because i call method that create autocomple...
Menai Ala Eddine
2

votes
2

answer

Cocoapods 0.39.0 update error

After updating cocoapods to 0.39.0 from 0.38.2 each time I run pod install or pod update command, I receive error [!] Unable to satisfy the following requirements: - `GoogleAnalytics (= 3.13)` required by `Podfile` Project info: XCode 7, iOS9 SDK, 8.0 Deployment target, bitecode is disabled in proje...
Ponf
3

votes
1

answer

Android application update

i have an app in the android market that utilizes the database as well as the shared preference .I need to update my application to add more functionality and new tables I have updated the database portion in the upgrade() method of the helper class. Please help in explaining the process of android...
Ram
3

votes
2

answer

Android Studio Update Problems

Android Studio updated to 3.0 and I'm having a lot of issues with my project. Currently there is an error at launch that I can't find a way to solve. Here is error stack: Error:com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/nikitagudkovs/.gradle/caches/modules-2/file...
Tuesday Four AM
2

votes
1

answer

Dynamic constraints update

In my project there is a specific stuff I'd like to implement but for doing that I might change constraints of views dynamically. Let's say I've got a UIView instance and a UILabel one. The picture below shows how it looks like. (The picture is a little bit huge, it's all iPhone 6 you know ;P) It's...
Majotron
2

votes
2

answer

Merge or update

Currently my query is very heavy, the table (table A) I need to update contains 21 million records and another table (table B) contains 15 million records. for all the records that are in table B, the records in table A need to be updated. Using the V$SESSION_LONGOPS I can see that the query is goin...
Eve
3

votes
3

answer

PHP: update through array

I have a problem with the following code. index.php $table = 'test'; $data = [ 'gerecht' => 'Spaghettie', 'omschrijving' => 'Spaghettie van het huis!' ]; $id = '3'; $crud->updateData($table,$data,$id); crud.class.php public function updateData($table,$data,$id){ //Query opbouwen $query = 'UPDATE {$...
Jochem Holtackers
1

votes
5

answer

(My)SQL - batch update

Hey, I have a table with 'id', 'name', and 'weight' columns. Weight is an unsigned small int. I have a page that displays items ordered by 'weight ASC'. It'll use drag-n-drop, and once the order is changed, will pass out a comma-separated string of ids (in the new order). Let's say there's 10 items...
Matt
2

votes
1

answer

Multiple server update architecture

i'm using AWS for my application. current configuration is: Load balancer --> Multiple EC2 instances (auto scaled) --> all mount a NFS drive with SVN sync Every time we want to update the application we login to the NFS server (another EC2 instance), and execute svn update to the application folder....
Danny Valariola
2

votes
5

answer

Make seconds update automatically?

I'm trying to just display the date and time on this website, and right now you have to refresh the page in order for it (the seconds, etc.) to update. How do I make the seconds update automatically? JavaScript Testbed Javascript will find out the date and the browser. var currentTime = new Date();...
ccaley
4

votes
2

answer

Update in PostgreSQL

Platform PostgreSQL 9.2 I am very new to PostgreSQL. I have this scenario, which I have been able to address in MSSQL, but the same approach does not work with Postgres. I have this table CREATE TABLE TEST( ID INT, Value1 INT, Value2 INT ); INSERT INTO TEST VALUES (1,10,0), (2,20,0), (3,50,0), (4,10...
Raj
3

votes
2

answer

SQL Server query update

I have 2 tables. I need to update data the data in tableB, populate it with data from tableA. But the problem is the design (note: I can't change the design because its a ready made system. I'll just have to deal with the fail). Lets say tableA (2 columns) the data source is structured like so: ID |...
nambla
2

votes
4

answer

Python: Update list parameters

For string we can have msg = 'successfully returned with msg: %s' msg %= 'Elegant'; Can we do the same for list, For instance , cmd = [ 'Message %s', 'Param %s' ] cmd %= (msg, param)
Dipak Ingole
5

votes
3

answer

MySQL Update Error 1093

This works in a table where doc_id is the primary key: select count(*)+1 from doctor where exp > (select exp from doctor where doc_id='001'); +------------+ | count(*)+1 | +------------+ | 2 | +------------+ But when I'm using the same select query to set a field in the table, it reports t...
2

votes
3

answer

Hibernate and Batch Update

Although I can see a lot of discussions around Hibernate and Batch Update, here is my specific scenario I hope to get comments from you all experts. I am iterating through a list of Document objects and for each of the document, I need to update a DOCUMENT_METADATA table with a property from Docume...
phewataal
3

votes
4

answer

MySQL Update Query issue

I know it has something to do with the syntax, but I'm looking for a way to do the following: UPDATE modules SET ServerID = boards.ServerID FROM boards,modules WHERE modules.ID = boards.ID this doesnt work. I'm using MySQL
snoofkin
5

votes
2

answer

Can't update eclipse

Trying to update existing eclipse indtallation ...following error. Can someone help ? Why no repository ? An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No reposit...
Jigar Shah
10

votes
1

answer

composer update “process killed”

I tried to execute: composer.phar update And received: Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 71 bytes) in phar:///home/xxxxxxx/bin/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php on line 123 The xxxxxxx is the user. And then I tried to exe...
xpto
1

votes
5

answer

update problem in sql

i have an update statement,which gives an error 'Failed to convert parameter value from a String[] to a String.' SqlCommand comm1 = new SqlCommand('UPDATE count set [email protected] WHERE Id IN ( ' + itemIDs + ')', connection); comm1.Parameters.Add('@ETR', System.Data.SqlDbType.VarChar, 50); comm1.Parameter...
Mishigen
2

votes
1

answer

$.fn.yiiListView.update doesn't update ClistView

I'm trying to update my ClistView in Yii 1.1.15, using $.fn.yiiListView.update. I do get it to echo the proper results back, but it doesn't update the list. in my JS var ajaxRequest = 'lat='+position.coords.latitude+'&lng='+position.coords.longitude; $.fn.yiiListView.update('store-list', {data:ajaxR...
user2636556
1

votes
5

answer

Variable will not update

Made my very first program for school using a basic calculator program but added a variable, not sure if it should be global or local. It calculates fine, but does not return 'tribble' as a new integer. tribble = 1 def buy(): x=int(raw_input('How many?')) return (tribble + x); def sell(): x=...
Kyle Adcock
13

votes
2

answer

IntelliJ: Automatically update resources

I am using IntelliJ IDEA to develop AngularJS app with Java back-end. HTML/JS is server from Tomcat. Whenever I changed HTML/JS file, I hit CMD+F10 and select Update resources, then refresh my browser and everything is OK. I'd like to ask if there is a way that IntelliJ would do this automatically f...
Xorty
6

votes
2

answer

Update Height with ViewFlipper

I want to be able to update height on every child of the ViewFlipper. Is this possible as I could never find any API documentation for ViewFlipper and updating the height or width.
JamesD31
2

votes
1

answer

Update and Filter listpicker

I have two list pickers with same databinding(from XML), When first listpicker have selection changed it should filter data of second listpicker and hide item which selected in first listpicker, same as second listpicker. 2 listpicker XAML... DataBinding with XML code public Customize() { Initializ...
Shahzeb Khowaja
2

votes
3

answer

chef automatically update configuration

I use chef-server and chef-client configuration. There is a one recipe that I want to rerun on every hosts that contains it on every change in hosts configuration (new hosts added by bootstrapping or the old one was deleted), there is no changes in recipe itself. By now, I simply run chef-client e...
com
3

votes
1

answer

Dynamically update JComboBox (NullPointerException)

I'm trying to dynamically update a JComboBox in swing application and getting a null pointer exception. class Accounts extends JPanel { JComboBox accountSelect; DefaultComboBoxModel accountSelectModel; public Accounts() { this.initGUI(); } public void initGUI() { //setLayout etc... String[] al = {};...
2

votes
2

answer

OnPaint does not update

I have a windows form which contains a user control. This user control has the following code: protected override void OnPaint(PaintEventArgs pe) { base.OnPaint(pe); pe.Graphics.DrawRectangle( new Pen(Color.Red, 5 + laenge), new Rectangle( new Point(50 + leerzeichen, hoehe), new Size(laenge + 20,...
Tim Kathete Stadler
4

votes
1

answer

Android Widget Won't Update

I have been working on a widget for Android. One of the things it should do is display the current day of the week and day in the month. I think my code is alright, but for some reason it never updates. The update period in my provider is set to 30 minutes, but I don't think that should matter (in a...
Zero
2

votes
1

answer

Scope refuses to update

for some reason unknown to me, I can't get the controller scope to update the view, even though apply is running and the scope itself has been updated. I know that because when I console.log(data) I see its been updated. userList directive should assign data.activeUser property on controller's scop...
Asaf Katz
2

votes
5

answer

Composer update trouble

I'm using laravel + composer . I'm loading way/generators package and when I run composer update give me this error: Loading composer repositories with package information Updating dependencies (including require-dev) Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 6...
Fede