Class 'Varien_Data_Form_Element_Datetime' not found
when trying to edit a product in admin I suddenly got this error:
PHP Fatal Error: Class 'Varien_Data_Form_Element_Datetime' not found
in /home/public_html/lib/Varien/Data/Form/Abstract.php on line 146
I tried to google it but was unable to find a resolution.
magento-1 catalog fatal-error
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
when trying to edit a product in admin I suddenly got this error:
PHP Fatal Error: Class 'Varien_Data_Form_Element_Datetime' not found
in /home/public_html/lib/Varien/Data/Form/Abstract.php on line 146
I tried to google it but was unable to find a resolution.
magento-1 catalog fatal-error
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
when trying to edit a product in admin I suddenly got this error:
PHP Fatal Error: Class 'Varien_Data_Form_Element_Datetime' not found
in /home/public_html/lib/Varien/Data/Form/Abstract.php on line 146
I tried to google it but was unable to find a resolution.
magento-1 catalog fatal-error
when trying to edit a product in admin I suddenly got this error:
PHP Fatal Error: Class 'Varien_Data_Form_Element_Datetime' not found
in /home/public_html/lib/Varien/Data/Form/Abstract.php on line 146
I tried to google it but was unable to find a resolution.
magento-1 catalog fatal-error
magento-1 catalog fatal-error
edited Feb 22 '17 at 12:20
Gopal Patel
2,9912930
2,9912930
asked Feb 22 '17 at 12:03
manga222manga222
1
1
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Try to check if the file exists under /lib/Varien/Data/Form/Element/Datetime.php
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magento.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magento.com for more information.
*
* @category Varien
* @package Varien_Data
* @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
/**
* Varien data selector form element
*
* @category Varien
* @package Varien_Data
* @author Magento Core Team <core@magentocommerce.com>
*/
class Varien_Data_Form_Element_Datetime extends Varien_Data_Form_Element_Date
{
}
add a comment |
Sounds like some core files are missing in your Magento instance. Check whether /lib/Varien/Data/Form/Element/Datetime.php
does exists in your code base.
Here is the link for latest Datetime.php. You can create a new file and place that code in it.
But if the file is missing, then the most important thing which you need to check is how that file get missed. Make sure such "core hacks" do not happen anymore.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f161270%2fclass-varien-data-form-element-datetime-not-found%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try to check if the file exists under /lib/Varien/Data/Form/Element/Datetime.php
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magento.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magento.com for more information.
*
* @category Varien
* @package Varien_Data
* @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
/**
* Varien data selector form element
*
* @category Varien
* @package Varien_Data
* @author Magento Core Team <core@magentocommerce.com>
*/
class Varien_Data_Form_Element_Datetime extends Varien_Data_Form_Element_Date
{
}
add a comment |
Try to check if the file exists under /lib/Varien/Data/Form/Element/Datetime.php
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magento.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magento.com for more information.
*
* @category Varien
* @package Varien_Data
* @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
/**
* Varien data selector form element
*
* @category Varien
* @package Varien_Data
* @author Magento Core Team <core@magentocommerce.com>
*/
class Varien_Data_Form_Element_Datetime extends Varien_Data_Form_Element_Date
{
}
add a comment |
Try to check if the file exists under /lib/Varien/Data/Form/Element/Datetime.php
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magento.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magento.com for more information.
*
* @category Varien
* @package Varien_Data
* @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
/**
* Varien data selector form element
*
* @category Varien
* @package Varien_Data
* @author Magento Core Team <core@magentocommerce.com>
*/
class Varien_Data_Form_Element_Datetime extends Varien_Data_Form_Element_Date
{
}
Try to check if the file exists under /lib/Varien/Data/Form/Element/Datetime.php
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magento.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magento.com for more information.
*
* @category Varien
* @package Varien_Data
* @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
/**
* Varien data selector form element
*
* @category Varien
* @package Varien_Data
* @author Magento Core Team <core@magentocommerce.com>
*/
class Varien_Data_Form_Element_Datetime extends Varien_Data_Form_Element_Date
{
}
answered Feb 22 '17 at 12:10
Jelle SideriusJelle Siderius
161112
161112
add a comment |
add a comment |
Sounds like some core files are missing in your Magento instance. Check whether /lib/Varien/Data/Form/Element/Datetime.php
does exists in your code base.
Here is the link for latest Datetime.php. You can create a new file and place that code in it.
But if the file is missing, then the most important thing which you need to check is how that file get missed. Make sure such "core hacks" do not happen anymore.
add a comment |
Sounds like some core files are missing in your Magento instance. Check whether /lib/Varien/Data/Form/Element/Datetime.php
does exists in your code base.
Here is the link for latest Datetime.php. You can create a new file and place that code in it.
But if the file is missing, then the most important thing which you need to check is how that file get missed. Make sure such "core hacks" do not happen anymore.
add a comment |
Sounds like some core files are missing in your Magento instance. Check whether /lib/Varien/Data/Form/Element/Datetime.php
does exists in your code base.
Here is the link for latest Datetime.php. You can create a new file and place that code in it.
But if the file is missing, then the most important thing which you need to check is how that file get missed. Make sure such "core hacks" do not happen anymore.
Sounds like some core files are missing in your Magento instance. Check whether /lib/Varien/Data/Form/Element/Datetime.php
does exists in your code base.
Here is the link for latest Datetime.php. You can create a new file and place that code in it.
But if the file is missing, then the most important thing which you need to check is how that file get missed. Make sure such "core hacks" do not happen anymore.
answered Feb 22 '17 at 12:24
Rajeev K TomyRajeev K Tomy
14.2k54585
14.2k54585
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f161270%2fclass-varien-data-form-element-datetime-not-found%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown