I downloaded the project sample CustomerManagement-AutoViews from this location.
After performing the necessary setup mentioned on the same url to build the solution, I still get a bunch of error related to resource not found when I build the project.
All the error description says
CustomerManagement.AutoViews.Droid.Resource.Layout' does not contain a
definition for
'dialog_textfieldright' C:\Users\\Documents\GitHub\MvvmCross-Tutorials\Sample
- CustomerManagement\CustomerManagement - AutoViews\CustomerManagement.Droid\Resources\Resource.Designer.cs 70 127 CustomerManagement.AutoViews.Droid
Am I missing something here?
Related
A lot of people have the same error for many different reasons, so, after trying a composer update, I've tried to investigate it starting from the browser and reconstructing step by step what is happening. It's really hard for me and I would really appreciate help from a PHP Developer!
From Chrome Developer Tools I could find the Ajax request in the background and the called url on the server
By playing with the url I realized that changing the action name returned a different error code, which let me understand that the current call is just a generic API in the middle between the browser and whatever is "apierror-visualeditor-docserver-http"
The Ajax call
{mysite}
/ api.php
? action=visualeditor
& paction=parse
&page=Cosa_c%27%C3%A8_da_fare%3F
Example
https://www.tematichedigenere.com/api.php?action=visualeditor&paction=parse&page=Cosa_c%27%C3%A8_da_fare%3F
The response from the Ajax call
The serverside call to rest api
Then I can see from the Apache server's log that the api page contacts the following url (returning 500)
GET
//rest.php/
{mywebsiteurl}
/v3/page/html/
Cosa_c%27%C3%A8_da_fare%3F/27246
?redirect=false
&stash=true
example
"GET //rest.php/www.tematichedigenere.com/v3/page/html/Cosa_c%27%C3%A8_da_fare%3F/27246?redirect=false&stash=true HTTP/1.0" 500 5621 "-" "VisualEditor-MediaWiki/1.38.2"
Another example of log (returning 404)
{an IP} - -
[04/Dec/2022:14:16:12 +0000]
"POST
/rest.php/
{mywebsiteurl}/v3
/transform/html/to/wikitext
/Riflessioni_sulla_sessualizz._femm._collegate_-_bozza%2Fprova
HTTP/1.0"
404
467
"-"
"VisualEditor-MediaWiki/1.38.2 X-Middleton/1"
Maybe the initial double / is wrong?
Anyway if I call the uri directly from my browser https://tematichedigenere.com/rest.php/www.tematichedigenere.com/v3/page/html/Cosa_c%27%C3%A8_da_fare%3F/27246?redirect=false&stash=true
The server does a antirobot check but I'm not sure that was the problem.
I've realized that the 500 error code hides a more complex real error which is returned by accessing directly the url from the log.
As you say, the visualeditor API is mostly just a proxy to the Parsoid API. The double / is wrong (check your $wgVirtualRestConfig settings maybe), I don't think it actually matters though. The error sounds like you are using incompatible library versions - make sure MediaWiki core and the VisualEditor extension are for the same release, and that the parsoid Composer library is up to date.
Update from OP:
the issue was solved. I simply had to delete the folder /vendor/wikimedia/parsoid and copy it from the fresh install. I couldn't see there were disalignment because of a problem in the compare tool. I got a lot of help in the IRC channel (not in Phabricator and not in Mediawiki forums, it seems IRC is really helpful for MW products).
In our git actions output for testing our custom R package (hosted on github), we're experiencing an error during execution:
Error in utils::download.file(url, path, method = method, quiet = quiet, :
cannot open URL 'https://api.github.com/repos/***/CirceR/contents/DESCRIPTION?ref=HEAD'
Calls: saveRDS ... github_DESCRIPTION -> download -> base_download -> base_download_headers
Execution halted
Error: Process completed with exit code 1.
The main repo is here: https://github.com/OHDSI/CohortGenerator
The github actions report is here: https://github.com/OHDSI/CohortGenerator/runs/3294257207?check_suite_focus=true
The referenced package CirceR is found here: https://github.com/ohdsi/circer
Our main question is: is it normal for the requested URL for the DESCRITPION file to be masked with the *** as in: cannot open URL 'https://api.github.com/repos/***/CirceR/contents/DESCRIPTION?ref=HEAD'
If we change the *** to the actual organization OHDSI for this URL the request works, so is it possible the URL is being mangled?
We've tested loading each individual package locally and this error doesn't occur, so we think it's localized to github actions.
I believe the output is trying to shorten the string so you can see how it starts, and how it ends, but not the middle...for readability purposes. My issue was I wanted the entire contents of the string (other errors in 'shorter' repository names gives the full URL). So, I believe this truncation is by design.
To solve the underlying issue, I had to specify a GIT_PAT to use to invoke the API and that cleared out the error I was getting.
I am working first time (new to Magento and PHP) with Magento and want to execute graphql using below url from ChromeiQL:
http://localhost:80/magento2/graphql
I am getting exception:
"SyntaxError: Unexpected token < in JSON at position 0"
Please note - I have not written any code. Just want execute by default code.
As per analysis, I found the reason "Server return as HTML instead of JSON
By-default folder structure (windows 10) is :
\wamp64\www\magento2\graphql:
- packages
- \codemirror-graphql
- \graphiql
- \graphql-language-server
- \graphql-language-service
- \graphql-language-service-interface
- \graphql-language-service-parser
- \graphql-language-service-server
- \graphql-language-service-types
- \graphql-language-service-utils
- proposals
- resources
- wg-agendas
My question:
Do I need to install any additional plugin to remove this issue. If yes. what is name of plugin and steps to install.
OR which file I need to change the code to remove this issue? Please help in details.
Thanks & Regards
Please read carefully this documentation and follow the steps
https://magento-research.github.io/pwa-studio/venia-pwa-concept/setup/
I hope You'll able to run both venia-concept theme for PWA and GraphQL too.
After i upload my application to app store after is done is show me in iphone application "has changed to invalid binary" and in the itunesconnect is show
http://i.stack.imgur.com/4vPJN.png
any solution ?
My experience:
There are many potential bug in your project.
1 .there may be private function(the third part SDK ,e.g. Reveal) in the project
2 .Missing Info.plist key - the app attempts to access privacy-sensitive data without a usage description.
Solve:
Generally,you will receive email from apple. I suggest you read it seriously.
It will tell you what should you do because they find out "invalid binary"...
Then solve the problem.
I had created one wordpress site.
It was working nicely but now it showing the error as follows :
Warning: Cannot modify header information - headers already sent by (output started at /home/**/public_html/wp-content/themes/**/includes/classy-options-init.php:1) in /home/*/public_html/wp-includes/pluggable.php on line 866
What is exact problem please help me.
Read up on how to go about troubleshooting this extremely generic error message:
https://wordpress.org/support/article/faq-troubleshooting/#how-do-i-solve-the-headers-already-sent-warning-problem
Again, this message gives us virtually nothing to work with. Aside from the line # in pluggable.php, the question might as well read "this doesn't work". Try googling for "pluggable.php on line 866" to see some likely causes, since that's all you have to go on at the moment.
Additionally, take a look at your web server (apache?) error logs, and see if you get any more info out of them.
Finally, take a look at other questions involving pluggable.php on SO. They may or may not be a dupe of this issue. For example:
Cannot modify header information - headers already sent by... WordPress Issue