Roland

1

votes
5

answer
7.1k

views

500 - An error has occurred – DB function reports no errors when adding new article in Joomla

I have an article that I want to publish on my Joomla! site. Every time I click apply or save. I get error 500 - An error has occurred! DB function reports no errors. I have no idea why this error comes up, al I can think is that it's a server error. I'm using TinyMCE to type articles together with...
Roland
0

votes
0

answer
2

views

Cant access user object in joomla 3.9.3

I built a small website using Joomla 3.4.0./ Wampserver 2.4 on Windows 8.1 Pro. Now I've upgraded the computer to Windows 10 Pro and Wamp 3.1.7 (64 bit). I've rebuilt the website with latest version of Joomla 3.9.3 from scratch, and its working fine EXCEPT all those custom modules which access the u...
Roland
1

votes
0

answer
44

views

Using single letters in Microsoft Speech SDK

When I just used the letters, D got confused with B, and a lot of the letters got confused with other letters, so I replaced any letter that was working incorrectly with a word or name, but as you can see, it is half of them. I was wondering if there are any solutions where it is possible to say 'D'...
Roland Ohlsson
1

votes
0

answer
47

views

How can I prevent the second forms submit button from removing data from the first form while using the the window.history.pushState function?

I was advised to use the windows.history.pushState function in order to be able to sustain the information the user enters into the text boxes and be able to use the browser's reload this page button if they elected to do so, this function works just fine with just one form, but I've added a second...
Thomas Roland
1

votes
0

answer
105

views

SSAS Rollup Measure for Parent in Flattened Ragged Hierarchy - Optimal Solution

Okay, so, I have a flattened hierarchy as a dimension table in a cube in the data warehouse and I need to roll-up a measure to all parents to the top of the hierarchy. A little data to show you what I'm trying to accomplish.. DimWBS --------------------------------------------------------- | DimWBSK...
Byron Roland
1

votes
0

answer
126

views

ts-loader with sass-loader & ExtractTextPlugin

This topic could be considered as a continuation of my previous question related to webpack & ts-loader Now I am trying to understand how to use sass-loader with ts-loader and ExtractTextPlugin. After hours of digging it seems that ExtractTextPlugin is parsing node_modules and hence fails. In the...
Roland Jegorov
1

votes
1

answer
293

views

Angular: ContentChild is undefined

I'm using Angular 5 and trying to create some kind of dynamic component. I have a simple directive, MyColumnDef (with the selector [myColumnDef]). There is nothing special about it. I'm using it in: parent.compontent.html: Lorem ipsum. my-table.component.html: Something: In my-table.component.ts: @C...
Roland Rácz
1

votes
0

answer
37

views

Access frame attribute from component in multi frame environment

Problem I have a multi frame environment. Each JFrame has several JComponents, nested in each other. I need to access a global variable of the frame from within some of the embedded components. I can't use static because the static would of course apply to all frames. I can't hand over the frame or...
Roland
1

votes
1

answer
66

views

How does Windows Authentication really work? Web.config seems not enough

Trying to fix windows authentication. Objective: Windows Authentication. With Firefox a login dialog should appear, while with Internet Explorer the windows user name and password should go to the web server automatically. I set up a really small web application project, using the Empty template. We...
Roland
1

votes
0

answer
63

views

NativeScript Is there a way to include a css file with a view model instead of by a views

Is there a way to include a css file with a view model and not a view? I've tried looking at the nativescript documentation and have not been able to find the answer This view model is used/presented in a number of different views so adding the css classes to each view folders css file works but ma...
Roland
1

votes
0

answer
44

views

Can a user application on macOS receive raw ethernet packets?

Can a user application on macOS receive raw ethernet packets? I have a piece of hardware that uses it's own custom ethernet protocol and has it's own ether type defined. Is there anyway I can create a user application that sends / receives these packets? Mac OS does not support AF_PACKET. I believe...
Roland Rabien
1

votes
0

answer
85

views

Image Slider does not work at random moments

I have created an Image Slider using jQuery, but it doesn't work at random moments. After reloading the page I get the following error: Uncaught TypeError: Cannot read property 'indexOf' of undefined at i.fn.init.i.fn.load (jquery?v=eJAcMfrInnLuvmR6YmGFt2ky0cO2ssn2OaxtB6iWFKQ1:1) at HTMLImageElement...
Roland_dfa
1

votes
1

answer
51

views

HTML: Let table cell use all available height

I have a table with dynamic contents that uses rowspan. While it is easy to use 'width: 100%' to get a table column to use all available width, the equivalent just does not work with the height: xxxxxxxxxxxxxxxxxxxxxxxx A B C Unfortunately, the red table cell only uses the minimum amount of heig...
Roland Seuhs
1

