Hello everyone,
i use laravel voyager as back-end.. My Admin doesn't work correctly..
font awesome, images, etc don't appear in the Admin.
https://i.imgur.com/bqFFu6J.png
when i try to Add a product a get this error:
https://i.imgur.com/LAxuhlb.png
Can anyone suggest me that what can I do to solve the problem.
Please check follow:
First.
Please clear browser cache.
php artisan optimize
If it doesn't work let me know how to import font files.
Second.
Please set primary key and auto increment on "id" field of "categories" table.
Related
I am making a multi seller ecommerce website using Laravel 7. After integrating an Iseeder package from Github overriding my current Voyager seeders, I seem to have issues in my Voyager admin panel. I'm not sure if this is the real issue here but I can't view tables in Roles, Users and other pages. BREAD functions are still working properly. Also, when I try to edit Users i'm getting the error "ErrorException
Trying to get property 'details' of non-object (View: C:\xampp\htdocs\Laravel\itprojETONA\vendor\tcg\voyager\resources\views\users\edit-add.blade.php)"
I have no idea what seems to be the problem as I'm just starting to learn Laravel. I hope someone here can help me. Thanks a lot!
PHP 7.3.22
Laravel 7x
Composer version 1.10.13
Voyager 1.4x
A friend of mine who running e-commerce website using Magento 2 platform. She set price attribute on her products and now she wants to change the price. She is able to find the attribute input field and changed the price and then saved and cashed out, but it doesn't update frontend, and there is no any error show either.
I'm pretty new to Magento 2 and wondering any body has any idea what is going on?
You must flush storage cache then run this command (from the root of magento's directory) line to get the change applied :
$ php bin/magento indexer:reindex
Let me know if you still face the problem then.
If you cannot ssh to server, you can go to admin System->Tools->Index Management to Re
Hi i am trying to use Go Cart e-commerce which is built in Codeigniter. I successfully installed it in localhost. But when i added categories and products only description is showing in front page but no images. Same with the banner. No added them but no image is showing there. I want to use default template. How can i use default template without any problem? Please let me know if someone have any idea. Thank you in advance. Here is the link for Go Cart : https://demo.gocartdv.com
I am trying to build an admin panel with Laravel framework for a website that is going to be in Bengali language. I can write Bangla fonts in my mysql database quite fine and when I insert directly into the database the fonts are displayed fine but when I try to insert Bangla from the panel and try to see the output through my laravel controllers, the fonts are not displayed. Can anyone give me a solution?enter image description here
This is where I am trying to add a category name in Bangla. You can see the font working well here. I am using Avro Keyboard for inserting Bangla. But when I try to display it, it is displayed like this
enter image description here
You can see that Bangla fonts are not working properly. Now this happens only when I am using laravel. I have inserted Bangla directly into mysql database in xampp but then it works fine.
$category->category_name = ucwords(strtolower($request->category_name));
This is the code I'm using in my controller to insert the category name.
I am using php 7 and database collation is utf8_general_ci. I am also using this meta tag <meta charset="utf-8"> in my site's head section. Now could anyone please provide me a solution? It would be greatly appreciated. Thanks.
I have found the problem. In my controller I was using strtolower() and ucwords() when inserting the category name. That's what was causing the problem.
I've got a problem when i want to set data in a custom module, i add a field in my database call "test".
the module is ok, all my other attributes work perfectly.
when i do :
Mage::getModel('point/point')->load(1)->setUrl('test')->save();
it's ok, the value is save in the DB but with my new field
Mage::getModel('point/point')->load(1)->setTest('test')->save();
nothing... The value isn't saved, i don't know why, i try to create other field in my table and it's the same. It's not the first time i do that usually it's ok.
I use magento 1.7.
If someone have an idea ?
Ok, I found the problem, I updated my magento and now it's good. Probably it was a fixed bug.
try this
cache clear
Mage::getModel('point/point')->load(1)->setData('test','testvalue')->save();
Guys I have faced same problem in my custom module.
I checked this steps and solved the problem
Step1:- check your table Engine type if it's InnoDB than change it to MyISAM and than check.
For More info Click Here