indoeshop Posted February 11, 2017 Share Posted February 11, 2017 I installed Cubecart, Admin part is working well, I just added Category and product both are updated in admin part but in store front nothing is shown only blank screen visible sending screen shots of both, Any body please help Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 11, 2017 Share Posted February 11, 2017 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. Quote Link to comment Share on other sites More sharing options...
indoeshop Posted February 11, 2017 Author Share Posted February 11, 2017 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 Quote Link to comment Share on other sites More sharing options...
indoeshop Posted February 11, 2017 Author Share Posted February 11, 2017 16 minutes ago, indoeshop said: Thanks for quick response. There is nothing in error log. Pls see snapshot Thanks on checking PHP version, I found it was using old version 5.6 I updated it and the problem is resolved Thanks again Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 11, 2017 Share Posted February 11, 2017 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. Quote Link to comment Share on other sites More sharing options...
djpilot Posted May 9, 2017 Share Posted May 9, 2017 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? Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 9, 2017 Share Posted May 9, 2017 No. The file ini-custome.inc.php is used by CubeCart if it is present. A blank page could be a 500 Internal Server Error that trips caused by something in the .htaccess file or a sec_mod rule. Quote Link to comment Share on other sites More sharing options...
djpilot Posted May 9, 2017 Share Posted May 9, 2017 (edited) 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 May 9, 2017 by djpilot Double pasted question Quote Link to comment Share on other sites More sharing options...
-=Mike=- Posted June 8, 2017 Share Posted June 8, 2017 (edited) 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 June 8, 2017 by -=Mike=- Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted June 8, 2017 Share Posted June 8, 2017 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. Quote Link to comment Share on other sites More sharing options...
-=Mike=- Posted June 8, 2017 Share Posted June 8, 2017 (edited) 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 June 8, 2017 by -=Mike=- Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted June 8, 2017 Share Posted June 8, 2017 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. Quote Link to comment Share on other sites More sharing options...
-=Mike=- Posted June 8, 2017 Share Posted June 8, 2017 guess ill put an backup of the old cubecart 6.1.1 back then for now. Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 8, 2017 Share Posted June 8, 2017 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) { Quote Link to comment Share on other sites More sharing options...
-=Mike=- Posted June 8, 2017 Share Posted June 8, 2017 (edited) I found out it didnt overwrite the old files (6.1.1), installed second time and now everything is working. Thx regards, Mike Edited June 8, 2017 by -=Mike=- Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.