Post by ynsn626 » Thu Nov 07, 2019 4:44 pm

Hello guys, after fresh install opencart version 2.3.0.2 on my subdomain.
I got error like this below, and after that every time i click on any url link's on menu section i always get logged out.
I googled and they said changing session.gc_maxlifetime fix the problem, but i have done that but my problem still persist.

Thanks in advanced.

the popup error :

Code: Select all

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
...
</head>
<body>
<div id="container">
<header id="header" class="navbar navbar-static-top">
  <div class="navbar-header">
        <a href="..." class="navbar-brand"><img src="view/image/logo.png" alt="OpenCart" title="OpenCart" /></a></div>
  </header>
<div id="content">
  <div class="container-fluid"><br />
    <br />
    <div class="row">
      <div class="col-sm-offset-4 col-sm-4">
        <div class="panel panel-default">
          <div class="panel-heading">
            <h1 class="panel-title"><i class="fa fa-lock"></i> Please enter your login details.</h1>
          </div>
          <div class="panel-body">
                                    <form action="...." method="post" enctype="multipart/form-data">
              <div class="form-group">
                <label for="input-username">Username</label>
                <div class="input-group"><span class="input-group-addon"><i class="fa fa-user"></i></span>
                  <input type="text" name="username" value="" placeholder="Username" id="input-username" class="form-control" />
                </div>
              </div>
              <div class="form-group">
                <label for="input-password">Password</label>
                <div class="input-group"><span class="input-group-addon"><i class="fa fa-lock"></i></span>
                  <input type="password" name="password" value="" placeholder="Password" id="input-password" class="form-control" />
                </div>
                                <span class="help-block"><a href="...">Forgotten Password</a></span>
                              </div>
              <div class="text-right">
                <button type="submit" class="btn btn-primary"><i class="fa fa-key"></i> Login</button>
              </div>
                            <input type="hidden" name="redirect" value="...." />
                          </form>
          </div>
        </div>
      </div>
    </div>
....

Newbie

Posts

Joined
Mon Sep 09, 2019 10:50 pm
Who is online

Users browsing this forum: No registered users and 8 guests