Magento 2.3.5p1 Blank Tab Issue in Configuration Screens - magento

I have a fresh install of Magento 2.3.5p1 running. Passed all requirements for set up, running PHP73 , MySQL 56 and so on and everything looks fine until you go to Stores > Configuration.
Under the General > General Tab, I have a blank area and the same for Sales > Shipping Settings, Sales > Shipping Methods, Sales > Payment Methods, Sales Tax
This is what the screen looks like for reference
I have tried compile, static:content deploy, reindexing, cache flushing and everything else I can think of.
I also have version 2.3.3 running on exactly the same site (using different directories and database of coure) and it runs perfectly, but from v2.3.4 I've had this issue with tabs being blank, and can't figure it out.

So I managed to solve the issue myself in the end.
The most frustrating thing about this was that it wasn't throwing any errors anywhere, until I tried to visit the products page which generated and error report containing the error;
Warning: Magento\Framework\Locale\TranslatedLists::getCountryTranslation(): Cannot load resource element 'XK'
So, to fix the issue (probably not a great fix for everyone but certainly ok for scenario), was to go to the directory_country table in the database and delete the 'XK' row, now everything has returned and works perfectly. Hope this helps someone else suffering with the same issue.

Related

Joomla error "MODULO BY ZERO"

This error showed up as plain text on white background after logging in to the Maintenance Login window on the public front end of our Joomla 3.5.1 site. We are using a template from TemplateMonster called "theme3289" (default version), aka "Truckie".
For no apparent reason, we found we could not log in to the Maintenance Login window on the public front end. We got the error:
"Modulo by zero" on a plain white background.
No part of the front public end of the site could be navigated to, even by pasting in a link. However, we could navigate fine to the backend ([site_domain_name.com]/administrator)
Not sure exactly what caused this, but we did have the internet connection go down in the middle of saving an article. After re-gaining connection, the new article was missing. We had also made some simple content changes (not configuration or settings changes) in the articles inside the TM Parallax module.
Looking for help on this "Modulo by zero" error.
RESTORED DATABASE BACKUP = Solved the problem. I am pretty sure it was some kind of database error or corruption. We tried clearing the cache (Joomla System Menu) and a number of other things. Nothing worked.
We had two staff working on the site at the time of the error, one a newbie, one an advanced beginner. Interviewing them with "what were you doing at the time" didn't seem to lend any clues. Unless perhaps the TM Parallax module may have a bug (???) - or a corruption somehow when internet went down while saving an article.
SOLUTION: We restored a recent backup copy of the database made only 2 hours prior to the ERROR. This solved our problem.
This worked for us.
I faced this issue today, and I found out the cause. Its simple actually,as the issue says your code somewhere is attempting to do division or modulo by 0. Maybe you had added a new field with value 0 in your db after taking backup and the data there was causing it. This may not be helpful for you now but I'm leaving this here to make it easy if someone has a similar issue and ends up here.
I think the problem was caused by a change in the template. For example, some templates do not allow specific values to be zero, and will crash when this happens.
A good idea to discover the root cause of the problem is to compare the templates settings of the backup to the template settings of the problematic site. If everything is exactly the same, then you should compare the modules, and finally the menu items. It is not a fun job to do, but will help you isolate the problem in case it happens again.
For your reference. Just had this issue and the above information did not help. Finally found the solution:
In Article > global Options > Blog/Featured layout I had the columns set to 0

Magento showing different product quantities on different pages

We have a Magento site running on version 1.7.0 on the Argento theme that seems to be having intermittent issues with products not appearing. This appears to happen on certain pages and not others.
For example, if you add a product from the homepage or single category pages, it will show immediately as being part of the cart (note, Argento uses AjaxPro for the cart). However, once you navigate to another page, say "My Cart" or "Checkout" the total will show as zero. Doing a hard-refresh on the browser will update the total.
Additionally, if you open the Chrome Dev tools, navigate to "Network" and then check "disable cache" everything runs perfectly.
Things we have tried to resolve this:
Flushing/Clearing/Disabling the Magento cache. Seems to make things slightly better but doesn't clear up the issue.
x-cache-control meta tag. Same as above, issue seems to be less frequent but still definitely appearing.
Turn off AjaxPro. Our initial belief was that this plugin was causing issues, but turning it off has no effect.
Re-Index. Has no effect.
Added $.ajaxSetup({"cache" : false}) at the top of our scripts. This also has no effect.
Any advice or tips on where to look next would be appreciated.
It turns out that our hosting provider had set up the installation with the sessions stored in memcache. We switched this over to file storage in our local.xml and it fixed the issue.

