Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Error Logs Issue Rate Topic   - - - - -

 
  • lastpixel
  • Member
  • Trial users
  • Join Date: 25-Feb 16
  • 36 posts

Posted 16 March 2016 - 02:22 PM #1

In error_log file from public_html I have a lot of lines with:

PHP Notice: Use of undefined constant CART_SECONDARY_CURRENCY - assumed \'CART_SECONDARY_CURRENCY\' in /home/california/public_html/app/Tygh/Registry.php on line 483

Why is happening this?



 
  • Vivek Gupta
  • Senior Member
  • Members
  • Join Date: 09-Jul 15
  • 247 posts

Posted 16 March 2016 - 03:13 PM #2

contact to cscart support 


Vivek Gupta 
 


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19051 posts

Posted 16 March 2016 - 03:15 PM #3

Please take a look:

 

http://forum.cs-cart...index-dispatch/


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • robert89
  • Advanced Member
  • Members
  • Join Date: 15-Feb 16
  • 60 posts

Posted 24 March 2016 - 07:58 PM #4

Hello

I have a lot of error in the error log file whit this 2 think:

 

Europe/Minsk] PHP Fatal error:  Uncaught  --> Smarty: Missing template name <-- 

  thrown in /home/zenon/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 679
 
and
 
24-Mar-2016 14:54:20 Europe/Minsk] PHP Warning:  chmod() has been disabled for security reasons in /home/zenon/public_html/app/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer.php on line 193
 
Can somebody help me?
 
Thx!


 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3800 posts

Posted 25 March 2016 - 06:58 AM #5

 

Hello

I have a lot of error in the error log file whit this 2 think:

 

Europe/Minsk] PHP Fatal error:  Uncaught  --> Smarty: Missing template name <-- 

  thrown in /home/zenon/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 679

 

 

It seems that some template is missing from your installation. Most probably, you are using a third-party theme.

 

 

24-Mar-2016 14:54:20 Europe/Minsk] PHP Warning:  chmod() has been disabled for security reasons in /home/zenon/public_html/app/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer.php on line 193

 

You should contact your server administrator and ask them to enable the chmod() function on your server.


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation


 
  • robert89
  • Advanced Member
  • Members
  • Join Date: 15-Feb 16
  • 60 posts

Posted 25 March 2016 - 10:05 AM #6

 



 
  • robert89
  • Advanced Member
  • Members
  • Join Date: 15-Feb 16
  • 60 posts

Posted 25 March 2016 - 10:06 AM #7

My admin server can not enable the function...

In this case, what to do?

 

and whit the template error, what to do?

 

thx



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19051 posts

Posted 25 March 2016 - 10:50 AM #8

My admin server can not enable the function...

In this case, what to do?

 

and whit the template error, what to do?

 

thx

 

Good time to change hosting. They disabled too much required things


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • robert89
  • Advanced Member
  • Members
  • Join Date: 15-Feb 16
  • 60 posts

Posted 25 March 2016 - 01:56 PM #9

Good time to change hosting. They disabled too much required things


So, if this thing is disable i have a problem in future whit my website?

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19051 posts

Posted 25 March 2016 - 03:19 PM #10

So, if this thing is disable i have a problem in future whit my website?

 

With high probability you will have issues


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • robert89
  • Advanced Member
  • Members
  • Join Date: 15-Feb 16
  • 60 posts

Posted 25 March 2016 - 07:43 PM #11

ok thx…we have any idee what issues?

 

Or if i but @ in front of chmod (@chmod) is better?

 

Thx



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19051 posts

Posted 28 March 2016 - 07:28 AM #12

ok thx…we have any idee what issues?

 

Or if i but @ in front of chmod (@chmod) is better?

 

Yes, you can prevent notice displaying using the @ symbol. But please note that functions still will not work in this case.


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • robert89
  • Advanced Member
  • Members
  • Join Date: 15-Feb 16
  • 60 posts

Posted 28 March 2016 - 04:16 PM #13

Ok i undestand, but can you have any ideea what problem i will have in the future? Some exemple please...



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19051 posts

Posted 29 March 2016 - 07:51 AM #14

Ok i undestand, but can you have any ideea what problem i will have in the future? Some exemple please...

 

I do not know the exact list of functions which were disabled due to security reasons. So I cannot answer on your question


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.