I have an issue with Magento cache
when I select all caches in Magento and I click refresh I get this screen:
[url no longer works]
when I then reload the page I get:
[url no longer works]
notice how it is still indicating in red "disabled"? same thing happens when i clear cache.
When I am checking the core_cache_options it looks right, all options has been set to 1 and when disable they are set to 0
Any advise/help is appreciated. I have already deleted /var/* ran all permissions and all other basics.!
Permissions need adjusting.
chmod -R o+w media var && chmod o+w app/etc
Reference: http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/installing_magento_via_shell_ssh
Related
I am trying to update the configuration of my Magento store. It shows me a message that the configuration was updated, but when I check the setting again, they are not updated. I thought the config file might not have permission to update, so I checked in app > etc > local.xml and app > etc > config.xml, and they have 644 permission. I changed that to 744 and still I am facing the same issue.
I want to enable template hints and for that I need to update configuration.
You can try some things :
1) Try delete cache from var folder : rm -rf var/cache/*
2) Also you can do reindex by system > index management > Rebuild all indexes
3) try in private window.....
4)check you are making changes in correct store view.....
644 Permission is alright if you want to enable path hint from backend configuration:-
Please visit on following screenshots:-
a- https://s.nimbus.everhelper.me/share/1261238/rgwi8o8kboh66q4kkewm
b- https://s.nimbus.everhelper.me/share/1261240/1h4w6ha7x57kz7goswcn
Note:- If still, you're getting the problem, you can install path hint extensions.
e.g- http://www.magepsycho.com/easy-template-path-hints.html
I windows and in my network we have one folder for everyone with pics, pdf, etc. When i open browser and type address below.
file://mysharedfolder/ourpics/mariobros.jpg
i see this pictures without any prblems but when i do
<img src="file://mysharedfolder/ourpics/mariobros.jpg">
i have no access. So can i fix it or is permanent deny ? If i have access from browser why cant see pic from html code ? is not the same ?
It is like i have samba dir /home/my_pics/pics
guest ok = yes
force create mode = 775
browseable = yes
writeable = yes
path = /home/my_pics/pics
force directory mode = 775
But when i tried get access img src "/home/my_pics/pics/1.jpg" i have error 403
what can i do ? add some user?
I have been trying to load a new module in MS. I followed the instructions and done a git clone [address of files]. I then copied the new files into /root/.msf4/modules/exploits/windows/smb and into /usr/share/metasploit-framework/modules/windows/smb and issued reload_all and restarted msfconsole but still no matter what way i try it it still says:
msf > use exploits/windows/smb/eternalblue_doublepulsar
[-] Failed to load module: exploits/windows/smb/eternalblue_doublepulsar
msf >
i tried every combo including:
use exploit/windows/smb/eternalblue_doublepulsar
use exploits/windows/smb/eternalblue_doublepulsar
use exploit/windows/smb/eternalblue_doublepulsar.rb
use exploits/windows/smb/eternalblue_doublepulsar.rb
and also the same with other downloadable modules
i double checked the file path, i tried:
chmod 644 eternalblue_doublepulsar.rb
to make the perms the same as the other modules in the same folder
which work btw
any help would be much appreciated
Thank you
Damian Moore
Did u clone the exploit from https://github.com/ElevenPaths/Eternalblue-Doublepulsar-Metasploit? a way to debug, choose an exploit which already exists in the folder(such as ms08_067_netapi.rb),change the name to eternalblue_doublepulsar,and reload_all,run it and see what will be happened.
I am new to Mangento. Any operation i do like navigation in the admin panel i am getting the following error.
Can someone tell me where can i find the cache_dir directory in a Magento Installation ?
Also it was working perfectly fine until 3 days. what could have made this error ?
http://pastebin.com/jHcD82wv
The cache folder is by default here:
/var/www/html/var/cache
or here:
/var/www/html/<Magento installation dir>/var/cache
By the way, if you're not sure how to find a folder, you can always go to the root directory and do:
ls -R | grep -i cache
Update:
The name of the variable is cache_dir. It is taken from: app/code/core/Mage/Core/Model/Config/Options.php:
$this->_data['cache_dir'] = $this->_data['var_dir'].DS.'cache';
Goodday everyone,
I installed magento with the sample data I refreshed the page and everything seemed to work. My complete shop was filled with sample data. A couple of minutes after I refreshed again and since then I keep getting this error:
PHP Fatal error: Class 'Varien_Autoload' not found in /var/www/vhosts/shop.cyberned.com/httpdocs/app/Mage.php on line 53
I double checked if Varien_Autoload exists and it is there in lib/Varien/Autoload.php
It looks like that file is not included for some reason but I would have no idea how to get that fixed. So my question is: how do I get this fixed?
This error occurs because of the lib folder is not in the include_path. This may happen only if the COMPILER_INCLUDE_PATH constant is defined. Most likely this constant is defined in the includes/config.php file.
I have the same problem, I did following steps and now it is working :)
Check Compilation mode is disabled or not in include/config.php file. if not then edit and make sure these two lines should be same as written below :-
#define('COMPILER_INCLUDE_PATH',dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
#define('COMPILER_COLLECT_PATH',dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');
Flush magento cache Storage
sudo rm -rf var/cache/*
Set Correct Permission
sudo chmod -R 755 *
Restart the Webserver (apache/nginx)
Now Verify.
Check out the permission problem, Mage.php may not have the right to load the class 'Varien_Autoload'.
http://www.magentocommerce.com/wiki/groups/227/resetting_file_permissions