Joomla Off Line - joomla

My site administrator login is not working.Error is "off-line" this only displaying in my administrator page.I am checking only "global check-in" option only.but next time i loggedin my administrator Login its not working.

Go to Joomla home folder, and edit: configuration.php - chang the line:
public $offline = '1';
to:
public $offline = '0';

Related

Running Joomla locally from xampp?

I downloaded a Joomla installation from a server and want to run it locally from xampp. I installed the database and modified the configuration.php to match my local settings.
Now when I call the local URL, it tells me that the connection to localhost was interrupted (ERR_CONNECTION_RESET). It finds the local database because when I change the database name in the config file, it tells me it cant find the database.
Do I have to make changes in the database as well, or maybe at some other place to run it locally?
Thanks!
Check the following things when you are migrating Joomla sites.
It seems DB unable to connect you must check DB name and user details.
Make sure configuration.php is writable.
public $dbtype = 'mysqli'; //which dB type you are using
public $host = 'localhost'; // normally keep as it is
public $user = 'user name'; // DB user name
public $password = 'password'; // DB password
public $db = 'db name';//DB name
public $log_path = '/joomla/logs';//log path your local path
public $tmp_path = '/joomla/tmp'; //temp path if its not correct you can't install plugins.

Magento admin session not working within a folder

I am trying to use the following code to get Admin session to check whether admin is logged in or not. File created at the level of /app folder.
include('app/Mage.php');
Mage::app();
Mage::getSingleton('core/session', array('name'=>'adminhtml'));
if(Mage::getSingleton('admin/session')->isLoggedIn()){
Mage::getSingleton("core/session")->setAdminLogin("1");
echo "Admin Logged In..";
}
else
{
echo "go away bad boy";
}
This code is working fine at the level of /app.
But when I put this file within a folder at the level of /app, then it works only first time.
Can I have a best solution for this issue ?

JFolder::create: Path not in open_basedir paths Joomla error

I am unable to install new components, module, on my live site using Joomla.
I got to know from another post that the problem might be in configuration file which in my case i have:
public $log_path = 'C:\\xampp\\htdocs\\pastrimi/logs';
public $tmp_path = 'C:\\xampp\\htdocs\\pastrimi/tmp';
and I also tried this way with no luck unfortunately:
public $log_path = './logs';
public $tmp_path = './tmp';
and I made the permission to 777 for both folders
how would I make this showing on joomla system information writable these two folders?
You have a set already below path this is called global path.
1) First try with this details.
public $log_path = './logs';
public $tmp_path = './tmp';
If you still got the error then follow the second step
2) Open cpanel and goes to file manager
Left side you will see like below if your directory path in root
/home/Directoryname/public_html/logs
/home/Directoryname/public_html/tmp
If your directory in subdomain then use
/home/Directoryname/public_html/sub domain name/logs
/home/Directoryname/public_html/sub domain name/tmp

"500 - An error has occurred" in Joomla, when attemping to login in backend

When I attemp to login in the backend using the right login of the Super User i get an error page "500 - An error has occurred."
I have changed the Super User password by PhpMyAdmin and the error remains.
I have installed Joomla 2.5 installed.
First you have change folder permission to 775 for the following folders:
cache, logs, tmp & administrator/cache
Then go to: configuration.php
find code:
$log_path = 'XXXXXXXXXXXXX';
$tmp_path = 'XXXXXXXXXXXXX';
and change code into:
$log_path = './logs';
$tmp_path = './tmp';

how to migrate from xampp to appserv?

I have this codeigniter project that was developed and tested on xampp, when the customer took xampp wouldn't work on his laptop, so he downloaded the appserv and wants to use it instead of the xampp, the home page of the login page of the system is displayed fine but he vannot log in, I changed the database sittings in the database.php file in the codeigniter project, and also removed the comment before rewrite role in the httpd.conf but yet its not working
any help please
set the CI environment to development in your index.php and error_reporting to E_ALL and see what's going wrong. If it's the database, or sessions, browser may have not accepting cookies etc.
Ok, you have probably a base path issue. check $config["base_path"] in application/config/config.php and set it to the directory name relative to web server root.
Like XAMMP has usually
c:\xampp\htdocs\
and the project url might be
c:\xampp\htdocs\projects\project_a
then your base_path would be
$config["base_path"] = "procjects\project_a";
In database.php, please make sure that you have to enter the password as you setup while installing appserv.copy the password that you entered in it
$config['hostname'] = 'localhost';
$config['username'] = 'root';
$config['password'] = 'your_password';
$config['database'] = 'your_database';
$config['dbdriver'] = 'mysqli';
$config['dbprefix'] = '';
$config['pconnect'] = FALSE;
$config['db_debug'] = TRUE;
$config['cache_on'] = FALSE;
$config['cachedir'] = '';
$config['char_set'] = 'utf8';
$config['dbcollat'] = 'utf8_general_ci';
replace "your_password" with copied password from the above and check it.
otherwise, On the left end of the taskbar, select the Start icon and search for "Reset MySQL Root Password" click on it to open.
In the command window, Please enter the NEW_PASSWORD and Replace it in your database.php

Resources