Subversive Plugin Eclipse sync with FTP? - php

in my new job I'm the developer for the Joomla! CMS. Since it is using PHP I wanted to work with eclipse (like in my apprenticeship) with the latest Keplar build + the PHP Development Tools. To have some revision control I wanted to use the Subversive Plugin so I installed it and the connector.
I got access to the systemfiles via FTP (SSH) so I tried to just add the URL as repository URL but somehow it doesnt work. I used the exact URL e.g. http://www.test.joomla.de and the correct login (using this combination also works fine in filezilla for example) but every try results in:
Get repository folder children operation failed.
svn: Repository moved temporarily to '/'; please relocate
svn: OPTIONS request failed on '/'
Do I have to do anything on serverside to make it work or is it okay the way I tried?
Im sorry for those questions if they are bad, but in my apprenticeship the subversive was only local and was already installed.
Thanks in advance!

Administrator failed in the installation in giving me the wrong IP, so I couldnt interact with the server.

Related

Running Wordpress repo locally through MAMP. Assets not being pulled in

Currently I am trying to run a Wordpress repo locally for development. I am not using MAMP pro even though I still have a 9 day trail. I figured since I'm going to be using the free version for now I might as well work with that. I have my Apache & MySQL server running along with the Document Root pointing to my Sites folder where my projectName repo sits. I'm still running off of the default port of Apache 8888.
After I start the servers, I open WebStart and import my DB into phpMyAdmin. Everything works perfectly fine and the copy of my db gets imported. I then make sure that my wp-config.php file has the appropriate settings to access this db. I then click on My Website. This pulls up the content of the website. However, it does not pull in any of the assets(imgs/js/css). I receive the following errors in the console:
Failed to load resource: net::ERR_EMPTY_RESPONSE http://projectName.dev/wp-content/uploads/2016/09/logo-footer-1.png
Failed to load resource: net::ERR_EMPTY_RESPONSE http://projectName.dev/wp-content/themes/projectName/images/circle.png
And so the list goes on and on for pretty much every asset the project could possibly have. Now configuration is NOT my strong suit, and at this point I am at a loss of what could possibly be happening. Awhile ago I did follow a tutorial on how to setup my files so that I can access them in the web browser by simply typing the name of the project with the domain .dev, example: projectName.dev. I started having issues with this after upgrading to OS Sierra and it no longer works. Could this possibly be the reason as to why it is looking for these assets in the projectName at the .dev domain?
I apologize if this does not make sense. I am willing to provide anyone with any information on this as I need as much help as possible because I still need to level up my configuration skills. Let me know if you have questions.
The images and other assets are referenced with an absolute filepath (i.e. the URL of the server on which you first set it up). This has to be changed in all database entries. There are tutorials for this on the net, but the most simple version is to open the sql file in an editor and search & replace the general URL part in the complete database.
Be sure to keep a backup of the file - that might not work on the first try...

Plugin handshake timeout for $myHttpURLforOrionPlugin

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.

Installing an open inviter

i am moving in to the world of PHP for my company and i am having some issues. Now i have very little experience and i would love some help to get me to understand how it works.
My first problem is that i am trying to setup a sales page for my product, and i want a the open inviter script to pop up to "invite your friends to see this page for an extra free bonus" (only when the customer wants to buy my product, so there is no spamming going on here)
But for the last 5 days i have been trying and trying and i simply cant get it to work, the inviter just appears blank whatever i do.
Now i might know where the problem might be because i located it tooday, the open inviter i had was modified but i found the original and it had the requirements:
"Your server will need to have PHP5 installed with DOMDocument support and either cURL or WGET."
I found out that my hosting company supports php5 if i place a line through a .htpaccess file. but the rest like domdocuments or cURL is something i just seem to understand how it works, i have looked through hundreds of websites trying to figure this out but i cant get a simple enough explenation on what it really is and how i get it to work with my hosting.
Do anyone have an idea on how i can get my open inviter installed on my website?
Here is the installation details:
"Thank you for downloading The OpenInviter General Package. This document will guide you through the installation process.
A: Requirements:
Your server will need to have PHP5 installed with DOMDocument support and either cURL or WGET.
B: Install:
1. Extract the contents of the openinviter.tar.gz file you have just downloaded.
Note: tar -xzvf openinviter.tar.gz
2. Upload the extracted files to your webserver (subfolder is highly advised).
3. Run postinstall.php (http://yourdomain/openinviter_dir/postinstall.php)
You may encounter the following errors:
i) The cookie storing folder if not writable. (Change the cookie folder or modify it's permisions.)
ii) Php DOM extension is not installed. (Install dom extension for php)
iii) You don't have curl or wget installed. (Install curl or wget)
You may encounter the following warnings:
i) A plugin does not work properly. (Your server has either a firewall or there is a connectivity error)
Note: You have to fix all the errors or openinviter will probably not work.
Note*: You can't run postinstall.php again for 2 minutes.
Edit config.php to suit your needs.
Delete postinstall.php
Run example.php (http://yourdomain/openinviter_dir/example.php) and try to fetch your contacts.
Note: example.php is modifiable but keep in mind the structure of the file."

Eclipse Indigo RSE/TM and remote sync

I look around on StackOverflow and found similar but not this question exactly, so I come here for help.
I'm working on a PHP Project using Eclipse Indigo (3.7.1) + PDT 3.0.0 . In my case, my development is done locally, but testing the page is done on a remote server, authentication done by an SSH2 key. As of now I run, parallel to Eclipse, WinSCP with the Keep Remote Directory Up-to-date enable, so everytime I save a file on Eclipse, it uploads to the server. I wanted to do that inside Eclipse.
I installed the RSE/TM package and manage to use the view to browse the files on the remote server, but I didn't find anywhere on how to sync with the remote server automatically. Ideally I would be able to let the project sync everytime I save the file.
Can you guys help?
In Remote System Explorer perspective, find the folder on the remote machine you'd like to sync to. Right click on it -> Export from project

Using Netbeans for PHP, any remote system explorer?

Alright so I currently develop on a remote server and use putty for an SSH connection to deal with SVN. I develop with Eclipse PDT only due to the fact that it has the remote system explorer, so I don't have to actually have the files on my local machine to edit them, which is great.
Netbeans is my IDE of choice, and I've been googling for a while trying to figure out how I can possibly make this work with a netbeans project. I can't seem to find any plugins/any statement discussing the possibility of a future plugin/implementation to incorporate this.
Has anyone successfully accomplished this? Are there perhaps any standalone clients I can use to achieve this?
Thanks guys.
you don't need plugins with Netbeans for Svn (Git requires a plugin), you just have to click on "Team" -> "Subversion" on the Menu bar on top.
In "Window" -> "Services" you can browse some stuff like databases or team server too.
There is always the option to set up netbeans to browse a remote folder via ftp ( http://blogs.oracle.com/netbeansphp/entry/ftp_support_added )
You could also use sshfs to create a local mount of the remote folders/files.
I do agree that you should probably be using svn/git/whatever to develop locally and then push to the live site when ready instead.
Note: Netbeans does svn/cvs built in, but git requires the third party nbgit plugin which is still in it's infancy.

Categories