administrator page become blank after install jomsocial - joomla3.0

I have Joomla 3.0 and i install Jomsocial after it my administrator front page become blank in localhost. jomsocial provide me two zip folder one is com_community_pro_3.0.5.3 and iJoomla-Installer-Updater and i installed com_community_pro_3.0.5.3.

Go to phpMyAdmin => your_database => extensions_table => search_system_plugin_of_jomsocial => set_published_to 0.
Your site will be up again and JomSocial will not work untill you publish the system plygin again from Joomla Plugin manager/PHPMyAdmin.

Related

Plesk Git Deploy not running "additional deployment actions"

Plesk Obsidian offers GIT deployment and we are trying to configure this to work similarly to our previous configuration on CPANEL (we recently upgraded from a shared account with CPANEL to a VPS with Plesk - Plesk so that we can use Docker later on).
Here are the details on exactly how we access the GIT configuration on our Plesk panel:
On Plesk Obsidian (Web Pro Edition / Reseller) we access the GIT configuration via:<br>
--> DOMAINS (left panel menu) <br>
--> locate desired domain and MANAGE IN CUSTOMER PANEL <br>
--> open the accordian drop-down for the domain <br>
--> Git (under DevTools)
--> (in Git, under DevTools) locate desired repo <br>
--> REPOSITORY SETTINGS link.
The folder structure on the VPS is not optimal, so we attempted to use the MANUAL DEPLOYMENT radio button, under the REPOSITORY SETTINGS link and configure some post-deployment actions - but nothing happens.
In the end, just to prove to ourselves that the manual deployment actions worked, we replaced everything we had tried with just this one line:
/usr/bin/touch ./work4me.pls
And then searched the file system to see if this file had been created, anywhere. No joy here either (we could not find the file).
Does anyone have any suggestions/ideas on what else to try?
Has anyone used this feature successfully (i.e. is it probably a configuration problem on our VPS)?
If the above touch command had worked, where should we be looking for the work4me.pls file?
You can use
touch ~/work4me.pls
This will create the file on the home directory. I have also tested with other commands as removing contents under a directory and copy them.
rm -r ~/folder/*
cp -a ~/source-folder/. ~/folder/
Hope this helps! 💪

How can I deploy (install) cakephp 3.0 project on a shared hosting server?

Sorry for my english. I made a cakephp 3.0 project locally (wamp server - http://localhost/) and I want to put on a shared hosting server. Locally everything works fine.
I transferred a project via FTP to the server. Unfortunately It displays a blank white window. PHP version on the shared hosting server is 5.6.
Permission on tmp folder is 777.
How to make installation? Please help!!!
Put this lines in app/index.php file to show all errors
error_reporting(E_ALL);
ini_set("display_errors", "on");
(overhead this line)
require 'webroot' . DIRECTORY_SEPARATOR . 'index.php';

Updating WordPress plugins asks for FTP credentials with GAE 1.9.18 SDK

I'm trying to update WordPress plugins running on my local GAE server but I am getting prompted to enter FTP credentials. The only thing I have changed is upgrading from AppEngine 1.9.17 SDK to 1.9.18. Does anyone know how to resolve?
I posted the issue in the App Engine issue queue and got an answer: https://code.google.com/p/googleappengine/issues/detail?id=11753
The GAE 1.9.18 SDK made local filesystem read-only by default, I had to add this line to php.ini to resolve the issue:
google_app_engine.disable_readonly_filesystem = 1
You should be able to change permissions using shh client such as Putty, Zoc etc...
and then type:
sudo chown -R www-data:www-data /var/www/folder-name/
after that it shouldn't ask you for ftp credentials.
WordPress asks for your FTP credentials when permissions aren't set correctly for WordPress to write files and folders. This can be caused by PHP running as the apache user (mod_php or CGI) rather than the user that owns your WordPress files. Upgrading may have changed the permissions of wp-content. See http://codex.wordpress.org/Changing_File_Permissions
A workaround is to put your FTP credentials directly in wp-config.php. See http://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants
define( 'FTP_USER', 'username' );
define( 'FTP_PASS', 'password' );
define( 'FTP_HOST', 'ftp.example.org:21' );

How to transfer development database to production?

I made a Sinatra app and now I'm trying to deploy it to Heroku.
My app works with PostgreSQL database. There is data in my tables that I scraped during development. It is rendered just fine when I run it locally. However, when I deploy my app, my records do not get transferred. I know this behavior is normal, but I can't find how to transfer my records to production (database is set up correctly, you can add content through forms interactively).
This is my environment.rb:
configure :production, :development do
db = URI.parse(ENV['DATABASE_URL'] || 'postgres://localhost/lakesare')
ActiveRecord::Base.establish_connection(
:adapter => db.scheme == 'postgres' ? 'postgresql' : db.scheme,
:host => db.host,
:username => db.user,
:password => db.password,
:database => db.path[1..-1],
:encoding => 'utf8'
)
end
I have tried
heroku pg:push $my_db_name HEROKU_POSTGRESQL_OLIVE_URL
and it ran successfully, but my records are still not present in production db. Did I do something wrong?
I would use seeds.rb kind of thing, but how to configure it in Sinatra?
If you had a seeds file you could do heroku run ruby seeds.rb. That is assuming that the seeds file is in the root of your application. You can run pretty much any command that you can run locally on the heroku servers by prepending it with heroku run.
The only solution that worked for me is to write a few functions that fill up your database, add them to seeds.rb in db folder, deploy this to Heroku and run
heroku run rake db:schema:load
heroku run rake db:seed

Starting up tomcat-6.0.20 from eclipse-3.5.0 (galileo) leads to the 404 error

Console dogs me. Can anybody help?
The sad story starts like this. My OS is ubuntu-9.04. I installed tomcat-6.0.20 by extracting it from .tar.gz package and put it under the /usr/share/tomcat-6.020 directory.
Then I started tomcat from console, and everything seemed to be fine. localhost answered with the $CATALINA_HOME/webapps/ROOT/index.html page.
The next step was to put my tomcat in the eclipse's servers list. So, I went to Preferences > Server > Runtime Environment > Add > Apache Tomcat v6.0 (here I also browsed to my tomcat and changed JVM from JRE to JDK). Finally, I added my server to the Servers list.
So, having everything configured, I started my tomcat from the eclipse, opened a browser and asked for localhost. 404 all over sudden. Despite the fact that the eclipse's console has shown no errors.
Has anybody encountered the same problem?
I fixed the "Could not load server configuration" problem by deleting the current server configuration from the Servers View and adding it again.
Open your Tomcat settings (double click or F3 on your Tomcat instance in 'Servers' view in Eclipse):
Make sure configuration path is valid and configuration is valid
Click on modules tab and make sure your app is deployed.
I'm with Carlisg. I had this error in Eclipse 3.6 with Tomcat 5.5: "Could not load server configuration at /Servers/Tomcat v5.5 server. The configuration maybe corrupt or incomplete." After playing around with every setting for 20 minutes and getting the same error, I just deleted the server, re-added it and it worked in about 90 seconds with no changes.
yes emanemos is right, I tried it today and got it working instantly. Create a new project in eclipse, I created a Dynamic web project. Create a new server, choose your apache version as the server type. Then create your pages and resources in this project space. I created index.html in Webcontent and pointed to http://localhost:8080/trial/ and I can see my index.html. (trial is the name of my project).
In windows vista 32 I fixed like this, In 'serverlocation' selected Use Tomcat installation(takes control of tomcat installation) and for deploy path I added my tomcat webapp dir.'C:\apache-tocat-6.0.26-windows-x86\apache-tomcat-6.0.26\webapps'. With default configuration path /Servers/Tomcat v6.0 Server at localhost-config, it just works fine.
I had the same problem and solved it following these steps:
On the Server View, right click on the server (Tomcat 6.0 Server at Localhost)
in the menu options click "Open", this opens a menu with all the configurations for the server.
On tab "Server Locations" you must select the option "Use Tomcat Installation (takes control of tomcat installation)".
Do not forget to check the Deploy path.
I think there is a problem with eclipse configuration over Tomcat and it must use the tomcat installation configuration.

Resources