157 questions
0
votes
1
answer
217
views
Function Not Found Error NetSuite Suitelet
I am attempting to add a button to a page in order to run a Scheduled Script on Netsuite. I have done some successful debugging up until this point. After publishing the script, I tested the form on ...
0
votes
1
answer
939
views
Using $contains in a Nuxt Content API query
I am attempting to retrieve only blog posts (in my /content directory) that contain a certain tag in my Nuxt Content query. Due to the fact I am using a URL Query Parameter in my Nuxt Content query ...
0
votes
1
answer
663
views
does frappe.db.commit() not work in server script in Frappe Cloud?
HI I am writing a server script in Frappe Cloud where I am trying to update a particular doctype(which is NOT THE DOCTYPE I HAVE CHOSEN IN DOCTYPE EVENT) using frappe.db.set_value(), then in order to ...
4
votes
1
answer
3k
views
How to run server-side scripts in NextJs?
i am new to NextJs and I'm tryin to make an app that every few hours make some requests to a database to update the data, but i can't figure out how to do it.
The only place where i can do it is ...
1
vote
1
answer
1k
views
fetch() API with NodeJS server makes req.redirect() not working [duplicate]
I have a login/signup system using nodeJS. now the problem is when i use fetch() method on the client javascript side the res.redirect() method does not work. what could be the problem with fetch() ...
1
vote
1
answer
3k
views
ServiceNow : Redirecting user to a different module with UI Action
TLDR; Is there a way to directly redirect to a module while running the serverside code? Taking into account the modules filter settings etc.
Hello, quite new to SN so sorry for the newbi question :)
...
0
votes
0
answers
790
views
Server side pagination not displaying next previous button
I have created a server side pagination datatable, but when created it shows only the limited records(10 records) on the first load of datatable. After the initial load there is only one button shown ...
1
vote
1
answer
1k
views
Trouble getting Bootstrap modal window to open from server-side ASP.NET code
I am having problems getting a modal Bootstrap window to open up from server-side ASP.NET code, despite having followed all of the examples I find here. The code executes, and I get no JavaScript ...
-1
votes
1
answer
496
views
classic asp multiple server side asynchronous callings [closed]
I have a classic asp page that when running do a lengthy check repeatedly calling 20 times the same vbscript function each time with different argument. The function returns either true or false (...
1
vote
1
answer
693
views
How to get the google sheets api credentials (client secrets, client id etc) and authorize through browser programmatically?
I am trying to authorize Sheets API v4 (including getting the credentials) through my webpage (let's suppose I have a button called "authorize google sheets"), so when anyone clicks that ...
0
votes
0
answers
45
views
If I write an application with MeteorJS, will I expose my code to the viewers visiting my page?
I was just wondering if meteorJS exposes the code to the viewer on the browser like the javascript or can one write a pure server side program with it like in Python and render only the result in the ...
-1
votes
1
answer
52
views
Why We are using javascript in server-side?
Why we started using javascript in server-side ?? and which is the best javascript language for server-side ?? and why for e.g node.js
0
votes
1
answer
320
views
jQuery DataTable Server Side Processing Integration
**"My Code is : - I have Added the .Aspx Script, Also I have included the JS and .Cs part.
This Code is Working and it returns more than 70k result and search and pagination functionality is not ...
0
votes
1
answer
191
views
Image file uploaded to server is corrupted/format not supported; python, cgi and html
I have code that is to upload an image file from the user's system, but on the server side, the uploaded image is not displayed and when I try to open manually, it says file format not supported
Here ...
1
vote
2
answers
2k
views
Fail to call ajax on second time button click using DataTable server-side-scripting
I'm using a datatable with server-side-scripting to show records on button click.
The first time the button is clicked I am getting the response properly but the second time the button is clicked ajax ...
1
vote
1
answer
1k
views
Getting 400 Bad Request when calls ajax function using datatables server side scripting Wordpress
I'm creating one plugin to get data from custom table using datatable server side scripting.
In query i'm getting right response but in ajax function call getting 400 bad request
Request URL: http://...
0
votes
1
answer
569
views
How to manipulate a record in beforeLoad functioni on NetSuite?
Currently, we have a SO Order(SO), after clicking the "Drop Ship" button, the page will direct to another page to create a Pruchase Order(PO).
Becasue if the values are grabbed in the pageInit stage, ...
-3
votes
1
answer
483
views
Can AJAX and JavaScript be used purely for server side scripting?
I am just learning php. My approach to learning is that I start analysing the code in a language I am more familiar with.
Hence, I am trying to replicate a PHP dashboard with PHP features like role ...
-2
votes
2
answers
405
views
hard time understanding server side script
I learned that php and node.js are both server side script.
I'm having hard time understanding the connection between node.js and running javascript on web browser. So can we not access files and ...
0
votes
1
answer
101
views
Node js - Synchronous execution of Websocket's object functions
I have the following like functionality
//Have to connect to a websocket
var websocket = new WebSocket(wsUri);
var channel = new WebChannel(websocket);
The webchannel returns an object that has ...
0
votes
1
answer
50
views
Node js - Synchronous execution of functions through loop
I have a code like the following
function getData()
{
for(var i=0; i<someLength; i++)
{
if(i===0)
{
response = callApi(someValue[i]);
}
else if(i===1)
...
2
votes
0
answers
700
views
Displaying large amount data from Database using DataTables server side processing and AJAX
I recently started coding in Codeigniter MVC Framework and now i'm stuck with a problem and it's related to Datatables server side processing using AJAX. I have more than 7k rows in my Database Table ...
-1
votes
1
answer
135
views
Running Task In The Background
What is the technology which allows the web application to process the task in the background without holding user to wait until the task to finish.
Example, as a user,
1. I want to submit a form ...
1
vote
1
answer
2k
views
PermissionError: [Errno 13] Permission denied while running a server-side CGI scripts coded in Python
I am trying to run a server-side cgi script coded in python but I am getting the following error while running it.
Traceback (most recent call last):
File "webserver.py", line 16, in <module>
...
-2
votes
1
answer
267
views
Unity server side c# scripts load at runtime
The subject is for advanced developers.
I want to load the game logic or some of it (c# files) at game load
just like other assets (assetbundles, audio, images), variables and configurations. I also ...
0
votes
1
answer
1k
views
How to get body of Cosmos DB Stored Procedure request?
When querying my Cosmos DB Stored Procedure from Postman I get the following error and I don't understand why:
{
"code": "BadRequest",
"message": "Message: {\"Errors\":[\"Encountered exception ...
0
votes
0
answers
107
views
How to Store user profiles for a social network website
I may not use the correct terms ,please endure,
Let's say I wanted to create a mini social network website, how would I store and handle the different profiles of the users on the server with python, ...
2
votes
0
answers
59
views
Check size of uploaded data every second in a specific time from client-by PHP or Other server-side lang or scripting [closed]
I have a page with php code to upload user's picture for every account.Size of their image file must less than 100 kb size.
I want prevent uploading file more than 100 KB on server from users(in ...
4
votes
1
answer
2k
views
PHP - prevent uploading file more than 100 KB in during uploadin file not after upload entire file
I have an page with php code to upload user's picture for every account.Size of their image file must less than 100 kb size.
I want prevent uploading file more than 100 KB on server from users(in ...
0
votes
0
answers
376
views
how can I call a server side function in NanoHTTPD
I'm running an Android things app to monitor devices and I'm using NanoHTTPD to allow the user to see whats happening on those devices. I would like to be able to provide a button on the webpage that ...
0
votes
1
answer
3k
views
Servicenow: substitute for $sp.getRecord() in scoped app
In a global application within ServiceNow, you can access the current record by using $sp.getRecord(); However, that's not available in a scoped environment. Is there a substitute way to access the ...
0
votes
1
answer
131
views
CakePHP shell: Switch CAKE_ENV on the Go
I have a little problem in here. I'm new at cakephp and now have to developing a cakephp shell script to saving data into its database. The problem is, I work on default environment and need to save ...
0
votes
0
answers
74
views
Finding Server-side Functionality in ASP.NET
Allow me to preface this by saying I know absolutely nothing about any version of ASP. I have been coding web pages off and on since the HTML3 days, but until last month (when I inherited a site ...
2
votes
2
answers
1k
views
Node.js or Express.js is server side language like PHP or not
Sorry, My question sounds dumb but i am bit confused about Node.js .I am a PHP developer and i know that php has operations and functions that execute on server and return result to client screen.
I ...
7
votes
4
answers
24k
views
How do I run python cgi script on apache2 server on Ubuntu 16.04?
I am a newbie so I saw some tutorials.
I have a python script as first.py
#!/usr/bin/python3
print "Content-type: text/html\n"
print "Hello, world!"
I have multiple versions of python on my computer....
-2
votes
1
answer
1k
views
what are some free hosting servers to support Python [closed]
I am trying to make an mobile application which requests the server to run the script, and then the python script does some scraping and returns the data to the application.
for testing purposes i ...
0
votes
0
answers
250
views
Unable to display JSON response in Jquery datatable when server side pagination is clicked
I am new to jquery datatable so I need help in fixing this issue:
Whenever clicking on 'Next' page, api is getting called and response json is also displayed in datatable.
Now, Clicking on 'Previous'...
1
vote
1
answer
268
views
PHP with mongodb datatable error
I Got error in the datatable in mongodb please give solution...
If Anyone have reference source code send me it will helpful for me.........................................................................
0
votes
1
answer
423
views
Changing textures of objects in 3d model and rendering on server side?
I have a 3D model (.max file) made in Autodesk 3ds max and I want to change textures of different objects by selecting from a list of textures on my website and get the whole scene rendered.
For ...
0
votes
1
answer
329
views
By PHP-how to stop uploading file if size of temporary file uploaded was more than specific size while uploading is in process.(e.g. 100KB)?
update (09 DEC 2017):
I want prevent uploading file more than 100 KB on server from users and during uploading, if the upload volume exceeds 100 kilobytes, stop uploading progress and display warning ...
0
votes
1
answer
1k
views
Python newline not working from form data to string formating
I am new to Python and trying server side form handling. I have a simple html page with three input fields and and a textarea. When user fill in the details the form is processed and user presented ...
-3
votes
1
answer
1k
views
nodejs express hide source code of static html
is it possible in nodejs, with express to hide the source-code in my static html directory, without rewriting new end-points for each html page?
server code looks like this and my website is in the ...
6
votes
3
answers
14k
views
Server side processing with datatables and flask
I'm trying to implement server side processing with data from sqlite on my Flask app. I am a newbie, so I can't figure out what's wrong. So far I have come to this:
HTML:
<table id="myTable" ...
1
vote
1
answer
2k
views
Implement server side processing for datatables in python with sqlite
I have a Flask app and at some point a construct a complex query and display the results with datatables. This works fine, but I have a really large amount of rows so it takes a long time to render it....
0
votes
0
answers
520
views
Limit number of users from visiting particular page
When any user clicks on the link then they redirect to main index.php web page and from there by clicking on the button by below code they redirect to a random page from three which mentioned in below ...
0
votes
1
answer
1k
views
__doPostBack does not fire server side MenuItemClick event for overrided menu item from javascript
I have asp.net Menu with server side click event. Menu renders properly with __doPostBack event for each menu item.
But when I am overriding one of the menu item from javascript to pass different ...
0
votes
0
answers
39
views
Infinite loop script cache behaviour [duplicate]
I have a domain.com which is working perfectly. I have a php script in my domain which is infinite loop which is sleeping with doubled periods (for long polling purposes) lets say infinite.php.
$...
0
votes
1
answer
359
views
Why does paypal-ipn still return INVALID to my POST?
i have build a simple paypal-ipn listener: it listens for paypal sending me a http POST, reads its data out and sends it back to paypal, which should answer VALID if the data received matches the data ...
0
votes
0
answers
67
views
How to get cgi input variables in the same order as they come in?
I have a simple listener in python awaiting a http post request:
import cgi
import sys
inputVars = cgi.Fieldstorage()
f.open('test','a')
f.write("how they come in: "+ str(inputVars))
The variables ...
-2
votes
1
answer
52
views
How can I store data on the backend script and use it in the content script of my chrome extension?
I want to know how my content script can communicate with the backend script.
I mean sending request from content script and get responce from backend script
based on request.