For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
I have a Core 2.1 Razor Pages solution that contains a number of discreet web apps. All of these apps share a number of css, image and partial page files.
To "share" these files, I created a solution folder (in the VS2017 Solution Explorer) called "Common", and inside that folder, I put various files into this folder.
Question - Even though I created the folder in the solution explorer, there is no "Common" folder anywhere in the folder hierarchy. Instead, all of the files I put into the Common folder were placed in the solution's root folder. Did I do it wrong?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
First of all, is this based on an article somewhere here on the site? If it is, that's where you should be asking your questions. It's extremely unlikely that the author will come across this post and realise it's for them.
Second, when talking about an error, it's a good idea to tell us what the problem actually is. Right now, we have to take a look at your question and guess what the problem is.
Third, the structure of the divs is different - you don't have a containing div with carousel-inner. Now, you might have it in your code and you just forgot to post it here but without the context of the problem, we can't tell.
Fourth, the image src is invalid. You have stray spaces in the src.
There is no problem with paths. The problem was the name of the file and directory. And so the name.
The DIV structure is the same, in the second chapter it did not copy to me. The ad blocking tool cut out this carousel by the name of the files in the format "advertisement1" and the folder: "advertisement". After changing the file name to 1.jpg and folder on "aa" the problem disappeared.
I'm unsure if I'm posting this in the correct forum but here goes:
I'm in the process of creating a website for our door manufacturing business. As part of the website I want to add a 'design your own doorset' feature which would allow the customer to enter all of their specifications in regard to quantity, sizes, component type, confirm the order,.and then pay at checkout.
Here is an example of another company who have a similar offering:
The solution I want to create is functionally the same as the above website, however with more size, type and finish options. I find that the above website does well in explaining what each option delivers but it isn't aesthetically pleasing and wastes a lot of space with text.
As I'm not educated in website building I am using Wix which does permit the embedding of html. That being said, I'm looking for advice as to whether I can simply have this software written then embed it on Wix or whether I need to also find someone to build a new website from scratch.
I'd like advice on what type of professional(s) I should be hiring for this type of work. What should they be specialised in?
The person that you hire would be the best person to ask these questions. Developers tend to be an opinionated lot, and there are often many paths to a good solution, and we wouldn't want to prejudice you to specific viewpoints in case your developer has differing ones.
You'll want to hire a web developer with business development experience, since payment portals are not something that you want to play around with. Optionally, you'll want someone with design experience as well, but that might be a task better relegated to someone else, budget withstanding. Generally developers are weak on design, and designers are weak on development; we just value different things.
If you currently have any order processing automation, you will want to talk to whomever handles the database to coordinate other skills that might be needed; namely experience with whatever database your company uses.
My last suggestion is that you look for someone that can claim some security experience or some sort of security certification. That's a CYA move, but realistically a dev that thinks about security while they code will give you a better (publicly accessible) product at the end than one who doesn't.
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor
I am attempting to create PIVOT data where amountPaid is displayed under registration_Date as in the following format
2018 2019, etc
300.00 160.00. etc
So far, the result is not coming out right.
Instead of the amountPaid displaying on the year colums, reg_fee amount is displaying on the first column.
This is driving me nuts.
I am creating the pivot data dynamically. This way, any new year created is displayed with amountPaid as the value.
This is the code I am using:
ALTER PROCEDURE [dbo].[uspGetPivotedData]
DECLARE @cols AS NVARCHAR(MAX),
@query AS NVARCHAR(MAX);
SET @cols = STUFF((SELECT distinct ',' + QUOTENAME(m.registration_date)
FROM Members m
FOR XML PATH(''), TYPE
set @query = 'SELECT TransactionID,
' + @cols + ' from
from dbo.Transactions AS t INNER JOIN dbo.Members AS m ON t .MemberID = m.MemberID INNER JOIN
dbo.PaymentTypes AS p ON t .TypeID = p.PaymentTypeID
for registration_date in (' + @cols + ')
) p '
EXECUTE sp_executesql @query
I've been struggling with getting an Angular 6 app to sort the results of an WebAPI call, and it turns out that the root cause is case sensitivity on the object properties. And I can see 'where' the differing cases come from, but I can't see the where/why.
So the problem was that data structure matches the JSON capitalization and not my local TS object one, and I had to use DisplayOrder not displayOrder (and TS now whinges at me).
But isn't Angular now supposed to map and convert JSON automatically (I know this was a specific step in the past)?
And surely your local objects don't have to match the case sensitivity of the JSON provided by others.
Hi My Website "stelleninfotech.com"is showing error.when we refresh it then its work properly.
Warning : opendir(cache/domains/): failed to open dir: No such file or directory in /var/www/html/cms/application/models/api_model.php on line 14
Warning : readdir() expects parameter 1 to be resource, boolean given in /var/www/html/cms/application/models/api_model.php on line 15
Notice : Undefined variable: domains in /var/www/html/cms/application/models/api_model.php on line 22
Warning : in_array() expects parameter 2 to be array, null given in /var/www/html/cms/application/models/api_model.php on line 22
That is a template issue, perhaps your template is incomplete.
If you are using a commercial version of template, contact the developer and ask them to fix this, most probably there is something missing, or something was not uploaded by the developer.
I also just found out that you have been asking the same question on rest of the Internet too, and you were told to share the code too, it is impossible to help you at all. Share the code at line 14, line 15, line 22... So on and so forth. But this problem will boil down to an incomplete theme, or a poorly written theme.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
Inner div css(only background color, and width differs, having in total width 100%):
background: rgba(40, 188, 215);
width: 15%; left div | width: 75%; middle div | width: 10%; right div
Each text from inner div css:
font-family: 'Times New Roman';
As a temporally fix, I've removed skew entirely and I've added another div (between the 2 divs that had the skew effect) which has 2 colors on diagonal, giving the same effect. But I'm not sure how good this idea is. I'm new to this.
My local area of NA's website is complete & launched (w/ the help of some folks here...thanx).
1) My original background image was 1950 X 1460 & about 1.2MB...it loaded slow...& because of the bootstrap template I used, you can only see the very top of it.
2) I figured I could reduce file size & accomplish the same thing graphically by cropping the size to just the top. When I did that...something in the code relative to it's position or display caused it to increase in size on the home page, showing only a small percentage of that cropped image (& ruining the look of it). And...even that smaller image loaded slow.
3) So...not knowing how to alter the code relative to the display of that more narrow image, I decide to use the original size image & optimize it for the web, which decreased it's file size down to 205 KB. BUT...that image still loads slow!
So I'm hoping someone can look at my home page code & tell me what is wrong...why the smaller images still load slow; & why the narrow image (which was reduced in height from 1460 down to 375) appeared larger. I'm not sure if my problem is a code problem or an image file size problem.
The biggest performance hit on the page is actually that house in the header; use GIMP or another product to change that to a PNG and re-size it to the target size (it's almost 700KB!).
I would suggest wrapping your jumbotron in a div, determining a set height for that div, set you BG as the BG to that Div rather than the jumbotron, and trimming your image down to size (and convert to PNG).
If you want to be mobile-friendly, you'll also want to exclude those pictures from mobile downloads (which you can do with bootstrap!). I would also suggest re-ordering the menu so it collapses into a hamburger on small screens.
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor
If I have an address: https://somesite.gov.gr/WSAWDF/somefile.do
Ok, and if I put this address to CInternetSession Class | Microsoft Docs[^] he tell me: server name is not valid. Ok, then if I put www.somesite.gov.gr/WSAWDF/somefile.do then I get the same response ... so, how can I find the right server name for this address ?