1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Errors on Upgrade to 7.2

Discussion in 'PHP' started by johnywhy, Feb 11, 2020.

  1. #1
    for bayviewboom.org
    website now says:
    error log says:
    
    [Tue Feb 11 12:04:19.696058 2020] [core:alert] [pid 10136] [client 167.220.25.254:25275] /home/booma/bayviewboom.org/getsimple/.htaccess: Wrapper /usr/local/cpanel/cgi-sys/php5 cannot be accessed: (2)No such file or directory
    [Tue Feb 11 12:04:19.697016 2020] [core:alert] [pid 10136] [client 167.220.25.254:25275] /home/booma/bayviewboom.org/getsimple/.htaccess: Wrapper /usr/local/cpanel/cgi-sys/php5 cannot be accessed: (2)No such file or directory
    [Tue Feb 11 12:04:21.193264 2020] [core:alert] [pid 23077] [client 167.220.25.254:51587] /home/booma/bayviewboom.org/getsimple/.htaccess: Wrapper /usr/local/cpanel/cgi-sys/php5 cannot be accessed: (2)No such file or directory, referer: https://bayviewboom.org/
    [Tue Feb 11 12:04:21.194293 2020] [core:alert] [pid 23077] [client 167.220.25.254:51587] /home/booma/bayviewboom.org/getsimple/.htaccess: Wrapper /usr/local/cpanel/cgi-sys/php5 cannot be accessed: (2)No such file or directory, referer: https://bayviewboom.org/
    [Tue Feb 11 12:04:37.990220 2020] [core:alert] [pid 23072] [client 167.220.25.254:10760] /home/booma/bayviewboom.org/getsimple/.htaccess: Wrapper /usr/local/cpanel/cgi-sys/php6 cannot be accessed: (2)No such file or directory
    [Tue Feb 11 12:04:37.991288 2020] [core:alert] [pid 23072] [client 167.220.25.254:10760] /home/booma/bayviewboom.org/getsimple/.htaccess: Wrapper /usr/local/cpanel/cgi-sys/php6 cannot be accessed: (2)No such file or directory
    [Tue Feb 11 12:04:42.268812 2020] [core:alert] [pid 18439] [client 167.220.25.254:2289] /home/booma/bayviewboom.org/getsimple/.htaccess: Wrapper /usr/local/cpanel/cgi-sys/php6 cannot be accessed: (2)No such file or directory, referer: https://bayviewboom.org/
    [Tue Feb 11 12:04:42.269909 2020] [core:alert] [pid 18439] [client 167.220.25.254:2289] /home/booma/bayviewboom.org/getsimple/.htaccess: Wrapper /usr/local/cpanel/cgi-sys/php6 cannot be accessed: (2)No such file or directory, referer: https://bayviewboom.org/
    
    Code (markup):
    My webhost doesn't support cpanel.
    Also, valid path for the site's current PHP version on the server would be /usr/local/php7.2

    here's my .htaccess:
    #
    # GetSimple CMS htaccess ROOT file
    # apache 2.4
    #
    
    # The following require certain allow overrides, if getting 500 error comment them out one by one
    # can be resolved in apache httpd.conf to ensure security alternatives
    
    # override charset
    AddDefaultCharset UTF-8
    
    # prevent directory listings
    Options -Indexes
    
    # Follow symbolink links, This is required for rewrites on some hosts
    Options +FollowSymLinks
    
    # Set the default handler.
    DirectoryIndex index.php
    
    # blocks direct access to the XML files - they hold all the data!
    <Files ~ "\.xml$">
        <IfModule !mod_authz_core.c>
            Deny from all
        </IfModule>
        <IfModule mod_access_compat.c>
            Deny from all
        </IfModule>
        <IfModule mod_authz_core.c>
            <IfModule !mod_access_compat.c>
                Require all denied
            </IfModule>
        </IfModule> 
    </Files>
    
    <Files sitemap.xml>
        <IfModule !mod_authz_core.c>
            Allow from all
        </IfModule>
        <IfModule mod_access_compat.c>
            Allow from all
        </IfModule>
        <IfModule mod_authz_core.c>
            <IfModule !mod_access_compat.c>
                Require all granted
            </IfModule>
        </IfModule> 
    </Files>
    
    # handle rewrites for fancy urls
    <IfModule mod_rewrite.c>
    RewriteEngine on
    
        # FORCE HTTPS SECURE
        RewriteCond %{HTTPS} !=on
        RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    
        # Usually RewriteBase is just '/', but
        # replace it with your subdirectory path
        RewriteBase /
    
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
    </IfModule>
    
    
    Code (markup):

     
    Last edited: Feb 11, 2020
    johnywhy, Feb 11, 2020 IP
  2. johnywhy

    johnywhy Active Member

    Messages:
    10
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    88
    #2
    v 3.3.15
    Resolved by doing fresh install to same dir. Then copied old Data directory to new installation.
     
    johnywhy, Feb 12, 2020 IP
    JEET likes this.