Questions tagged as 'script'

1
answer

Error message - Parse error: syntax error

I'm getting the following error: Parse error: syntax error, unexpected '[' in C: .. \ iwpserver \ htdocs \ wordpress \ wp-content \ themes \ 1 \ inc \ tempo.php on line 6 In the tempo.php file on line 6 I have this code <?php...
asked by 16.07.2017 / 23:47
1
answer

Error connecting database (Fatal error: Uncaught Error: Call to undefined function mysql_connect () in) [duplicate]

I'm having trouble connecting to my site's database. The following error occurred: Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/cardgamming/www/configuracao.php:10 Stack trace:...
asked by 22.05.2017 / 08:56
2
answers

How can I continue a BAT in a new profile after rebooting

I've seen many websites teaching how to continue a BAT, but this occurs in the same profile. In my situation I need to be started in another profile, including restarting Windows, a new profile will be created and it is in this profile that I ne...
asked by 25.05.2017 / 14:03
0
answers

Grant all script error

I'm having a problem with a script that will theoretically grant permission to a specific group in a postgresql database. Following script: #!/bin/bash su postgres -l -c "psql -c 'grant all on database teste_semanal to grp.teste_own;'" W...
asked by 20.04.2017 / 19:45
1
answer

Hours in timestamp

Talk to the people, everything beauty? Is it possible for me to know how much is two hours in the timestamp conversion? In this line I convert the current time into timestamp. my $ hours_2 = str2time (localtime ()); But I need to kno...
asked by 09.04.2017 / 04:08
1
answer

Insert date in bd with JDBC Google Script

I'm trying to write to the database (MySQL) a lot of data, but in the data of type date the execution of the following error:    Can not find setTimestamp (number, string) method. (line 32, file "Code") The code is: var data = Utilities...
asked by 18.04.2017 / 21:15
2
answers

Copy excel extension files from multiple subdirectories with ssis

I'm banging my head at finding the solution to copy excel extension files from multiple subdirectories with ssis. I tried to make the foreach loop container do it but could not, then passed me a code in C # to insert into a ScripTask string...
asked by 21.02.2017 / 20:50
1
answer

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience

When I add @Scripts.Render("~/bundles/jqueryval") to the bottom in partialview I get warning in the log:    Synchronous XMLHttpRequest on the main thread is deprecated because of   its detrimental effects to the end user's experience....
asked by 10.01.2017 / 19:14
1
answer

How to put image in this code?

Hello, I wanted to know how I can add an image in this code that makes use of the three.js library. I would like to add it and make that same effect of the Bad TV Shader site ( link ) can generate noise and such as an old TV. On the website, the...
asked by 22.09.2016 / 22:27
0
answers

Apk read external script and execute it

In C # it is possible to compile runtime code externally written in C # itself and run it inside the application, without having to use some Script language. But I've never used anything like this with Java, specifically for Android, so I'm n...
asked by 07.09.2016 / 09:00