There has been an error processing your request magento 1.7
Exception printing is disabled by default for security reasons.
Error log record number: 1116398732
Someone has a solution for this error? Please solve my problem
report number represent specific files in var/report folder in magento root
open var/report/ in your magento root dir,
open file called same as your report number , in this case: '1116398732'
paste contents here and we will proceed with finding out what was wrong
You can check the report by going to /var/report
Usually it occurs because of uncleared cache. Just go to /var/cache and delete all the files in cache folder. Refresh the page, it should work.
There are three simple steps to resolve this issue:
1- create tmp directory in your magento site
2- go to magento site/errors directory and update local.xml.sample to local.xml
3- go to magento site/lib/Zend/Cache/Backend/File.php and replace 'cache_dir' => null, to 'cache_dir' => 'tmp',
NOTE:tmp directory permission should be #777
Delete the generated/code directory rm -rf generated/code
Then run
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
chmo -R 0777 var/ pub/ generated/
Now try to run the site, it should be perfect now. Cheers
Related
I have done below steps but after this frontend and backend css fonts will not working properly in magento2.
Remove pub/static //not .htaccess
Remove var/cache
Remove var/composer_home
Remove var/generation
Remove var/page_cache
Remove var/view_preprocessed
Then open up app/etc/di.xml find the path
Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink
and replace it with Magento\Framework\App\View\Asset\MaterializationStrategy\Copy
And finally run this:
php bin/magento setup:static-content:deploy
I have been facing strange issue, as the part moving modifications in static content. we removed pub/static and deployed setup:static-content:deploy.
After doing this, files are generated properly in pub/static folder but when i load front end, styles are vanished.
As in the source the file paths are loading with version1483082446
root/static/version1483082446/frontend/Smartwave/porto/en_US/mage/calendar.css
I have followed below commands, but my styles are not loading in frontend.
Delete var/cache var/page_cache generated var/view_proceesed pub/static/frontend pub/static/adminhtml
Perform setup:upgrade di:compile content:deploy cache:flush
Give 777 permission to the pub var and generated folder.
After completion of Magento 2 Community Edition , Images not showing in admin panel as well as no log out option is there.
You need to regenerate static content files and clear cache. All commands assume that your current folder is magento root folder. Enter the following command:
Regenerate static files:
php bin/magento setup:static-content:deploy
Clean and flush cache:
php bin/magento cache:clean
php bin/magento cache:flush
When I compile static with php bin/magento setup:static-content:deploy, I'm getting the following errors:
Unable to get content for 'frontend/Magento/blank/en_US/css/source/lib/_lib.less'
Unable to get content for 'frontend/Magento/luma/en_US/css/source/lib/_lib.less'
I was also facing the same issue. Then I went through the comments from different people on GitHub here. After that I was able to fix by recovering the folder "lib/web/css" or whole "lib/web" under root directory.
Lastly run the command and there was no error :
bin/magento setup:static-content:deploy en_US -f
Based on your setup version you can take it from here : https://github.com/magento/magento2/tree/2.3/lib
Your Magento probably was poorly updated, you might be able to fix it by getting a new composer installation in the same version and replacing your lib folder with a clean lib folder from the native installation.
Can someone give me a step-by-step installation guide for extensions from zip files for Magento latest version?
Copy the extension file in your magento 2 Directory
(if not executable permission for magento CLI.. got to YOUR_INSTALLATION_DIR) (sudo ) chmod +x bin/magento
./bin/magento module:enable NAMESPACE_MODULENAME
./bin/magento magento setup:upgrade
Update after comment:
step 3: The NAMESPACE_MODULENAME means there should be this folder structure like app/code/NAMESPACE/MODULE/ inside your magento installation folder. Some extension don't have this but many files and folders like Model, Block... and a composer.json. If so
open composer.json and look on name at the top
"name": "TEST/MODULE"
....
if so you create dir like app/code/TEST/MODULE and copy content of zip file inside Module. This steps(3) simply enable the module, same as adding xml file in app/etc/modules/TEST_MODULE.xml in magento 1x.
Step 4. upgrade the database scheme of extension.
Magento Devdocs provide very detail instruction on how to set up extensions. (You can also filter through each version on top)
https://devdocs.magento.com/#/individual-contributors
I found this guy's Youtube video to be super helpful. Not to mention his cute accent. :)
Course from Magento U
Andy Myers
Hope this helps!
I am unable to install the following question types with my moodle
1. Drag and drop into text (qtype_ddwtos)
2. Drag and drop matching (qtype_ddmatch)
I am using I am using Moodle 2.5.4 (Build: 20140113), php 5.4.7, MySQL 5.5.27, Apache 2.4.3, XAMPP server version 1.8.1
I have downloaded the plugins and unzip it then placed in the moodle->question->type. After that if I click the notifications link it is showing only blank page. Please advise me how to go further and how to resolve this issue and make use of those plugins.
the idea is to give the 755 permission to the "ddmatch" and "ddwtos" folders.
1- copy the two folder to moodle->question->type (as you did)
2- cd to this this directory:
cd /opt/lampp/htdocs/moodle/question/type
3- and change the permission of the two folder:
sudo chmod -R 755 ddwtos ddmatch
it worked for me !
I just checked out 2.5.4 and downloaded the plugins you mentioned - making sure they were both 2.5 versions - and extracted them into /question/type
https://moodle.org/plugins/view.php?plugin=qtype_ddmatch
https://moodle.org/plugins/view.php?plugin=qtype_ddwtos
Then went to notifications, they both require other plugins
qtype_match doesn't exist unfortunately
https://moodle.org/plugins/view.php?plugin=qtype_match
However gapselect does, so I downloaded that one too
https://moodle.org/plugins/view.php?plugin=qtype_gapselect
Then ran the upgrade and no errors were shown.
Is this on linux? Its possible that the extracted files haven't got the correct permissions - check the ownership of the folders : http://docs.moodle.org/25/en/Security_recommendations#Running_Moodle_on_a_dedicated_server
I would also double check that the files have been unzipped into the correct folder - so you should have /question/type/ddmatch, /question/type/ddwtos and /question/type/gapselect
If all that is okay then, like davosmith says, if you can switch on debugging and paste the error here. If you can't get into the system then edit /config.php and add these 2 lines after $CFG = new stdClass();
$CFG->debug = 32767;
$CFG->debugdisplay = 1;
Then try going to notifications again and see what the error is /admin/index.php