Hi i have some troubles with memcached + joomla. I installed and started memcached => joomla options cache type memcache (write memcache options) and session type - memcache too. Save all options and after cann't login to site and administration. In error log nothing, when i change cache to database i can login, where is the problem?
What version of Joomla are you running and what is the browser / server combination?
I'm assuming you've cleared the browser cache after making these changes?
Some web servers, especially shared hosting, don't cycle as quickly as we'd like and I've experienced a lag in the time cache settings in Joomla are changed, and when they take effect...
this problem is very simple! go to your directory of joomla.
example:
/home/user/workspace/joomla
and open the file into the joomla folder:
"configuration.php"
with it opened change the line:
public $session_handler = 'memcache';
to
public $session_handler = 'database';
Alright? I hope that helped you.
Don't use memcached for session cache. Use database or file cache for sessions.
Related
I am working on a Joomla 3.3.6 site and after making changes to articles I have to keep manually clearing the cache
This was not the case before we had issues server side
Is their something I can do
My system settings are:
cache off
cache handler file Time 15
Please help its driving me crazy
Thanks
E
I am using magento 1.6.2.0 and it keeps returning to to login screen every time I try to do an activity.
Things I have done:
My php.ini memory limits are set at 512Mb and my times set at 18000
checked the server time, php.ini time, and magento config time
Cleard the cache from magento. no joy
Cleared the cache and session from my plesk panel, no joy
Cleaned firefox and chrome history and page cache, not joy
reinstalled Mage_Core_Adminhtml, Mage_Core_Modules, Lib_Js_Mage, no joy
I reinstalled mage JS, no joy
The only changes recently have been the magento php 5.4 patch and had to reinstall Mage_GoogleShopping becase the new one would never complete loading the page.
Every time I try to change to something in the admin menu I have to log back in.
I checked the adminnotification_inbox in the database and it was reset to zero.
I get no errors in firebug, firefox or chrome and my cookies are working although it says .nilandspalce.com.
reinstalled magento.
It is like magento keeps resetting itself as my admin notifications keep coming back after delete
I have no error reports or folder.
I have run out of ideas?
I've came across this issue before... Give this a try...
system->configuration->admin -> select security tab and check session lifetime field
This is where you can define your time...
Also, if you use some .php extensions, some of their session encrypts can cause problems...
For Ex: sjusin.session.encrypt = On (This would need to be turned to Off in some cases)
This you can find in the config file by the way
Also if this doesn't help you check this out about quota.
I'm having a huge issue with accessing my dev site. I two magentos sites on different servers. One is the dev site, the other live. However I needed to copy the database from the live to the dev site.
Ever since i did this i've had problems with accessing the dev URL. As it keeps re-directing me to the live site. I've googled the issue and tried the following:
Accessed the 'core_config_date' and changed the unsecure/BASE_URL & secure/base_url and changed them back to the dev URL.
I then went to clear the cache on the dev site, which had already been cleared from when i was installing a plugin.
Set everything to 0 in 'core_cache_option'.
Cleared cache on my browser
But i'm still getting the issue of the site re-directing to the live URL.
I've noticed a few people had had the same problem, but the above solution doesn't seem to be working for me. Any help would be much appreciated.
Thanks
Right so managed to sort it. It was a permissions issue. I overlooked it as I didn't have a linux user setup for this site. However the folder user was set to 'root' as opposed to 'www-data'.
For anyone with this issue in the future, I strongly recommend checking permissions on the server/folder for caching.
Steps to fix the issue:
Change base URL in the 'core_config_data' table (can be found on line 5 or 6, give or take)
Check permissions on your siteroot/var folder. Delete everything from /var/session & /var/cache
Run 'chown websiteuser -R siteroot' and then 'chmod u+w -R siteroot' for permissions changes.
That should be enough to get it working.
Do the below steps in your development server :
1) Check the development server database hostname,username, password in your config.xml file in below path : app/etc/.
2) Open your live server database in any editor and find the live site url entirely.
and replace with your development server url with searched result.
above two steps will solve your issues.
here after it will now solve.
3) Check your .htaccess file in your root folder to check the any redirection rule.
Check your file permissions and set them properly so Magento doesn't end up creating a MagicCache in the system /tmp folder which is where your core configs are being cached, allowing for you to clear var/cache till the end of time and have the settings in the database never take.
All over here Can't change Magento base URL -> Stuck in cache
I had turned on Joomla cache for a while I came across that Joomla login username & password getting filled in automatically. So I turned of cache and happened to be working for the small period of time. Now I experience the same issue even when Joomla cache is turned off.
Given that Joomla automatically cache in the root folder. In the root, There is a folder called cache and inside there is a folder called pages. When it delete the pages folder it happens to be working fine.
How can I fix this? What could be the issue?
Most probably you have enabled auto fill options on your browser and your browser is filling them automatically when same page loads.
If you want to disable page cache, go to Plugin Manager and disable System - Cache plugin.
The website cache has nothing to do with forms being autofilled. That is a browser function.
I have moved magento to a new server, updated all the database requirments, cleared the cache. but still it is picking up the old database name , userid and password. Thus i cannot connect to my store any help will be appreciated.
Thanks
Remove
app/etc/local.xml
var/cache/*
var/session/*
Then visit the store URL - you should see the installer (and subsequently complete it).
If you don't see the installer, are you sure you don't have any other applications integrated into your store, eg. Wordpress (which would show "Error establishing database connection" in a big H1)
If your old database is still used, the only possibility is that you did not change the database properties in the file app/etc/local.xml.
change var and cache folder permission to 777