- Posts: 6
- Thank you received: 0
Lost my (hika)shop overnight ...
10 years 2 months ago - 10 years 2 months ago #247865
by cns
Lost my (hika)shop overnight ... was created by cns
-- url of the page with the problem -- :
shop.isunet.edu/
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6
-- Error-message(debug-mod must be tuned on) -- : Blank front end pages
Bizarre attitude of Hikashop...
Overnight, my HikaShop install stopped working.
Installed a fresh copy and created 1 product and 1 category for initial testing.
Was working fine for some hours but when I try accessing today (after one night) :
- The frontEnd menus are driving me to a blank page...
- The Hikashop Back-end Categories and products goes to a blank page ....
Any explanation ?
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6
-- Error-message(debug-mod must be tuned on) -- : Blank front end pages
Bizarre attitude of Hikashop...
Overnight, my HikaShop install stopped working.
Installed a fresh copy and created 1 product and 1 category for initial testing.
Was working fine for some hours but when I try accessing today (after one night) :
- The frontEnd menus are driving me to a blank page...
- The Hikashop Back-end Categories and products goes to a blank page ....
Any explanation ?
Last edit: 10 years 2 months ago by cns.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
10 years 2 months ago #247869
by Mohamed Thelji
Replied by Mohamed Thelji on topic Lost my (hika)shop overnight ...
Hello,
A blank page only means that an error occurred but can't be displayed because the Joomla debug mode and Error reporting are disabled, can you :
- Activate the Joomla debug mode ("Administration->Global configuration->System->Debug System/Language")
- Set the "error reporting" option of the Joomla configuration to "maximum"
- Test it again so that you can see if it display an error message which will help you to understand from what your issue is coming.
A blank page only means that an error occurred but can't be displayed because the Joomla debug mode and Error reporting are disabled, can you :
- Activate the Joomla debug mode ("Administration->Global configuration->System->Debug System/Language")
- Set the "error reporting" option of the Joomla configuration to "maximum"
- Test it again so that you can see if it display an error message which will help you to understand from what your issue is coming.
Please Log in or Create an account to join the conversation.
10 years 2 months ago #247974
by cns
Replied by cns on topic Lost my (hika)shop overnight ...
Hi Mohamed,
Thank you for the reply. I did set the error reporting at MAX and I am getting this error:
Fatal error: Cannot redeclare class hikashopWysiwyg in /var/www/administrator/components/com_hikashop/classes/field.php on line 1998
Does not help me
Hopefully it is clear for you.
Please let me know what I should be doing next.
Regards,
Joel
Thank you for the reply. I did set the error reporting at MAX and I am getting this error:
Fatal error: Cannot redeclare class hikashopWysiwyg in /var/www/administrator/components/com_hikashop/classes/field.php on line 1998
Does not help me
Please let me know what I should be doing next.
Regards,
Joel
Please Log in or Create an account to join the conversation.
10 years 2 months ago #247976
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Lost my (hika)shop overnight ...
Hi,
www.hikashop.com/forum/install-update/87...-php-5-5.html#170944
Please be sure that you do not have any plugin or template which can (re)declare HikaShop elements.
The HikaShop Wysiwyg (custom field) is a class which cannot be override by a plugin or template ; trying to do that will create major issues.
HikaShop just declare that class once and the file cannot be include twice. If it was the case (which is not), other errors will appears.
So I am quite sure that the problem is coming from an external element.
Regards,
www.hikashop.com/forum/install-update/87...-php-5-5.html#170944
Please be sure that you do not have any plugin or template which can (re)declare HikaShop elements.
The HikaShop Wysiwyg (custom field) is a class which cannot be override by a plugin or template ; trying to do that will create major issues.
HikaShop just declare that class once and the file cannot be include twice. If it was the case (which is not), other errors will appears.
So I am quite sure that the problem is coming from an external element.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
10 years 2 months ago #248300
by cns
Replied by cns on topic Lost my (hika)shop overnight ...
Dear Support,
As it was a test, I took the initiative to do an even easier test:
Fresh Joomla latest install+Hikashop latest install+Using the standard joomla template
Created 3 categories and 2 products.
Day of creation was OK
Next day, tada ! Same problem happened, nothing anymore ... Backend and FrontEnd dead when accessing categories or products.
May someone look into this, because if a basic fresh install is crashing it overnight ...
Thank you in advance.
As it was a test, I took the initiative to do an even easier test:
Fresh Joomla latest install+Hikashop latest install+Using the standard joomla template
Created 3 categories and 2 products.
Day of creation was OK
Next day, tada ! Same problem happened, nothing anymore ... Backend and FrontEnd dead when accessing categories or products.
May someone look into this, because if a basic fresh install is crashing it overnight ...
Thank you in advance.
Please Log in or Create an account to join the conversation.
10 years 2 months ago #248302
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Lost my (hika)shop overnight ...
Hi,
HikaShop does not modify itself.
The class hikashopWysiwyg is declared just once in HikaShop and if the field class where included once (which is not possible), you will have other class declaration collision.
So what we wrote before is still the truth.
You can check yourself by adding that code in the HikaShop field class file.
php.net/manual/en/class.reflectionclass.php
Regards,
HikaShop does not modify itself.
The class hikashopWysiwyg is declared just once in HikaShop and if the field class where included once (which is not possible), you will have other class declaration collision.
So what we wrote before is still the truth.
You can check yourself by adding that code in the HikaShop field class file.
Code:
if(class_exists('hikashopWysiwyg')) {
$reflector = new ReflectionClass('hikashopWysiwyg');
die( 'hikashopWysiwyg declared - ' . $reflector->getFileName() );
}
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
10 years 2 months ago #248535
by fulike
Replied by fulike on topic Lost my (hika)shop overnight ...
Dear Jerome!
I migrated a Joomla website with hikashop starter to another webserver and I got the same error.
If I were editing the fields.php after hikashopWysiwyg clas ( which start line 1998), for example:
/**/
class hikashopTextarea extends hikashopItem {
The website once executed, but throws an error on the next load.
Both machines running on multiple Joomla sites, but in this one used Hikashop
First "good running" server is Debian 7.9, second/new server is Debian 8.5.
Thank you in advance for your answer
I migrated a Joomla website with hikashop starter to another webserver and I got the same error.
If I were editing the fields.php after hikashopWysiwyg clas ( which start line 1998), for example:
/**/
class hikashopTextarea extends hikashopItem {
The website once executed, but throws an error on the next load.
Both machines running on multiple Joomla sites, but in this one used Hikashop
First "good running" server is Debian 7.9, second/new server is Debian 8.5.
Thank you in advance for your answer
Please Log in or Create an account to join the conversation.
10 years 1 month ago #251295
by nicolas
Replied by nicolas on topic Lost my (hika)shop overnight ...
Hi,
I don't think that it is linked to the server version, but to extensions/plugins installed and activated on your website. One of them must do something it shouldn't. I would recommend to try deactivating the plugins one by one via the Joomla plugins manager to find out what's the problem.
I don't think that it is linked to the server version, but to extensions/plugins installed and activated on your website. One of them must do something it shouldn't. I would recommend to try deactivating the plugins one by one via the Joomla plugins manager to find out what's the problem.
Please Log in or Create an account to join the conversation.
Time to create page: 0.109 seconds