Posts by Wisner Oliveira • 473 points
12 posts
-
2
votes1
answer876
viewsA: Webrequest 504 Gateway Timeout
Resolved as follows: var authorization = "apikey:"; HttpWebRequest wbRequest = (HttpWebRequest)WebRequest.Create("https://api.konduto.com/v1/orders/0"); wbRequest.Credentials =…
-
2
votes1
answer876
viewsQ: Webrequest 504 Gateway Timeout
Eai guys, I’m having a hard time understanding why is giving gateway timeout in a request, since I tested by Curl and was normal, I’m using Basic Auth. Follows: var authorization = "apikey:";…
-
7
votes2
answers269
viewsA: Importing Packages Pycharm
[RESOLVED] For those who have the same problem, the latest version of reportlab is 3.x. x however xhtml2pdf/pisa does not accept... for it is required version 2.5 of reportlab however that gives to…
-
7
votes2
answers269
viewsQ: Importing Packages Pycharm
Guys, I have a problem trying to use a project in pycharm.. I use xhtml2pdf and when trying to debug this error appears : However I already have the added Packages in the project: Does anyone have…
-
1
votes1
answer1006
viewsA: How to make a script run only once?
@Rod the script that sits in the layout runs on all pages that use the layout, to do this singularly try to put the script inside the View. It would look like this in the view: @section scripts{…
-
4
votes4
answers4185
viewsA: How to separate values from a php variable?
Hello, you can use the split method, follow how it works and examples. This method "breaks" the string using a delimiter set by you and returns an array. Example: Split(Pattern,string, limit)…
phpanswered Wisner Oliveira 473 -
3
votes2
answers165
viewsA: How to use Referenceequals, Equals, Gettype, Compareto, Gettypecode?
Follows the list : 1- Gettype -> Take the type of the variable Ex: var teste = VariavelDecimal.GetType(); // Retorna Decimal 2- Gettypecode -> Grab the Adjacent code of the specified type Ex:…
c#answered Wisner Oliveira 473 -
2
votes3
answers831
viewsA: Tempdata["Message"] error in Runtime saying the object is null
Try : **<!--MAIN--> <div class="main"> <section class="container"> <a onclick="javascript:FecharPopup()" href="@Ecommerce.Code.UrlMaker.UrlHome()"…
-
2
votes1
answer903
viewsA: How to check SQL backup integrity
Take a look at this documentation, it may help you : checksum is a resource for checking the integrity and authenticity of packages. http://dev.mysql.com/doc/refman/5.0/en/checksum-table.html…
-
4
votes7
answers762
viewsA: Randomize results with PHP
you can do this using php’s Rand() function. follows example of usage: int rand ( int $min , int $max ) Then just concatenate with the string.
-
1
votes2
answers221
viewsA: Python error access is denied
I managed to solve it as follows.. I uninstalled all versions of python and cleaned the registry then installed version 2.7 ai worked normal... Thanks for the help man :D Updated: It was not because…
python-2.7answered Wisner Oliveira 473 -
3
votes2
answers221
viewsQ: Python error access is denied
This gives this error when trying to run the project: before that I had installed python 2.6 on the machine ... but it already had python 2.7 will have caused the error ? [Error 5] Access is denied:…
python-2.7asked Wisner Oliveira 473