Why are my products not showing in magento?

I came to check on my magento site this morning and as far as I know it was working as it should but when I went on a product to show me more detail it loads the page but nothing shows up, my browser says the page has fully loaded but nothing shows up at all its completely blank, as far as I know it was working 2 days ago and nothing has been altered, I've cleared the cache, reindexed the data and still nothing and when it does manage to load something it looks like this:
Im having to download a full backup from my hosting account to see if I can restore it back to normal, any help would be greatly appreciated.

Joomla 2.5 save, save & close, save & new, cancel buttons do not work

When I try to create or edit an article, category, or module, I am unable to save or cancel the changes. When I click on the Admin buttons, nothing happens. The URL gets a "#" added to the end of it, and I get this error (examples from 2 different editors):
ReferenceError: WFEditor is not defined
http://www.mysite.com/administrator/index.php?option=com_content&view=article&layout=edit
Line 250
ReferenceError: tinyMCE is not defined
http://www.mysite.com/administrator/index.php?option=com_content&view=article&layout=edit&id=47
Line 247
I have Joomla 2.5.11, no other updates pending. JCE editor, TinyMCE, default, and RokPad all throw errors and don't do anything when I press the buttons. CodeMirror and None are the only editors that I can use to save the article. I have tried uninstalling JCE and reinstalling it, and no changes.
I don't remember the last time it was working, possibly January sometime, if not before then. I don't know if this has anything to do with settings in my php.ini file or not. That was the only thing that changed from the time it was working until now, but it should be back to the "default" settings.
I've tried reuploading the admin folder, but no change. I reuploaded all the Joomla files (except installation) this morning from the stable 2.5.11 package freshly downloaded from joomla.org today, and still having this problem. I've also tried purging cache from the updates manager as well as maintenance area. I've tried 2 different computers, Fire Fox, Chrome, and IE (this was the suggestion in one of the posts I found similar to this issue).
I have been searching for a resolution for months. Any topics I find that sound like my issue end up either not having a resolution, or it's something else that the person is having a problem with. I use both JCE and RokPad on dozens of other websites with no problems.
Thank you for your help.
Do you have extra plugins or modules published on all administrator pages? There could be an extra
Open your console (ctrl+shift+J) and you should be able to locate the error, once you do just try to locate the origin in your code, it's most likely not originating from Joomla core, rather from an extension / template.
Also bear in mind that plugins are active by default on both the frontend and the backend and very often they are not intended to run in the backend, nor tested in the backend.
I JUST FIXED IT!! :) : ) :)
I just switched my hosting's PHP version from 5.4 to 5.3 and voila! It functions as it should. I hope this helps someone! I'm not sure when/why I may be required to go back to 5.4 but for now this solves my problem. Any idea as to why these two versions of PHP behave so differently?

Magento product not saving

I have come across very different kind of problem. Suddenly in Magento products uploaded not updating anymore.
In detail, when we open products to update and click save button, nothing happens. It started happening suddenly, everything was working fine before.
Please help, its a big problem. I dont know what to do and which files to check.
May be you missed some mandatory field to fill. Check every tab if you have any error asking to fill the fields.
Or, there will be some javascript errors. Check if any JS errors are there, and post it here.
I found where it was gone wrong.
in js/prototype/validation.js
This file used by admin product option validation, which I have changed and didn't realize to check for admin validations.
Small change like this solved the problem.
if(!admin){
// put your code for front-end validation
}
Thanks to all.
I came here after having the same problem. "Save" suddenly stopped working on the product page. The only thing I had done was update prototype.js from 1.7 to 1.7.1 to support fade() in IE10 b/c I have a custom fade on thumbnails.
Well prototype.js 1.7.1 responds with TypeError: value.gsub is not a function when you click save.
Had to revert back because I dont know how to fix it.
if magento is configured to work with elasticsearch and elasticsearch is unreachable it also results in this error

Resources