Jump to content

T1800

Member
  • Posts

    9
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by T1800

  1. Hi,

    I've done a new install on a clean LAMP server, but have a couple of problems with the store once installation is complete. 

    The main store window is blank; I just see a blank white screen. The back end work fine - on some browsers. 

    I edited debug.class.php to display error messages by setting ini_set('display_errors', true) but no text is displayed. I can get into the back end on my Firefox browser, but IE and Chrome give me a strange error... 

    Security Alert: Possible Cross-Site Request Forgery (CSRF) or browser back button used.

    When I do log on, everything in the back end is fine. 

    Can anybody help please?

    •  

      Linux Version: 4.12.8
      PHP Version : 7.1.8
      Apache Version : 2.4.27
      CubeCart Version : 6.1.8
      MySql Version: 5.0.12

  2. Hi, 

     

    I've sussed this one out now. If it helps Arch users out there, here is my solution. In my case, the directory containing the store was based in the user's home public_html directory. So the .htaccess needed modifying accordingly...

    <IfModule mod_rewrite.c>
      RewriteEngine On
      RewriteBase /public_html/
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_URI} !=/favicon.ico
      RewriteRule ^(.*).html?$ /index.php?seo_path=$1 [L,QSA]
    </IfModule>
     

    By default, the Apache2 installation on Arch Linux will not have the mod_rewrite module loaded so it'll need un-commenting in the httpd.conf file. Then give the service a restart...

    sudo systemctl restart httpd 
    

    ..and you are good to go. 

  3. Hi, 

     

    Many thanks for such a quick reply. 

     

    I checked for this file and found it. It looks exactly as you listed. Just to be sure I ran a chmod on the file to 755 and restarted the Apache service.

     

    Is there anything else I should check?

  4. Hi Everybody, 

     

    I've just installed CC 6b4 and run through the admin pages. The home page looks fine and I can use the admin pages to change the store settings, but all the links are dead from the home page. Whatever I click on, I get the 404 - Object not found. 

     

    Has anyone seen this before or know where I am going wrong?

×
×
  • Create New...