Vote count: 1 I have a problem with specific prices not working on frontend, i used the CSV Specific Prices v2.2.5 to import them, it imported 2001 specific prices. When i deleted the specific prices in the database and i keep the first 1000 one, the specific prices will be showed in front end. It's a database issu? Prestashop 1.6.1.2 Thanks asked 2 mins agotarek fellah Let's block ads!...
ادامه مطلبVote count: -1 Why below is not working inside function but working outside? def foo(): common = {'abc' : 'xyz'} print(locals()) locals().update(common) print(locals(),abc) foo() Error : NameError: global name 'abc' is not defined If i run it outside function, it works common = {'abc' : 'xyz'} print(locals()) locals().update(common) print(locals(),abc) asked 4 mins agoGaurav Agrawal Let's block ads!...
ادامه مطلبVote count: 0 I have two domains in AWS Route53, both setup with the same DNS entries.First, that I have registered through Route53 works perfectly fine, while the second, which I have transferred from another provider (originally registered with wordpress) isn't working.Do you have any idea what's wrong? > nslookup ngschool.eu DNS Server: DNS Address: 192.168.3.7#53 Non-authoritative answer: Name: ngschool.eu Address: 89.173.206.9 > nslookup bioinfoexpert.com DNS Server: DNS Address: 192.168.3....
ادامه مطلبVote count: 0 I am using Android Studio 2.1.1 and gradle version is 2.1.0, project is ruing on buildToolsVersion "23.0.3". I moment ago studio was working fine. Then i added a image file from "new" - "Image asset" and cleaned project. Studio somehow crashed and restarted. From that moment on i am getting this message in error log. Although compile project feature is working fine.NOTE : Getting same message even if i am creating a new project and trying to run it. 2:34:27 AM IllegalArgumentExcept...
ادامه مطلبVote count: 0 I have created a report in ssrs report 2008 R2. This report contains conditional formatting (conditional coloring) for some cells inside a matrix. When I export the report to Excel, it shows most of the cells in black color. The report contains 10 pages. Any help is appreciated. Thanks in Advance! asked 1 min agoMajar K Let's block ads!...
ادامه مطلبVote count: 0 I'm using a switch in order to understand which button was clicked. There are 6 total buttons. I'm using this: public void characterClick(View v){ if(status){ switch (v.getId()){ case R.id.first: demoniacList.add(new Demoniac()); first.setEnabled(false); case R.id.second: guardList.add(new Guard()); second.setEnabled(false); case R.id.third: masonsList.add(new Masons()); masonsList.add(new Masons()); third.setEnabled(false); case R.id.fourth: mediumList.add(new Medium()); fourth.se...
ادامه مطلبVote count: 0 Hi I am trying to share image, URL and description with wechat user using UIActivityController but it fails to share image. I tried with following code: UIActivityViewController *activityView = [[UIActivityViewController alloc] initWithActivityItems:@[@"TestMessage", [UIImage imageNamed:@"pauseImage"], [NSURL URLWithString:@"http://www.google.com"]] applicationActivities:nil]; activityView.excludedActivityTypes = @[UIActivityTypeAssignToContact, UIActivityTypeCopyToPasteboard, UIAc...
ادامه مطلبVote count: 0 I am new in Ionic and AnguarJs. I have created a tab dynamically using ng-repeat. Tab title values are coming correct but tab content are incorrect. Here is my code, {{sub.MockTestSubjectTitle}} Here tab titles are subject name eg: Physics, Chemistry and Maths. I need to view subject name in tab content when i click corresponding subjects. It is working fine in static, Here is my static code PHYSICS CHEMISTRY BIOLOGY Please help me to resolve the issue. Thanks in advance. asked 2 m...
ادامه مطلبVote count: 0 I have a form, and a user have to enter a date of begiing and a date of ending. I'm using the compare attribute inside the rules method because the user can't enter a date of ending which is before the date of begiing. Here's my rules method inside the form's model : ['dateFinTR', 'date', 'format' => 'php: d/m/Y'], ['dateFinTR', 'compare', 'compareAttribute' => 'dateDebutTR', 'operator' => '>=', 'skipOnEmpty' => true,] The problem is if a user enter a date of begiing as 2016-05-18 ...
ادامه مطلبVote count: 0 I am using google app script to create a form for uploading file. This is my Code.gs file: var SPREADSHEET_FILE_ID = '1oQn6OLMzys8tVk1FLriOAmpzFJNazLRP-SwM7--eA58'; var folderId = "0B9TN_-yt-h0WZ0dnWndGWkw3UkE"; function doGet() { var template = HtmlService.createTemplateFromFile('index'); // Build and retu HTML in IFRAME sandbox mode. retu template.evaluate() .setTitle('Web App Window Title') .setSandboxMode(HtmlService.SandboxMode.IFRAME); }; And I am using all other codes almost...
ادامه مطلبVote count: 0 this may seem a as repeated question but I am having issues with the code whereby the columns still display despite not meeting the IF condition If CBool(Application.WorksheetFunction.CountIf(.Columns(j), "0")) . The code loops through columns and only displays columns that has values >0. I do not know if the issue is with j or with CBool condition itself . Would need some help as I really need this code for my excel as it would be then much more easier and useful to analyse! Thank...
ادامه مطلبVote count: 0 I am passing xml to stored procedure. it fetches values from xml string and insert it the table . this is how it is supposed t work. It works fine directly when I hit manually from phpmyadmin. but when I execute it from php code so it reads first line where code extracts the value from xml string, retus it . I have also validated the xml . there is no error in xml. I have also added sql exception handling code in both php and stored procedure. but it is showing nothing. here is ml ...
ادامه مطلبVote count: 0 I wanted to try using template literals and it's not working. I am using Chrome v50.0.2 and Jquery (wondering if that is creating a conflict?). If there is a conflict with using template literals and Jquery, and way to work around it? Example: console.log('categoryName: ${this.categoryName}ncategoryElements: ${categoryElements} '); Output: ${this.categoryName} categoryElements: ${categoryElements} Hoping the SO community can help me sort this out, thanks in advance! asked 28 secs a...
ادامه مطلبVote count: 0 I recently tried to transition from python2.7.11 to python 3.5.1, however having issues with netCDF4 library: This worked in 2.7.11: hndl = netCDF4.Dataset(path_file, perm, format='NETCDF4') but fails with this error in python 3.5.1: *** OSError: Unknown error I am using the latest netCDF4 library and windows 10 asked 2 mins agouser308827 Let's block ads!...
ادامه مطلبVote count: 0 I'm trying to run the most basic of TypeScript tests using Jasmine and Chutzpah and I just can't get it to work. Here is the source file: class Simple { public easyTest() { retu 5; } } Here is the spec: /// /// describe("Simple Calculations", () => { it("should retu true", () => { var simpl = new Simple(); expect(simpl.easyTest()).toBe(5); }); }); Here is my chutzpah.json file: { "RootReferencePathMode": "SettingsFileDirectory", "Framework": "jasmine", "Compile": { "Mode": "Exteal"...
ادامه مطلبVote count: 0 I'm new to jQuery and web developing but I'll do my best to give you the best damn question that you can ever have. I'm using jQuery plug in to perform infinite scroll in a web-page that will only display images. This plugin is from Infinite Scrolling though images. I have basically copy/pastebut it's not working for some reason (I'm sorry I can't give you more details but I'm not too deep into web-developing). I'm testing this demo in a virtual machine from osboxes.org. A linux ma...
ادامه مطلبVote count: 0 $temporaryID = $row->id; //data row ID from table $concat = "#".$temporaryID; //concatenate it for href if($x % 2==1){ echo ''; } ?> Trying to concatenate the # with the data id to put it the href tag. asked 1 min agoKiko 1 Answer Vote count: 0 You need to enclose the string in double quotes (and escape the ones inside of the string) answered just nowjhon quintero Let's block ads!...
ادامه مطلبVote count: 0 HTML text testing testing testing testing testing testing testing testingtesting. CSS .nextdiv{display: none;} JQUERY $( ".onediv a" ).hover(function() { $('.nextdiv').css({'display' : 'block'}); }); $( ".onediv a" ).mouseleave(function() { $('.nextdiv').css({'display':'none'}); }); When I hover to text then .nextdiv will display. Now I want to apply transition when that .nextdiv will display. thankyou in advance. asked 2 mins agoMukun Bhatta Let's block ads!...
ادامه مطلبVote count: 0 It has been a year or so since I've used Objective C and I must have forgot something because this is stumping me. I didn't use a for loop because I wanted a delay, but I logged all these variables, r is a float, j is an integer. r and j were initialized to 0. -(void)fire{ r = j; if (j < 80) { j = j + 1; bullet.position = CGPointMake(2*r, 15); NSLog(@"r is %f", r); NSLog(@"j is %i", j); NSLog(@"position is %f, %f",bullet.position.x, bullet.position.y); NSLog(@"x is, %f", r/8); [sel...
ادامه مطلبVote count: 0 No matter what I try I caot get my facebook share to use open graph meta tags properly. I have scraped my code, used various parameters but no result. It always reads the default. What is the issue? Online financial plaing - fast and free | India (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) retu; js = d.createElement(s); js.id = id; js.src = "//coect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.6"; fjs.parentNode.insertBefore(js, fjs);...
ادامه مطلب