Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26
  1. #11
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,521
    Plugin Contributions
    88

    Default Re: cPanel with Zen Cart Log Help

    You could also create a .php file (name of your choice) containing:
    Code:
    <?php phpinfo ();
    Place that file in your Zen Cart's root folder, then access that by going to www.yoursite.com/the_file_name.php. That will output the information that you could also access via the admin.

    Let me know what the disable_functions setting is.

  2. #12
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: cPanel with Zen Cart Log Help

    Quote Originally Posted by lat9 View Post
    You could also create a .php file (name of your choice) containing:
    Code:
    <?php phpinfo ();
    Place that file in your Zen Cart's root folder, then access that by going to www.yoursite.com/the_file_name.php. That will output the information that you could also access via the admin.

    Let me know what the disable_functions setting is.
    Dear lat9,

    disable_functions
    exec,passthru,shell_exec,system exec,passthru,shell_exec,system

    left is local value, right is master value

  3. #13
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,521
    Plugin Contributions
    88

    Default Re: cPanel with Zen Cart Log Help

    Hmm, not what I expected! Let's try another:
    Code:
    <?php ini_set ('error_reporting', -1);
    If you place the above code into that PHP file and run it, do you receive any error output?

  4. #14
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: cPanel with Zen Cart Log Help

    Quote Originally Posted by lat9 View Post
    Hmm, not what I expected! Let's try another:
    Code:
    <?php ini_set ('error_reporting', -1);
    If you place the above code into that PHP file and run it, do you receive any error output?

    Dear lat9,

    Follow your php
    NOthing output there

  5. #15
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: cPanel with Zen Cart Log Help

    Click image for larger version. 

Name:	zc-20161220-001.jpg 
Views:	63 
Size:	53.1 KB 
ID:	16843

    Please check your PM
    Since this is public open server, I don't want to point the URL that let you can access the phpinfo();
    Your PM include a FULL URL can see it output

  6. #16
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: cPanel with Zen Cart Log Help

    And EA4 have this
    https://documentation.cpanel.net/dis...098e6d43e60e60

    I can post the advanced PHP.INI there later for your reference

  7. #17
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: cPanel with Zen Cart Log Help

    Here are the EasyApache4 Advanced PHP Editor PHP.ini

    Code:
    ;;;;;;;;;;;;;;;;;;;
    ; About php.ini   ;
    ;;;;;;;;;;;;;;;;;;;
    ; PHP's initialization file, generally called php.ini, is responsible for
    ; configuring many of the aspects of PHP's behavior.
    
    
    ; display_errors
    ;   Default Value: On
    ;   Development Value: On
    ;   Production Value: Off
    
    ; display_startup_errors
    ;   Default Value: Off
    ;   Development Value: On
    ;   Production Value: Off
    
    ; error_reporting
    ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ;   Development Value: E_ALL
    ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    
    ; html_errors
    ;   Default Value: On
    ;   Development Value: On
    ;   Production value: On
    
    ; log_errors
    ;   Default Value: Off
    ;   Development Value: On
    ;   Production Value: On
    
    ; max_input_time
    ;   Default Value: -1 (Unlimited)
    ;   Development Value: 60 (60 seconds)
    ;   Production Value: 60 (60 seconds)
    
    ; output_buffering
    ;   Default Value: Off
    ;   Development Value: 4096
    ;   Production Value: 4096
    
    ; register_argc_argv
    ;   Default Value: On
    ;   Development Value: Off
    ;   Production Value: Off
    
    ; request_order
    ;   Default Value: None
    ;   Development Value: "GP"
    ;   Production Value: "GP"
    
    ; session.bug_compat_42
    ;   Default Value: On
    ;   Development Value: On
    ;   Production Value: Off
    
    ; session.bug_compat_warn
    ;   Default Value: On
    ;   Development Value: On
    ;   Production Value: Off
    
    ; session.gc_divisor
    ;   Default Value: 100
    ;   Development Value: 1000
    ;   Production Value: 1000
    
    ; session.hash_bits_per_character
    ;   Default Value: 4
    ;   Development Value: 5
    ;   Production Value: 5
    
    ; short_open_tag
    ;   Default Value: On
    ;   Development Value: Off
    ;   Production Value: Off
    
    ; track_errors
    ;   Default Value: Off
    ;   Development Value: On
    ;   Production Value: Off
    
    ; url_rewriter.tags
    ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    
    ; variables_order
    ;   Default Value: "EGPCS"
    ;   Development Value: "GPCS"
    ;   Production Value: "GPCS"

  8. #18
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: cPanel with Zen Cart Log Help

    ; This directive allows you to disable certain functions for security reasons.
    ; It receives a comma-delimited list of function names. This directive is
    ; *NOT* affected by whether Safe Mode is turned On or Off.
    ; http://php.net/disable-functions
    disable_functions =

    ; This directive allows you to disable certain classes for security reasons.
    ; It receives a comma-delimited list of class names. This directive is
    ; *NOT* affected by whether Safe Mode is turned On or Off.
    ; http://php.net/disable-classes
    disable_classes =

    error_reporting = E_ALL & ~E_NOTICE
    display_errors = Off
    display_startup_errors = Off
    log_errors = On
    ignore_repeated_errors = Off
    ignore_repeated_source = Off

  9. #19
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: cPanel with Zen Cart Log Help

    Click image for larger version. 

