• how do i line up the add to basket and the price in the product view

    • This topic was modified 8 years, 2 months ago by asghar765.

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I think this is pretty close

    p.price {
        padding-left: 2em;
    }

    To add CSS: use the “Additional CSS” option in the customizer. https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress

    Learn to use the Chrome Developer Tools to help you see and test changes to your CSS.

    https://cloudup.com/iVo1CV4v9EK

    Thread Starter asghar765

    (@asghar765)

    irestarted the server now it wont load the page i think its related to ssl can you help me this is my site http://www.imonkeys.co.uk

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Errors like this are logged. Check the error log on your server. If you can’t find the log, please contact your host.

    Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there. https://codex.wordpress.org/Debugging_in_WordPress

    You can also try this: Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you cannot access wp-admin, there are other ways to deactivate plugins.

    Thread Starter asghar765

    (@asghar765)

    [Fri Jan 26 06:25:12.799659 2018] [auth_digest:notice] [pid 1633:tid 140398952327040] AH01757: generating secret for digest authentication ...
    [Fri Jan 26 06:25:12.815041 2018] [mpm_event:notice] [pid 1633:tid 140398952327040] AH00489: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
    [Fri Jan 26 06:25:12.815273 2018] [core:notice] [pid 1633:tid 140398952327040] AH00094: Command line: '/usr/sbin/apache2'
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    [Sat Jan 27 00:06:43.200183 2018] [mpm_event:notice] [pid 1633:tid 140398952327040] AH00491: caught SIGTERM, shutting down
    [Sat Jan 27 00:07:28.954710 2018] [suexec:notice] [pid 1592:tid 139882121324416] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sat Jan 27 00:07:29.062521 2018] [auth_digest:notice] [pid 1632:tid 139882121324416] AH01757: generating secret for digest authentication ...
    [Sat Jan 27 00:07:29.133525 2018] [mpm_event:notice] [pid 1632:tid 139882121324416] AH00489: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
    [Sat Jan 27 00:07:29.133562 2018] [core:notice] [pid 1632:tid 139882121324416] AH00094: Command line: '/usr/sbin/apache2'
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    [Sat Jan 27 00:09:25.473426 2018] [mpm_event:notice] [pid 1632:tid 139882121324416] AH00491: caught SIGTERM, shutting down
    [Sat Jan 27 00:09:53.303854 2018] [suexec:notice] [pid 1601:tid 139776816539520] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sat Jan 27 00:09:53.422127 2018] [auth_digest:notice] [pid 1634:tid 139776816539520] AH01757: generating secret for digest authentication ...
    [Sat Jan 27 00:09:53.464831 2018] [mpm_event:notice] [pid 1634:tid 139776816539520] AH00489: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
    [Sat Jan 27 00:09:53.464873 2018] [core:notice] [pid 1634:tid 139776816539520] AH00094: Command line: '/usr/sbin/apache2'
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    [Sat Jan 27 00:40:26.054772 2018] [mpm_event:notice] [pid 1634:tid 139776816539520] AH00491: caught SIGTERM, shutting down
    [Sat Jan 27 00:40:55.875269 2018] [suexec:notice] [pid 1603:tid 139784511309696] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sat Jan 27 00:40:55.997168 2018] [auth_digest:notice] [pid 1638:tid 139784511309696] AH01757: generating secret for digest authentication ...
    [Sat Jan 27 00:40:56.035135 2018] [mpm_event:notice] [pid 1638:tid 139784511309696] AH00489: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
    [Sat Jan 27 00:40:56.035192 2018] [core:notice] [pid 1638:tid 139784511309696] AH00094: Command line: '/usr/sbin/apache2'
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0

    this is my log i ran the following command to find my site setup

    sudo apache2ctl -S

    • This reply was modified 8 years, 2 months ago by asghar765.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What’s in the site’s error_log?

    Thread Starter asghar765

    (@asghar765)

    i have added the following to wp_config however there is no log being generated i have tried to access the site before looking in wp_content

    define('WP_DEBUG', true);
    define( 'WP_DEBUG_LOG', true );
    define ('WP_DEBUG_LOG', true);

    can you suggest anything else i can try

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I assume you’re on your own VPS or a dedicated host?

    What’s in /var/log/httpd/error_log ?

    Thread Starter asghar765

    (@asghar765)

    yes vps runing ubuntu 16.04
    there is no folder /var/log/httpd

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    where does ubuntu put it’s apache error logs? That’s the place to look. Also, if you’re using php-fpm, look for its logs.

    Thread Starter asghar765

    (@asghar765)

    /var/log/apache2/

    https://snag.gy/nsBVtC.jpg

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What’s IN the error log? Anything relevant?

    Thread Starter asghar765

    (@asghar765)

    error.log

    [Sat Jan 27 06:25:12.570491 2018] [auth_digest:notice] [pid 1646:tid 140302000236416] AH01757: generating secret for digest authentication ...
    [Sat Jan 27 06:25:12.588168 2018] [mpm_event:notice] [pid 1646:tid 140302000236416] AH00489: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
    [Sat Jan 27 06:25:12.588201 2018] [core:notice] [pid 1646:tid 140302000236416] AH00094: Command line: '/usr/sbin/apache2'
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0

    error.log.1

    [Fri Jan 26 06:25:12.799659 2018] [auth_digest:notice] [pid 1633:tid 140398952327040] AH01757: generating secret for digest authentication ...
    [Fri Jan 26 06:25:12.815041 2018] [mpm_event:notice] [pid 1633:tid 140398952327040] AH00489: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
    [Fri Jan 26 06:25:12.815273 2018] [core:notice] [pid 1633:tid 140398952327040] AH00094: Command line: '/usr/sbin/apache2'
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    [Sat Jan 27 00:06:43.200183 2018] [mpm_event:notice] [pid 1633:tid 140398952327040] AH00491: caught SIGTERM, shutting down
    [Sat Jan 27 00:07:28.954710 2018] [suexec:notice] [pid 1592:tid 139882121324416] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sat Jan 27 00:07:29.062521 2018] [auth_digest:notice] [pid 1632:tid 139882121324416] AH01757: generating secret for digest authentication ...
    [Sat Jan 27 00:07:29.133525 2018] [mpm_event:notice] [pid 1632:tid 139882121324416] AH00489: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
    [Sat Jan 27 00:07:29.133562 2018] [core:notice] [pid 1632:tid 139882121324416] AH00094: Command line: '/usr/sbin/apache2'
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    [Sat Jan 27 00:09:25.473426 2018] [mpm_event:notice] [pid 1632:tid 139882121324416] AH00491: caught SIGTERM, shutting down
    [Sat Jan 27 00:09:53.303854 2018] [suexec:notice] [pid 1601:tid 139776816539520] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sat Jan 27 00:09:53.422127 2018] [auth_digest:notice] [pid 1634:tid 139776816539520] AH01757: generating secret for digest authentication ...
    [Sat Jan 27 00:09:53.464831 2018] [mpm_event:notice] [pid 1634:tid 139776816539520] AH00489: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
    [Sat Jan 27 00:09:53.464873 2018] [core:notice] [pid 1634:tid 139776816539520] AH00094: Command line: '/usr/sbin/apache2'
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    [Sat Jan 27 00:40:26.054772 2018] [mpm_event:notice] [pid 1634:tid 139776816539520] AH00491: caught SIGTERM, shutting down
    [Sat Jan 27 00:40:55.875269 2018] [suexec:notice] [pid 1603:tid 139784511309696] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sat Jan 27 00:40:55.997168 2018] [auth_digest:notice] [pid 1638:tid 139784511309696] AH01757: generating secret for digest authentication ...
    [Sat Jan 27 00:40:56.035135 2018] [mpm_event:notice] [pid 1638:tid 139784511309696] AH00489: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
    [Sat Jan 27 00:40:56.035192 2018] [core:notice] [pid 1638:tid 139784511309696] AH00094: Command line: '/usr/sbin/apache2'
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    [Sat Jan 27 00:52:39.457617 2018] [core:warn] [pid 1638:tid 139784511309696] AH00045: child process 1646 still did not exit, sending a SIGTERM
    [Sat Jan 27 00:52:41.461003 2018] [mpm_event:notice] [pid 1638:tid 139784511309696] AH00491: caught SIGTERM, shutting down
    [Sat Jan 27 00:53:10.879534 2018] [suexec:notice] [pid 1597:tid 140230254921600] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sat Jan 27 00:53:10.979148 2018] [auth_digest:notice] [pid 1632:tid 140230254921600] AH01757: generating secret for digest authentication ...
    [Sat Jan 27 00:53:11.061717 2018] [mpm_event:notice] [pid 1632:tid 140230254921600] AH00489: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
    [Sat Jan 27 00:53:11.061780 2018] [core:notice] [pid 1632:tid 140230254921600] AH00094: Command line: '/usr/sbin/apache2'
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    [Sat Jan 27 00:56:44.491654 2018] [mpm_event:notice] [pid 1632:tid 140230254921600] AH00491: caught SIGTERM, shutting down
    [Sat Jan 27 00:57:12.960866 2018] [suexec:notice] [pid 1597:tid 140348523317120] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sat Jan 27 00:57:13.109768 2018] [auth_digest:notice] [pid 1632:tid 140348523317120] AH01757: generating secret for digest authentication ...
    [Sat Jan 27 00:57:13.176655 2018] [mpm_event:notice] [pid 1632:tid 140348523317120] AH00489: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
    [Sat Jan 27 00:57:13.176722 2018] [core:notice] [pid 1632:tid 140348523317120] AH00094: Command line: '/usr/sbin/apache2'
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    [Sat Jan 27 01:06:32.034943 2018] [mpm_event:notice] [pid 1632:tid 140348523317120] AH00491: caught SIGTERM, shutting down
    [Sat Jan 27 01:07:03.686889 2018] [suexec:notice] [pid 1604:tid 140590894286720] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sat Jan 27 01:07:03.788806 2018] [auth_digest:notice] [pid 1639:tid 140590894286720] AH01757: generating secret for digest authentication ...
    [Sat Jan 27 01:07:03.854721 2018] [mpm_event:notice] [pid 1639:tid 140590894286720] AH00489: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
    [Sat Jan 27 01:07:03.854757 2018] [core:notice] [pid 1639:tid 140590894286720] AH00094: Command line: '/usr/sbin/apache2'
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    [Sat Jan 27 01:10:28.734641 2018] [mpm_event:notice] [pid 1639:tid 140590894286720] AH00491: caught SIGTERM, shutting down
    [Sat Jan 27 01:12:22.419146 2018] [suexec:notice] [pid 1609:tid 140302000236416] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sat Jan 27 01:12:22.549786 2018] [auth_digest:notice] [pid 1646:tid 140302000236416] AH01757: generating secret for digest authentication ...
    [Sat Jan 27 01:12:22.595804 2018] [mpm_event:notice] [pid 1646:tid 140302000236416] AH00489: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
    [Sat Jan 27 01:12:22.595846 2018] [core:notice] [pid 1646:tid 140302000236416] AH00094: Command line: '/usr/sbin/apache2'
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    PHP Warning:  Module 'curl' already loaded in Unknown on line 0
    PHP Warning:  Module 'gd' already loaded in Unknown on line 0
    [Sat Jan 27 06:25:11.933062 2018] [mpm_event:notice] [pid 1646:tid 140302000236416] AH00493: SIGUSR1 received.  Doing graceful restart
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I don’t see anything there. This is a server config problem far more than a WordPress problem. I think you need to find an experienced Ubuntu sysadmin to help you configure your apache system.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘wordpress product list alignment’ is closed to new replies.