i was wondering if you could help me.
I am Currently Running Windows 8. Vs2012 with .php plugin. I have followed all the steps on the developer app page of facebook and then heroku using the git command line interface. and i seem to keep getting all kinds of errors. Does anybody know of an up to date decent tutorial of how to create, edit and upload a facebook application?
you can see the video on this link
https://www.youtube.com/watch?feature=player_embedded&v=HgiONvm5JB0
it will teach you how to pull and edit a facebook application
the video may get outdated so here is another link
https://devcenter.heroku.com/articles/facebook#create-an-app
Related
I am trying to upgrade my website from PHP 7.4 to 8.0 in Azure. What I did was to create a blank website on PHP 8 and then used a site migrating tool like "All-in-One WP Migration Unlimited Extension" to download the site from source and upload it to the destination. Once the upload is complete, it gives a "404 Not Found nginx/1.22.0" error and the site won't come up.
I understand the problem lies in the docker container while moving from Linux (source) to Nginx (target). Since I'm a Windows guy, I don't know what I need to be doing to make my application work on the target environment.
If someone can give me step by step instructions on what file to be edited and what needs to be added, please post it here. I know how to use Vi editor by the way. If you are going to point me to an article, please make sure that the article is an up-to-date one because I followed this article - https://azureossd.github.io/2021/09/02/php-8-rewrite-rule/index.html and it didn't work.
I've spent 10+ hours yesterday reading up about / testing tutorials with google cloud and how I can use them as a host for my dynamic website.
With all of the new information in my head, I'm scrambled on what to do.
I already have my Virtual Machine Instance built with an IP that links to my domain, this works fine. However, I cannot for the life of me figure out how to put my project files on there. I figured it would have been something like "upload project files", "link with appengine", "link with cloud sql", but it seems like I was wrong?
In the tutorials, I uploaded googles sample projects (tutorials) by cloning a github link in the shell.
git clone https://github.com/GoogleCloudPlatform/getting-started-php.git
They also said a zip file could be extracted as an alternative.
Are those the only way of doing this? Should I create my own github and cone it in the shell?
Is it possible to link an AppEngine with a bucket that has my project files on there? (just throwing the question out there)
bonus question: once the files are uploaded, am I able to edit/develop through google cloud or do I need to edit changes in my files, then re-upload it to the cloud as an update?
This is my first time trying to have google (or any company) host my website, and this is completely foreign territory for me so any direction is much appreciated.
there are couple things mixed up in your question. Let me try to untangle them.
You don't need to create virtual machine if you want to run your PHP powered website on App Engine. There's a great overview in this article https://cloud.google.com/appengine/docs/standard/php/an-overview-of-app-engine
The way you run your PHP website on App Engine is by deploying your code to the version, you can do it using gcloud app deploy tool from your sources on your local machine. I recommend you to start by going through tutorial on here: https://cloud.google.com/appengine/docs/standard/php/quickstart
There's currently no way to link Google Cloud Storage bucket with App Engine version, you have to deploy your code yourself using either gloud app deploy or using App Engine Admin API that gcloud is using internally.
There's no way to edit your App Engine application code in the cloud.
I followed these steps from the guide found at http://planetorion.org/news/2012/01/writing-a-content-assist-plugin-for-orion/ and modified the Ruby plugin to handle keyword assist for some PHP keywords. I copied the git repo and have an almost identic repo at https://github.com/oscaralmgrenibm/orion.php.git
Now I've also installed and uploaded my files to a placeholder app running at http://oscarorionplugin.mybluemix.net/phpEditor.html. Using that link in my DevOps Services Eclipse Orion WebIDE, I get the following error:
Plugin handshake timeout for: http://oscarorionplugin.mybluemix.net/phpEditor.html
Anyone had similar issues and figured out what needs to be done?
Current Solution
Create a new public project on IBM DevOps Services, init git repo and put all files related to the plugin there.
Browse project and open up yourPlugin.html in web editor (Edit code)
Right-click file and choose View in Browser
Copy URL from browser
Paste in Install Plugin button URL
It seems to be related to HTTPS and I have no further details at this moment on how to do it in a simpler way.
(Sorry, newbie here)
So I managed to push my local php web app to their servers, using the tutorial I've found on the net on how to push php projects. It worked perfectly fine.
Now, when I load my site. The script installation appears (Vanilla Forums) and so I did the proper installation and used the CLEARDB add-on to provide MYSQL database for the site.
The forum is only part of my whole website, the problem is.. every time I change something on my website, git commit it and pushing to heroku.. The app installation of vanilla forums reappears.
How could I stop git or heroku from changing the forum part to it's last commited state?
(Note that I have successfully installed the forum software but when I commit and push because of a small update to other part of my site, the forum software reinstall again)
For better understanding:
My site url: http://codeknack.herokuapp.com
The forum url: http://codeknack.herokuapp.com/forum
This is the structure of my whole website:
index.php
challenges/
meetups/
tutorials/
community/
forum/
where in the forum folder lies the vanilla forum php script and when I edit just part of the index.php of my website, vanilla forum shows the installation screen again.
(If I am too vague, please tell me what part you are confused at)
This will really help a lot, thank you!
That's why they invented the .gitignore file. You can specify files, directories, and wildcards to be ignored by git.
I opened more topic here to solve my uploading problem but still nothing (not the answers, these were helpful) so I think the problem is at me!
So I wrote a little php program but after I create and upload the .cspkg and .cscfg files into Azure I get error. On localhost everything is good. I decided to reinstall all of my computer and sdk's but it takes so long time therefor I ask you a bit favour!
I send you my php files then you create the the .cspkg and .cscfg files and I upload it to my azure account and if it's OK, I can make sure of that the error is guaranteed to me...
Thank you in advance!
I am not sure how you are doing however I would like to provide your the correct way to use PHP with Azure:
Step 1: please have some time to study how Azure Interoperability team provided PHP SDK for Azure here:
http://azurephp.interoperabilitybridges.com/articles/setup-the-windows-azure-sdk-for-php
Step 2: Please download the PHP SDK for Windows Azure:
http://phpazure.codeplex.com/releases/view/78020
Step 3: Visit the SDK related documentation:
http://phpazure.codeplex.com/documentation
Above info will guide you through how to get it working. If you still need help for PHP issue, open an incident with Windows Azure Support Team using link below to get expert 1:1 assistance:
https://support.microsoft.com/oas/default.aspx?gprid=14928&st=1&wfxredirect=1&sd=gn
[Addition]
If you follow the link below, in the step 4 you were given the script to create ServiceDefinition.csdef using your paplication project folder details:
http://azurephp.interoperabilitybridges.com/articles/packaging-applications
Once you have your project folder set as described in above link and have ServiceDefinition.csdef you can full step 5 to generate the ServiceConfiguration.cscfg also.