while deploying existing Business network Getting Sysntax Error - hyperledger-composer

While deploying existing business network getting following error:-
SyntaxError: missing ; before statement

There is not very much information in your question, but I would guess that you have made changes to your logic.js script and have a syntax error in it!

Related

xxx.azurewebsites.net is currently unable to handle this request

Getting 500 error post deploying microservices on app service on the Azure
I ran across this same error today, for me the source of the problem occurred during startup. My application was trying to create a file, and this is not allowed.
"Running from package makes wwwroot read-only, so you will receive an error when writing files to this directory."
Source:
https://learn.microsoft.com/en-us/azure/app-service/deploy-run-package
Generally 500 comes due to application error on the server.
When "Server Error in '/' Application" comes , did you observe anything in "Diagnose and Solve Problem" under 5xx errors.
3) You can enable FREB logs . Follow this blog how to do it https://blogs.msdn.microsoft.com/benjaminperkins/2017/01/27/enable-failed-reuqest-tracing-for-an-azure-app-service-web-app/
4) See Events Logs in Kudu https://azure.microsoft.com/en-in/resources/videos/what-is-kudu-with-david-ebbo/

Trouble with errors in local Sugar instance

I'm having a problem with setting up a local Sugar instance on localhost in a vagrant VM. I created a local host instance from a backup file, which worked well the first time I tried it. But, after restarting vagrant about two weeks later, I get an empty grey screen and an error in the PHP log:
PHP Fatal error: Uncaught Error: Class 'Ramsey\\Uuid\\Uuid' not found in /vagrant/src/Cache/Middleware/MultiTenant/KeyStorage/Configuration.php:44
I deleted this instance and created another one from a different backup file. Again, it worked well initially. But after restarting vagrant today, I got the same error. This time, I looked into this error in more detail and managed to fix it by changing the use statement in Cache/Middleware/MultiTenant/KeyStorage/Configuration.php to "use Rhumsaa\Uuid\Uuid" (https://github.com/ramsey/uuid/issues/217). But now I'm getting a new error:
Uncaught Error: Class 'LoggerManager' not found in /vagrant/include/entryPoint.php:121\nStack trace:\n#0 /vagrant/index.php(17): require_once()\n#1 {main}\n thrown in /vagrant/include/entryPoint.php on line 121
This leads to 3 issues that confuse me at this point:
1) Why is this error thrown when a LoggerManager class does exist in include/SugarLogger/LoggerManager.php?
2) It seems that there is a more fundamental problem with this instance that prevents it from finding existing classes. I was thinking it might be a permissions issue and ran the commands to set the required permissions (using vagrant:vagrant instead of apache:apache), but it had no effect on the error. What else can I try to troubleshoot this?
3) Why did this instance work well initially and started throwing errors after restarting vagrant?
Thank you for any help!
I haven't been able to figure out what the problem was, but it went away after I set up a new local instance using a backup of a newer Sugar version.

[Error]: Failed to run command with error: Error Domain=Parse Code=428

I get this error sometimes when trying to save things to Parse or to fetch data from it.
This is not constant and appear once in a while making the operation to fail.
I have contacted Parse for that. Here is their answer:
Starting on 4/28/2016, apps that have not migrated their database may see a "428" error code if the request cannot be handled by the remaining shared pool of resources. If you see this error in your logs, we highly recommend migrating the database for your app without delay.
Means this happens because of starting this date all apps are on low priority but those who started DB migration. So, Migration of the DB should resolve that.

Unable to load model from controller in linux server in codeigniter

I have developed a small accounting application which running fine in xampp in windows machine and also it is working fine in my development server (linux based).
But, when i migrate the total application to client linux server I got the following error:
Parse error: syntax error, unexpected T_STRING in /home/orcilia/public_html/cfm/application/models/sm_main.php on line 1
I have checked it several times but unable to found an error ...
But, I think in the client server there is some issue in case of loading model from controller..
PLEASE HELP ME REGARDING THIS..i have spent a lot of time but unable to get rid of this error...
Thanks,
TANAY GHOSH
If you use <? as an opening tag (check at the very start of your file), change it to
<?php. The server might not allow the shorthand style.

Debugging PL/Python functions

I just practiced some happy engineering and wrote lots of code without testing each step as I usually do.
So now I have a few hundred lines of code with an error somewhere... I am using pgAdmin III to write the Python and I write it in their Query Tool, which is used for normal SQL queries. I will not past my Python code as I do not want help with this specific problem. Instead I am after a tool, which will provide me with the exact position in a PL/Python function where the error occurred. To see my reason for wanting this, the following is the error message I am getting, and I have way of debugging where the error occured:
********** Error **********
ERROR: invalid input syntax for integer: "atextstring"
SQL state: 22P02
I've been using PL/pgSQL for a while and I haven't found a debbuging tool.

Resources