domainwaves Posted September 28, 2023 Share Posted September 28, 2023 Subdomain websites under the same server can be accessed, but CubeCart cannot access the website http://www.animeboygirl.com. The database connection is normal.https://animeboygirl.com/admin_Add6fc.php Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 28, 2023 Share Posted September 28, 2023 Is the site hosted? If so, have the hosting company provided a control panel for you to manage it? Be sure that 'www' is a sub-domain that has been setup -- alongside the other sub-domains. Even though 'www' is very common and usually included in any automatic setup script, it is still considered a sub-domain and must be treated as such. The SSL Security Certificate, fortunately, will always be coded to know about the domain name, and as an alternate, the 'www' sub-domain. There will be more certificates required for other sub-domains, or a 'wild-card' certificate to recognize any sub-domain. Quote Link to comment Share on other sites More sharing options...
domainwaves Posted September 28, 2023 Author Share Posted September 28, 2023 There is hosting, and there is a control panel. I can connect to the server, but I cannot connect to CubeCart. The database can be connected, and the .htaccess file has been checked. The website cannot be displayed and I cannot log in to the website management. This situation suddenly occurred. Quote Link to comment Share on other sites More sharing options...
domainwaves Posted September 28, 2023 Author Share Posted September 28, 2023 php_value display_errors On php_value mbstring.http_input auto php_value date.timezone America/New_York ##### START CubeCart .htaccess ##### ### GZIP Compression ### <ifmodule mod_deflate.c> AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript </ifmodule> ### Files Expiration ### <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html "access 0 seconds" ExpiresDefault "access 7 days" </IfModule> ### 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 / ##### 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 ^(.*)?$ index.php?seo_path=$1 [L,QSA] </IfModule> ### Default store 404 page ### ErrorDocument 404 /index.php ## Override default 404 error document for missing page resources ## <FilesMatch "\.(gif|jpe?g|png|ico|css|js|svg|webp)$"> ErrorDocument 404 "<html></html> </FilesMatch> ##### END CubeCart .htaccess ##### Is there a problem with htaccess? Is there a problem with htaccess? Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 28, 2023 Share Posted September 28, 2023 I do not find any problem with the .htaccess file. You said, "There is a control panel. I cannot log in to the website management." Are you saying you cannot log in to the control panel provided by the hosting company? If so, you should try to contact your hosting provider to learn why not. Quote Link to comment Share on other sites More sharing options...
domainwaves Posted September 28, 2023 Author Share Posted September 28, 2023 I cannot log in to the CubeCart administration page. Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 28, 2023 Share Posted September 28, 2023 Can you log in to the control panel provided by the hosting company? Quote Link to comment Share on other sites More sharing options...
domainwaves Posted September 28, 2023 Author Share Posted September 28, 2023 (edited) The hosting provider management interface can be logged in. https://animeboygirl.com/phpinfo.phpI wrote a PHP file on the server side, which can be read normally, but cannot read website management.https://animeboygirl.com/admin_Add6fc.php I am using machine translation, so the expression may not be very clear. Edited September 28, 2023 by domainwaves Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 28, 2023 Share Posted September 28, 2023 Please do this: https://forums.cubecart.com/topic/51550-how-to-create-the-error-log/ Also, in the hosting provider management interface (control panel), find and read any error logs. Quote Link to comment Share on other sites More sharing options...
domainwaves Posted September 29, 2023 Author Share Posted September 29, 2023 The webpage is back to normal, I didn't do anything. 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.