Post by eejay89 » Sun Jan 08, 2017 5:41 pm

I have a fresh installed opencart directly on my subdomain

path:
/public_html/hosted_sites/store (Opencart folder)
pointed to:
http://store.gamersgarage.net/ (subdomain)

The store front works, but I cannot login at the admin page even if I type the correct credentials.

It also does not display errors.

Please help me :(

#########################################################
.htaccess #################################################
#########################################################



Options +FollowSymlinks


Options -Indexes

<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
Require all denied
</FilesMatch>

RewriteEngine On

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L]
RewriteRule ^system/download/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]



#########################################################
.config.php (admin)#########################################
#########################################################


<?php
// HTTP
define('HTTP_SERVER', 'http://store.gamersgarage.net/admin/');
define('HTTP_CATALOG', 'http://store.gamersgarage.net/');

// HTTPS
define('HTTPS_SERVER', 'http://store.gamersgarage.net/admin/');
define('HTTPS_CATALOG', 'http://store.gamersgarage.net/');

// DIR
define('DIR_APPLICATION', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/admin/');
define('DIR_SYSTEM', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/');
define('DIR_IMAGE', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/image/');
define('DIR_LANGUAGE', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/admin/language/');
define('DIR_TEMPLATE', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/admin/view/template/');
define('DIR_CONFIG', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/config/');
define('DIR_CACHE', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/storage/cache/');
define('DIR_DOWNLOAD', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/storage/download/');
define('DIR_LOGS', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/storage/logs/');
define('DIR_MODIFICATION', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/storage/modification/');
define('DIR_UPLOAD', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/storage/upload/');
define('DIR_CATALOG', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/catalog/');

#########################################################
.config.php ################################################
#########################################################


<?php
// HTTP
define('HTTP_SERVER', 'http://store.gamersgarage.net/');

// HTTPS
define('HTTPS_SERVER', 'http://store.gamersgarage.net/');

// DIR
define('DIR_APPLICATION', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/catalog/');
define('DIR_SYSTEM', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/');
define('DIR_IMAGE', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/image/');
define('DIR_LANGUAGE', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/catalog/language/');
define('DIR_TEMPLATE', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/catalog/view/theme/');
define('DIR_CONFIG', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/config/');
define('DIR_CACHE', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/storage/cache/');
define('DIR_DOWNLOAD', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/storage/download/');
define('DIR_LOGS', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/storage/logs/');
define('DIR_MODIFICATION', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/storage/modification/');
define('DIR_UPLOAD', '/hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/storage/upload/');

==============================================================
i checked the php error logs and its throwing the following error
==============================================================


20170108T044614: store.gamersgarage.net/admin/index.php
PHP Warning: SessionHandler::read(): open(/var/php_sessions/sess_500ca72e5af3c5f88c4fbec52a21beb9, O_RDWR) failed: No such file or directory (2) in /hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/library/session/native.php on line 17

20170108T044651: store.gamersgarage.net/admin/index.php
PHP Warning: SessionHandler::read(): open(/var/php_sessions/sess_500ca72e5af3c5f88c4fbec52a21beb9, O_RDWR) failed: No such file or directory (2) in /hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/library/session/native.php on line 17

20170108T044708: store.gamersgarage.net/admin/index.php
PHP Warning: SessionHandler::read(): open(/var/php_sessions/sess_500ca72e5af3c5f88c4fbec52a21beb9, O_RDWR) failed: No such file or directory (2) in /hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/library/session/native.php on line 17

20170108T044709: store.gamersgarage.net/admin/index.php
PHP Warning: SessionHandler::read(): open(/var/php_sessions/sess_500ca72e5af3c5f88c4fbec52a21beb9, O_RDWR) failed: No such file or directory (2) in /hermes/bosnaweb04a/b1591/dom.eejayme/public_html/hosted_sites/ggstore/system/library/session/native.php on line 17

Newbie

Posts

Joined
Wed Feb 12, 2014 5:18 pm

Post by venturion » Thu Jan 12, 2017 8:04 pm

did you try to change RewriteBase / to point to your subdomain folder?

Newbie

Posts

Joined
Thu Jan 12, 2017 7:57 pm
Who is online

Users browsing this forum: No registered users and 47 guests