Name:	zc-20161220-002.jpg 
Views:	70 
Size:	47.3 KB 
ID:	16844

    Click image for larger version. 

Name:	zc-20161220-003.jpg 
Views:	64 
Size:	44.0 KB 
ID:	16845


    Click image for larger version. 

Name:	zc-20161220-004.jpg 
Views:	63 
Size:	57.2 KB 
ID:	16846

  10. #20
    Join Date
    Jul 2012
    Posts
    16,735
    Plugin Contributions
    17

    Default Re: cPanel with Zen Cart Log Help

    Quote Originally Posted by explorer1979 View Post
    Here are the EasyApache4 Advanced PHP Editor PHP.ini

    Code:
    ;;;;;;;;;;;;;;;;;;;
    ; About php.ini   ;
    ;;;;;;;;;;;;;;;;;;;
    ; PHP's initialization file, generally called php.ini, is responsible for
    ; configuring many of the aspects of PHP's behavior.
    
    
    ; display_errors
    ;   Default Value: On
    ;   Development Value: On
    ;   Production Value: Off
    
    ; display_startup_errors
    ;   Default Value: Off
    ;   Development Value: On
    ;   Production Value: Off
    
    ; error_reporting
    ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ;   Development Value: E_ALL
    ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    
    ; html_errors
    ;   Default Value: On
    ;   Development Value: On
    ;   Production value: On
    
    ; log_errors
    ;   Default Value: Off
    ;   Development Value: On
    ;   Production Value: On
    
    ; max_input_time
    ;   Default Value: -1 (Unlimited)
    ;   Development Value: 60 (60 seconds)
    ;   Production Value: 60 (60 seconds)
    
    ; output_buffering
    ;   Default Value: Off
    ;   Development Value: 4096
    ;   Production Value: 4096
    
    ; register_argc_argv
    ;   Default Value: On
    ;   Development Value: Off
    ;   Production Value: Off
    
    ; request_order
    ;   Default Value: None
    ;   Development Value: "GP"
    ;   Production Value: "GP"
    
    ; session.bug_compat_42
    ;   Default Value: On
    ;   Development Value: On
    ;   Production Value: Off
    
    ; session.bug_compat_warn
    ;   Default Value: On
    ;   Development Value: On
    ;   Production Value: Off
    
    ; session.gc_divisor
    ;   Default Value: 100
    ;   Development Value: 1000
    ;   Production Value: 1000
    
    ; session.hash_bits_per_character
    ;   Default Value: 4
    ;   Development Value: 5
    ;   Production Value: 5
    
    ; short_open_tag
    ;   Default Value: On
    ;   Development Value: Off
    ;   Production Value: Off
    
    ; track_errors
    ;   Default Value: Off
    ;   Development Value: On
    ;   Production Value: Off
    
    ; url_rewriter.tags
    ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    
    ; variables_order
    ;   Default Value: "EGPCS"
    ;   Development Value: "GPCS"
    ;   Production Value: "GPCS"
    If these truly are the settings in the file then understand that all of them take the default (instead of the Production Value) because they are all commented out (beginning with a semi-colon (;)).

    It may seem that in particular the ones related to showing instead of logging errors may be a reason why your logs are not generated. Display of errors can be a security risk where an error could be forced to occur and the result presented to the visitor.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v139h cpanel error log
    By AfterHouR in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 28 Jan 2013, 09:06 AM
  2. cpanel backup of cache/sess_ files
    By djdavedawson in forum General Questions
    Replies: 1
    Last Post: 22 Apr 2009, 08:00 PM
  3. Help in cleaning up image files/cpanel
    By honeysclerose in forum General Questions
    Replies: 2
    Last Post: 9 Nov 2007, 10:04 PM
  4. My site won't let the user log in?
    By footballflashbacks in forum General Questions
    Replies: 2
    Last Post: 22 Jul 2007, 09:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR