Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26
  1. #21
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: cPanel with Zen Cart Log Help

    Quote Originally Posted by mc12345678 View Post
    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.

    Hi mc12345678,

    Can you share your live products server setting if your logs files work?

    My server look like not just comment out, it value also look like not same as the the phpinfo(); return value

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

    above is cPanel PHP.INI I open it see.

    But ... one of line in this PHP.INI also make me feeling confusion ...
    disable_functions =
    this in the PHP.INI

    But while I am runing the phpinfo(); on standalone files or inside the installed ZC 1.5.5b
    It have a value there
    disable_functions
    exec,passthru,shell_exec,system exec,passthru,shell_exec,system

    left is local value, right is master value

    This is 100% look like not same as what I see in the cPanel WHM's Globel PHP.INI files do
    disable_functions =

    I just know look like EasyApache 4 work very different as EasyApache 3 do

    Thank you.
    Last edited by explorer1979; 20 Dec 2016 at 10:27 AM.

  2. #22
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: cPanel with Zen Cart Log Help

    Have you tried discussing the problem with your Hoster/Data Center? They are in the best position to help you with this.

  3. #23
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: cPanel with Zen Cart Log Help

    Rob,

    Because my hosting plan not include any support, it is why I am ask there

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

    Default Re: my cPanel site won't record log files

    Hi all,

    After long time research of this ....

    I final find a Official Document on cPanel Web Site ...
    But I am don't know what I can do, for example, override it value

    Yes, my VPS and me setting the PHP run by PHP-FPM

    so

    https://documentation.cpanel.net/dis...ues+of+PHP-FPM

    It have some gobal value that match before I post there such as disable value

    and I am lock on one value
    php_admin_value_error_log

    On cPanel PHP-FPM document list above it have match my log path

    [% homedir %]/logs/[% scrubbed_domain %].php.error.log

    Note:

    The system normalizes the dot character (.) to an underscore character (_) for the domain. For example, the /home/example/logs/example.net.php.error.log file will become the /home/example/logs/example_net.php.error.log file, where example represents the username and example_net represents the domain name.

    Like before what I said, my log on /home/user/logs/abc_com.php.error.log
    not on
    /home/user/public_html/store/log
    that the Zen Cart installed

    So ... do zen cart can using PHP force override above value?

    Thank you.

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

    Default Re: my cPanel site won't record log files

    php-fpm.conf on
    /opt/cpanel/ea-php55/root/etc/
    have value
    include=/opt/cpanel/ea-php55/root/etc/php-fpm.d/*.conf



    on
    /opt/cpanel/ea-php55/root/etc/php-fpm.d/
    have file
    abc.com.conf



    less abc.com.conf

    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; cPanel FPM Configuration ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    ; NOTICE This file is generated, please use our WHM User Interface
    ; to set these value

    [abc_com]
    catch_workers_output = yes
    chdir = /home/abc
    group = abc
    listen = /opt/cpanel/ea-php55/root/usr/var/run/php-fpm/fgggg.sock
    listen.group = nobody
    listen.mode = 0660
    listen.owner = abc
    php_admin_flag[allow_url_fopen] = on
    php_admin_flag[log_errors] = on
    php_admin_value[disable_functions] = exec,passthru,shell_exec,system
    php_admin_value[doc_root] = "/home/abc/public_html"
    php_admin_value[error_log] = /home/abc/logs/abc_com.php.error.log
    php_admin_value[error_reporting] = E_ALL & ~E_NOTICE
    php_admin_value[short_open_tag] = on
    ping.path = /ping
    pm = ondemand
    pm.max_children = 5
    pm.max_requests = 20
    pm.max_spare_servers = 5
    pm.min_spare_servers = 1
    pm.process_idle_timeout = 10
    pm.start_servers = 0
    pm.status_path /status
    security.limit_extensions = .phtml .php .php3 .php4 .php5 .php6 .php7
    user = abc

  6. #26
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: my cPanel site won't record log files

    I think you are over complicating things. From what you've provided so far there is nothing wrong with your server setup or files.

    /home/user/logs/abc_com.php.error.log
    ^ this is the PHP error log for your Hosting account and is normal and will show any & all PHP errors, not just Zen Cart ones

    I think your Zen Cart was installed incorrectly as there are other problems you've mentioned as well.

    If you are just in the process of setting up a new Zen Cart, how did you install it?

 

 
Page 3 of 3 FirstFirst 123

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