Root access to cloudcontrol - cloudcontrol

I need to configure ioncube on cloudcontrol. How do I get a root access to my container. Is this only possible with a paid up account? I tried using the command line but could not be able to get root access to the container.

To install ioncube, you have to provide the ioncube extension as part of your repository and use the buildpacks custom PHP.ini feature to load the extension. Check the README for instructions how to do this. https://github.com/cloudControl/buildpack-php/blob/master/README.md

Related

Hosting site on Google Cloud Platform returns XML error

I've created my bucket on Google Cloud with the appropriate site title, and installed Wordpress.
I then pointed Wordpress to my domain, but when I go to the domain I get the following error:
This XML file does not appear to have any style information associated
with it. The document tree is shown below.
<ListBucketResult xmlns="http://doc.s3.amazonaws.com/2006-03-01">
<Name>shop.site.com</Name>
<Prefix/>
<Marker/>
<IsTruncated>false</IsTruncated>
</ListBucketResult>
It was doing this before I installed Wordpress as well.
Some kind of security issue I think, but I've edited my bucket permissions and my default web page to be index.php but it's still showing this.
Any ideas?
I got the same error when hosting a new static website until if used the instructions here: https://cloud.google.com/storage/docs/gsutil/commands/web
That may or may not be the problem in this case, though.
You must use the gsutil command line to set the main_page_suffix.
gsutil web set -m index.html -e 404.html gs://example.com

Git bare repository on remote server

I have a web server with ssh access where I show my customers the preview of their WordPress website. On that Server, I create a git repository for each customer (example: xyz-website.com.git). I run "git init --bare" so I have a repository. Then, I create a hook (post-receive) where I set the git-dir and working-dir. So when I create a Website locally, I can push to that repository and the Website becomes available so the customer can check it.
Problem: When the customer decides to install plugins, there will be new files on the server. My Idea was whenever I need to code something for that website, I just "git pull". Which doesnt work.
Can anyone tell my why and how to solve my problem?
Check whether the wp-content/plugins/ folder is included in your .gitignore file. If it is there, remove it.
For more information, refer this URL: https://www.digitalocean.com/community/tutorials/how-to-set-up-automatic-deployment-with-git-with-a-vps

Can't add an add-on to my alfresco server 4.2.f

(Sorry for my english)
I'm trying to install the add-on: https://github.com/share-extras/reset-password-dialog. I do what it says to do to install it:
I put the "reset-password-dialog-2.0.1.jar" file in: /opt/alfresco-4.2.f/tomcat/shared/lib/
I then restart the alfresco server by doing:
/opt/alfresco-4.2.f/alfresco.sh stop
/opt/alfresco-4.2.f/alfresco.sh start
After the restart there should be a link to reset my password on the login screen but I don't see it
I've tried to activate the add-on by going on the module deployment page but on it I only see "Alfresco portlet extension" in available module
I have also tried to put the file in different directory like: /opt/alfresco-4.2.f/tomcat/lib/ and /opt/alfresco-4.2.f/tomcat/webapps/alfresco/WEB-INF/lib/
Is this the correct way to add an add-on ?
The plugin which you are using is not designed for the latest version or version which you are using.There are some files which are changed in alfresco version 4.2f.I have designed new solution which is compatible with your version.There may be some designing issue, but you can change it in login.get.html.ftl file.Functionality is working.I will soon update changes in git repo.
Git location for this project is as below.
https://github.com/krutik-jayswal/alfresco-solutions/tree/master/reset-password-dialog.

Silverstripe install admin js errors

For some reason my admin screen just hangs with some javascript errors. I have it installed on xampp on windows 7 ultimate 64bit. What could be causing this? Ill post a screenshot of the errors any help would be nice! p.s. This is my first time installing silverstripe ever so be nice. :)
This sort of things usually occurs when combined asset files cannot be created. Make sure the web server user has write access to the assets/ and assets/_combinedfiles folders, then go to your-site.com/admin/pages?flush=1.
Alternatively, since this is a local install, run in dev mode. There are instructions in the documentation on how to set this.
As indicated by #simon_w, this issue occurs due to the folder permissions:
In your local environment, in addition to the way via yml config, you can just put the following in _config.php inside mysite folder.
Director::set_environment_type("dev");
In dev mode, the installation doesnt need to write to assets/_combinedfiles. However, you had better have write permission for assets folder anyway.
So, just increase permissions for assets and directories under it. Uploaded files are also stored there, if not sufficient permission, you can't upload files from the admin panel. Other functionalists may also be affected.

OpenX has been installed, but no configuration file was found

I installed OpenX in my server, I've created a campaign and banner for that campaign and linked that campaign to a zone.
I took a javascript invocation code, but the banner is not coming.
Then i took iframe tage, and now i am getting this error
OpenX has been installed, but no configuration file was found
Please help me in this
Have you tried to go to the configuration area using the Administrator account?
Do you have a file under the dir /var on your openx installation with .conf.php extension?
If your invocation code uses a different domain to the one used when installing your openx server, then might need to add a default.conf.php file to your openx var directory to point to the realConf file created during setup.
http://www.openx.com/support/faqs/technical#settings
Change the Permission :
$chmod -R 777 openx/var
Regards,
Chinnu.G

Resources