votes
1

answer
236

views

Does preloading my page with jQuery affects Google ranking? [closed]

I use jQuery to preload my page, and this is how I do it: #wrapper { opacity: 0; } loading page... $(function(){ setTimeout(function(){ $('#preload').hide(); $('#wrapper').css('opacity', 1); }, 500); }); It works, but I'm concerned about how this affects the ranking of my page in Google, because the...
Roland Horvath
1

votes
0

answer
247

views

Calc confidence level of a prediction

I'm making a simple program that tries to predict a value from an array of values: require('@tensorflow/tfjs-node'); const {layers, setBackend, sequential, train} = require('@tensorflow/tfjs'); setBackend('tensorflow'); const {xs, ys} = require('./data.v2'); const [samples] = xs.shape; const MAX_SAM...
Roland
1

votes
1

answer
185

views

Moving background image on mousemove not working

I'm trying to move background image on mousemove in Angular project. It is not working, I'm thinking that the problem is loading: because I debugged manually in my code with: 'console.log('message') and nothing happens, so the function is never called. Some piece of code: HTML: Keeping track of you...
Roland Iordache
1

votes
0

answer
38

views

PHP: How to enable timeout for socket_connect on a local socket?

I try to use a local socket to communicate to another process that is running on the same host (PHP 7.1 on Linux): $socket_fd = @socket_create(AF_UNIX, SOCK_SEQPACKET, 0); socket_set_option($socket_fd, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 1, 'usec' => 0)); socket_set_option($socket_fd, SOL_SOCKET...
Roland Seuhs
1

votes
0

answer
246

views

Using quicksort algorithm to sort an array of integers with duplicate values

I'm trying to complete a project for school using C# that asks a user to input the length of an array and then has them fill in the array with integers. The array then needs to be sorted using a quicksort algorithm to put them in order of lowest to highest. My code is doing this successfully, but do...
Roland Defranco
1

votes
1

answer
51

views

How to update and switch branch with a checkout when using pipenv?

I'm using pipenv and have a repository checked out: https://github.com/rvanlaar/django-tinymce4-lite with branch rvanlaar-patch-1. I want to switch this checkout to master. How can I do that? I tried changing the Pipfile and running pipenv sync.
Roland van Laar
1

votes
2

answer
298

views

SVG Animations with delay

What? I'm writing a React application where I have a sequential animation with delays using CSS. I'm animating the elements in an SVG. The Problem On mobiles (less powerful than desktop devices) the animation handles are attached (it seems) asynchronously. Thus, the animations are not guaranteed to...
Roland Jegorov
1

votes
0

answer
22

views

Is it possible to transform log messages by using a script?

I want to transform the log messages, replace the author name which in my case is just an alphanumeric code by the real name which I will retrieve from a local file. Is there a way to do this with TortoiseSVN, e.g. by running a script? If Tortoise was calling the command line SVN I could just call a...
Roland
1

votes
1

answer
105

views

How to access QString for QGIS-2.14 in PyQt4

This is a bit QGIS specific, but figure it's kind of low level so I've posted here. I can definitely move this over to gis.stackexchange.com if that's better. Trying to use QgsRasterCalculator, which seems to want a QString type object for a couple of arguments. I try to create a QString (like desc...
Roland
1

votes
0

answer
42

views

Why doesn't ImageIO preserve JPEG data when repeatedly loading and saving?

Originally I wanted to try whether it is possible to reconstruct redacted data from a JPEG image, given that it is a lossy image format and the pixel values spread into the neighbor pixels. To test whether saving and loading JPEG images is reliable, I wrote the following program that repeatedly save...
Roland Illig
0

votes
0

answer
4

views

How to download a Firefox add-on without Firefox

I am in a corporate network and wanted to install some developer tools for Firefox. Unfortunately policies forbid that Firefox can access the internet directly, but there are other browsers available to go there. Now: how can I download an xpi-file directly without Firefox? The problem when I access...
Roland
1

votes
0

answer
53

views

dynamodb getitem android

Hi I'm trying to make a simple adnroid app that works with dynamodb and following through this tutorial: Link of Tutorial I have been able to connect with the dbClient and access the table. I can successfully perform the dbTable.putItem and also other methods like dbTable.getTableDescription. I'm ha...
1

votes
0

answer
27

views

Longest run of integers in an array in assembly x86

I am having trouble finding the longest run of integers in an array in x86 assembly. I have an array I am passing in, and the size of the array, and I think I am on track with my logic, just can't figure out the last steps. Any help is appreciated. This is the code I have so far: int Longest_Run(in...
Roland Bluntz
1

votes
1

answer
194

views

TYPO3 9.5 Speaking URL - How to rewrite/redirect former RealUrl pages suffixed .html

How can I permanently rewrite or redirect former from realurl suffixed .html pages to the new implemented URL? So far I didn't see any solution in the API Overview -> Site Handling. Or do I have to do this in the .htaccess file? I just upgraded my website from TYPO3 8.7 LTS to 9.5 LTS. In 8.7 I used...
Roland
1

votes
2

answer
46

views

Four-digit string number to two-digit string

I want to slice a string (which is a four-digit number), but if the string start with a 0, then I get only the second letter from the string The code: for i in range(0,b): data2['CLIENTBANKTEAORMANUAL_STR2'][i]=data2['CLIENTBANKTEAORMANUAL_STR'][i][0:2] and the results: CLIENTBANKTEAORMANUAL_STR...
Roland Szarka
1

votes
1

answer
22

views

How to get fabric commands to update output in place?

Pipenv updates the commandline output in place. Fabric 1.14.0 sees every update as a new line. This results in lot of superfluous ouput. I've read the documentation of the run operation. Tried setting capture_buffer_size to 100. Didn't make a difference. def install_packages(): 'Install packages on...
Roland van Laar
1

votes
1

answer
151

views

easyadmin entity field's dynamic custom choices

Installed easyadminbundle with symfony 4, configured for an entity name Delivery and it has a field associated to another entity name WeeklyMenu: easy_amin.yaml: Delivery: ... form: fields: - { property: 'delivered'} - { property: 'weeklyMenu', type: 'choice', type_options: { choices: null }} I need...
Roland
1

votes
0

answer
90

views

Nuxt + Netlify Forms custom success page not found

I have a simple Form in my Nuxt Project - hosting on Netlify and use the Netlify Forms feature - docs here https://www.netlify.com/docs/form-handling/ Don’t fill this out if you're human: ... send If I browse to https://mddomain.com/confirm it works fine. If I submit the form on the first time I...
Roland
1

votes
0

answer
32

views

wikidata search for strings instead of wd:q

I try to retrieve the birth date and the death date of several persons from wikipedia. Here is an example to extract the birth date and death date of Marvin Minsky. To be sure that it is the computer scientist, I added the occupation. SELECT ?family_name ?date_of_birth ?date_of_death ?family_nameLab...
Roland Rau
1

votes
1

answer
23

views

Getting current value when dragging canvas

I am trying to make a simple card game, something like Solitaire. I am not experienced in coding, so forgive me if it's a simple question. I want to move some canvas objects. New objects have the right value, but when i am dragging an already existing card it shows the wrong value (waarde in Dutch)....
Roland Lucas
1

votes
5

answer
3.5k

views

Delete/Destroy method doesn't work anymore? (Rails)

I'm encountering a very strange problem: my delete actions in rails don't work anymore. Even if I create everything by the scaffold command, every click on delete just sends me to the show view of the object, which should be deleted. script/generate scaffold myitem description:text This isn't only...
Roland Studer
1

votes
1

answer
4.8k

views

Whats the correct way to embed images PHPMailer with an HTML email?

I want to send an Newsletter with PHPMAiler. The newsletter does work, but I'm wondering if there is a better option to do this. What I have is. HTML Page Images Now my code looks as follows $mail = new PHPMailer(); //Adding the body $body = file_get_contents('template/index.htm'); $mail->Subject =...
Roland
1

votes
2

answer
428

views

jQuery vs. prototypeJS; size children

I currently work on a magento webshop, which loads PrototypeJS as framework. However i need jQuery at some point to do some custom stuff. jQuery is loaded after prototype and runs in noConflict mode. Now, here's my demo HTML: child child child An external JS file is loaded and contains the following...
Roland Franssen
1

votes
1

answer
650

views

Magento inheriting category settings

Is it somehow possible when i add a category in my magento store, it inherits the settings of the parent category? // Roland
Roland Franssen
1

votes
1

answer
706

views

Encoding Plain text email

What encoding should I use if I want to send plain text emails? I'm using PHPMailer. What setting do I need to change when sending email only as plain text, it's for a domain registration form.
Roland
1

votes
2

answer
2k

views

Sorting and Pagination does not work after I build a custom keyword search that is build using relational tables

I recently started to build a custom keyword search using Yii 1.1.x The search works 100%. But as soon as I sort the columns and use pagination in the admin view the search gets lost and all results are shown. So with otherwords it's not filtering so that only the search results show. Somehow it res...
Roland
1

votes
1

answer
124

views

Widgets and .mobi sites, is this possible?

I have a couple of concerns, I'm busy building a normal .mobi site for a client, so basically how I understand this is keep it simply since most phones do not support JavaScript and have a small screen etc. So I build a mobi site using only content and basic links. Now my question is how do mobi wid...
Roland

View additional