Jump to content

[Resolved] Installation issues


indoeshop

Recommended Posts

17 minutes ago, bsmither said:

Welcome indoeshop! Glad to see you made it to the forums.

There are a few likely reasons: all based on the probability that some aspect of PHP that is not compatible with some functions used by code that creates the storefront pages.

We ask that you create the error_log.

Thanks for quick response. There is nothing in error log. Pls see snapshot

error.jpg

Link to comment
Share on other sites

FYI: the post I referenced asks that you create a new file, place it in CubeCart's main folder, request a page from your store, then examine the contents of a new file created in CubeCart's main folder named error_log. This does not involve the admin's System Error Log.

 

Link to comment
Share on other sites

  • 2 months later...

Hi,

I have just downloaded, and installed on my own dedicated server, and have the exact same problem. Admin access is good, main site just gives a blank page.

This is a full dedicated server running CentOS6 and PHP5.6 located in a major data center in my country. I have created the file 'ini-custom.inc.php' in the folder where I uploaded the cube cart files and pasted the code suggested. I then try to access the storefront and still get a blank page. The file that should be created 'error_log' does not appear. Do I need to directly access the newly created php file to make this error log work?

 

Link to comment
Share on other sites

It seems when I try to save any product edits, I also get the blank page.
The .htaccess file I am using I found here as initially I could not access the admin interface either. Here is the code I used.

##### START CubeCart .htaccess #####

### File Security ###
<FilesMatch "\.(htaccess)$">
  Order Allow,Deny
  Deny from all
</FilesMatch>

### Apache directory listing rules ###
DirectoryIndex index.php index.htm index.html
IndexIgnore *

<ifModule mod_headers.c>
  Header always append X-Frame-Options SAMEORIGIN
</ifModule>

### Rewrite rules for SEO functionality ###
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /shshop/ 
  
  ##### START v4 SEO URL BACKWARD COMPATIBILITY #####
  RewriteCond %{QUERY_STRING} (.*)$
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule cat_([0-9]+)(\.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC]

  RewriteCond %{QUERY_STRING} (.*)$
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule prod_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC]

  RewriteCond %{QUERY_STRING} (.*)$
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule info_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC]

  RewriteCond %{QUERY_STRING} (.*)$
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule tell_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC]

  RewriteCond %{QUERY_STRING} (.*)$
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule _saleItems(\.[a-z]+)?(\?.*)?$ index.php?_a=saleitems&%1 [NC,L]
  ##### END v4 SEO URL BACKWARD COMPATIBILITY #####

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

### Default store 404 page ###
ErrorDocument 404 /shshop/index.php

## Override default 404 error document for missing page resources ##
<FilesMatch "\.(gif|jpe?g|png|ico|css|js|svg)$">
  ErrorDocument 404 "<html></html>
</FilesMatch>
##### END CubeCart .htaccess #####

I was using firefox, but just tried using chrome, and now also Safari. Chrome gives me a 500 HTTP ERROR, and Safari just gives me a blank page.

I have checked file/folder permissions (the installer showed everything green) so I am lost. Any further help appreciated.

Edited by djpilot
Double pasted question
Link to comment
Share on other sites

  • 5 weeks later...

Got the same problem here blanc homepage, admin is working ok.

Thats after updating from 6.1.1 to 6.1.8, my hosting is using php v5.4.45

Have to wait on a backup after that ill create the error.log

 

 

error_log

Edited by -=Mike=-
Link to comment
Share on other sites

Your error log is not showing.

What skin are you using?

It may be due to the v5.4.45 php version you are running. From what I can tell from past remarks of @Noodleman, this is an old version. You may have a plugin that is causing this. Temporarily disable your plugins and see if that gets you into the storefront. Also turn off Recapcha temporarily.

Be sure to clear all cache, including browser, before trying to access the front.

Link to comment
Share on other sites

shows ok here.

08-Jun-2017 16:55:44 Europe/Amsterdam] PHP Fatal error:  Call to undefined method GUI::display() in /home/XXXXXXX/domains/XXXXXX.com/public_html/index.php on line 22
[08-Jun-2017 16:55:51 Europe/Amsterdam] PHP Warning:  array_keys() expects parameter 1 to be array, boolean given in /home/XXXXXXX/domains/XXXXXX.com/public_html/admin_XXXXXX/sources/dashboard.index.inc.php on line 311

1st error in file1 is as i understand it correct because of the ini-custome.inc.php  file?

The 2nd error is not in the file dashboard.index.inc.php thats the same in cubecart v6.1.1 and there the frontpage is working.

kurouto skin

no plugins and my host is using that php version i cant change that.

cleared the cache didnt do anything

browser cache i never use always zero :)

recaptcha off makes no difference.

Edited by -=Mike=-
Link to comment
Share on other sites

Error log working for me now, too.

The second error message is a known issue that causes no harm.

Hopefully someone will be along who knows what the PHP Fatal Error means. As common as Kurouto still is I can't imagine it has anything to do with that. But there certainly are changes Kurouto can't easily handle - like invisible captcha.

Link to comment
Share on other sites

The error says that the "method" named 'display' effectively does not exist. So, using a programmer's text editor, please view the file /classes/gui.class.php and near line 325 (for CC618), make sure there is this statement:

public function display($file) {

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...