Nothing can be edited in admin panel in magento - magento

I cannot edit anything in admin panel.
I have magento site ,i logged into the admin panel after that i clicked
cms->page then the pages listed but i cant to edit the page .
When i clicked on the page menu itd displays error in fire bug:
TypeError: hash.__properties is undefined
[Break On This Error]
if (current.length == hash.__properties.length)
33027d...e309.js (line 8281)
TypeError: Fieldset is undefined
[Break On This Error]
Fieldset.addToPrefix(1);
/bc/in...3a06aa/ (line 41)
TypeError: Translate is not a constructor
[Break On This Error]
...ease use only letters (a-z or A-Z), numbers (0-9) or underscore(_) in this field...
/bc/in...3a06aa/ (line 44)
ReferenceError: Calendar is not defined
[Break On This Error]
...= ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]; // f...
/bc/in...3a06aa/ (line 49)
ReferenceError: Calendar is not defined
[Break On This Error]
Calendar.setup({
/bc/in...3a06aa/ (line 539)
ReferenceError: Calendar is not defined
[Break On This Error]
Calendar.setup({
/bc/in...3a06aa/ (line 565)
TypeError: varienGrid is not a constructor
[Break On This Error]
...d', 'http://localhost/bc/index.php/admin/cms_page/index/key/0681afc112b37ec174e8...
And nothing can be loaded correctly displays errors in bug.
And cannot edit anything in admin panel.

So verify if your javascript files are even included: view source and see if they are accessible directly. Sometime it can happen if you mistype the nonsecure_base_url

Related

Uncaught TypeError: Cannot read properties of undefined (reading 'get') on using livewire-charts

I am trying to use this package https://github.com/asantibanez/livewire-charts but get this error when trying to see my chart, I just copy and paste it from docs:
Uncaught TypeError: Cannot read properties of undefined (reading 'get')
at Proxy.drawChart (app.js:3:472873)
at app.js:3:472785
To Reproduce
Steps to reproduce the behavior:
$columnChartModel =
(new ColumnChartModel())
->setTitle('Expenses by Type')
->addColumn('Food', 100, '#f6ad55')
->addColumn('Shopping', 200, '#fc8181')
->addColumn('Travel', 300, '#90cdf4')
;
<livewire:livewire-column-chart
:column-chart-model="$columnChartModel"
/>
Uncaught TypeError: Cannot read properties of undefined (reading 'get')
at Proxy.drawChart (app.js:3:472873)
at app.js:3:472785
Is here anybody who have experience with it?
check the requirement must be like that
requirement

Uncaught SyntaxError: Unexpected identifier at eval anonymous

I create a test project in MVC with kendo grid with popup edit. In
this scenario I have 3 relational tables. but when I add the third
table, I getting this Error:
> VM1362:1 Uncaught SyntaxError: Unexpected identifier
> at eval (<anonymous>)
at (https://kendo.cdn.telerik.com/2017.3.1018/js/jquery.min.js:2:2651)
at `Function.globalEval` (https://kendo.cdn.telerik.com/2017.3.1018/js/jquery.min.js:2:2662)
at Ha (https://kendo.cdn.telerik.com/2017.3.1018/js/jquery.min.js:3:21262)
at `n.fn.init.append` (https://kendo.cdn.telerik.com/2017.3.1018/js/jquery.min.js:3:22791)
at `I.fn.init.n.fn.(anonymous function) [as appendTo]` (https://kendo.cdn.telerik.com/2017.3.1018/js/jquery.min.js:3:24510)
at `init._createPopupEditor` (https://kendo.cdn.telerik.com/2017.3.1018/js/kendo.all.min.js:52:4953)
at `init.editRow` (https://kendo.cdn.telerik.com/2017.3.1018/js/kendo.all.min.js:52:2129)
at `HTMLAnchorElement.<anonymous>`
if I comment bellow line, project run correctly:
#{Html.RenderAction("AgreementExpertsIndex", new { xAgreementID = Model.xID });}
Can anyone say what is the problem?
The source code is here:
source file
thanks
Try a lowercase M in Model:
#{Html.RenderAction("AgreementExpertsIndex", new { xAgreementID = model.xID });}

Magento 1.9 cannot make customer login, undefined offset + undefined variable

I have a really strange problem. Yesterday I was working with magento just fine and today when I opened the pc and tried login on my account after cleaning cache & session it gives me this error on customer login:
Error occurred. Please try again later on the frontend.
I dig into the system.log and I have this:
ERR (3): Notice: Undefined offset: 158 in {...}/phpseclib/Math/BigInteger.php on line 3426 and 3317
ERR (3): Notice: Undefined variable: cmsPageIdentifier in {...}/default/template/page/html/header.phtml on line 29
and this is the code in question
Line 7-10:
if(Mage::app()->getFrontController()->getRequest()->getRouteName() == 'cms')
{
$cmsPageIdentifier = Mage::getSingleton('cms/page')->getIdentifier();
}
Line 29:
<?php elseif ($cmsPageIdentifier && $cmsPageIdentifier == "conferma-invio") : ?>
In sso.log I have this
DEBUG (7): HTTP status: 503 when trying to get user authentication
DEBUG (7): Field Status was empty in webapi response
Thank you.
I manually fixed the BigInteger and I remained only with the sso.log.
Dug into it and I found that there was another module error blocking customer login. Setting that module to false in app/etc/modules/Module_Name.xml fixed it.

Expression requestAttributes.email is undefined on line 468, column 66

working fine but i am getting error in log error.log fine can u plesae help.
[ Log4JLoggerFactory.java:96 :ERROR] Template processing error: "Expression requestAttributes.email is undefined on line 468, column 66 in component://osafe/webapp/osafe/common/eCommerceOrderPaymentMethods.ftl."
This means that email in requestAttributes was null or non-existent. If that's expected, use ${requestAttributes.email!}.

jqGrid v4.5.4 "TypeError: this.p is undefined"

I'm getting the above error on this line in jqGrid.src.js, line 8713:
var alertIDs = {themodal: 'alertmod_' + this.p.id, modalhead: 'alerthd_' + this.p.id,modalcontent: 'alertcnt_' + this.p.id},
this.p is null.
I see this: jqGrid throws: Uncaught TypeError: Cannot read property 'a' of undefined
but, don't understand the answer. I am already doing this, "The solution was to chain the pager to the grid constructor."
but, still getting the error.

Resources