Post by tarikvps256 » Sat Feb 10, 2018 1:11 am

hello , this morning i had this message when i go to '' Home-Customers'' than when i click on edit i get this message

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>
<meta charset="UTF-8" />
<title>Permission Denied!</title>
<base href="http://mysite.com/admin/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
<script type="text/javascript" src="view/javascript/jquery/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="view/javascript/bootstrap/js/bootstrap.min.js"></script>
<link href="view/javascript/font-awesome/css/font-awesome.min.css" type="text/css" rel="stylesheet" />
<script src="view/javascript/jquery/datetimepicker/moment/moment.min.js" type="text/javascript"></script>
<script src="view/javascript/jquery/datetimepicker/moment/moment-with-locales.min.js" type="text/javascript"></script>
<script src="view/javascript/jquery/datetimepicker/bootstrap-datetimepicker.min.js" type="text/javascript"></script>
<link href="view/javascript/jquery/datetimepicker/bootstrap-datetimepicker.min.css" type="text/css" rel="stylesheet" media="screen" />
<link href="view/stylesheet/bootstrap.css" rel="stylesheet" media="screen" />
<link type="text/css" href="view/stylesheet/stylesheet.css" rel="stylesheet" media="screen" />
<script src="view/javascript/common.js" type="text/javascript"></script>
</head>
<body>
<div id="container">
<header id="header" class="navbar navbar-static-top">
  <div class="container-fluid">


    <div id="header-logo" class="navbar-header"><a href="http://mysite.com/admin/index.php?route=common/dashboard&amp;user_token=Vac1go7paqumt4NGwdeCoPIto50HFSaz" class="navbar-brand"><img src="view/image/logo.png" alt="OpenCart" title="OpenCart" /></a></div>
    <a href="#" id="button-menu" class="hidden-md hidden-lg"><span class="fa fa-bars"></span></a>



    <ul class="nav navbar-nav navbar-right">
      <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown"><img src="http://mysite.com/image/cache/profile-45x45.png" alt="mohamed seller" title="seller" id="user-profile" class="img-circle" />mohamed seller <i class="fa fa-caret-down fa-fw"></i></a>
        <ul class="dropdown-menu dropdown-menu-right">
          <li><a href="http://mysite.com/admin/index.php?route=common/profile&amp;user_token=Vac1go7paqumt4NGwdeCoPIto50HFSaz"><i class="fa fa-user-circle-o fa-fw"></i> Your Profile</a></li>
          <li role="separator" class="divider"></li>
          <li class="dropdown-header">Stores</li>
                    <li><a href="http://mysite.com/" target="_blank">demoshop</a></li>
                    <li role="separator" class="divider"></li>
          <li class="dropdown-header">Help</li>
          <li><a href="http://www.opencart.com" target="_blank"><i class="fa fa-opencart fa-fw"></i> OpenCart Homepage</a></li>
          <li><a href="http://opencartarab.com/docs" target="_blank"><i class="fa fa-file-text-o fa-fw"></i> Documentation</a></li>
        <li><a href="http://forum.opencartarab.com" target="_blank"><i class="fa fa-comments-o fa-fw"></i> Support Forum</a></li>
        </ul>
      </li>
      <li><a href="http://mysite.com/admin/index.php?route=common/logout&amp;user_token=Vac1go7paqumt4NGwdeCoPIto50HFSaz"><i class="fa fa-sign-out"></i> <span class="hidden-xs hidden-sm hidden-md">Logout</span></a></li>
    </ul>
     </div>
</header>
<nav id="column-left">
  <div id="navigation"><span class="fa fa-bars"></span> Navigation</div>
  <ul id="menu">
            <li id="menu-dashboard"><a href="http://mysite.com/admin/index.php?route=common/dashboard&amp;user_token=Vac1go7paqumt4NGwdeCoPIto50HFSaz"><i class="fa fa-dashboard fw"></i> Dashboard</a>      </li>
            <li id="menu-catalog"><a href="#collapse1" data-toggle="collapse" class="parent collapsed"><i class="fa fa-tags fw"></i> Catalog</a>            <ul id="collapse1" class="collapse">
                <li><a href="http://mysite/admin/index.php?route=catalog/product&amp;user_token=Vac1go7paqumt4NGwdeCoPIto50HFSaz">Products</a>          </li>
                      </ul>
      </li>
            <li id="menu-sale"><a href="#collapse3" data-toggle="collapse" class="parent collapsed"><i class="fa fa-shopping-cart fw"></i> Sales</a>            <ul id="collapse3" class="collapse">
                <li><a href="http://mysite.com/admin/index.php?route=sale/order&amp;user_token=Vac1go7paqumt4NGwdeCoPIto50HFSaz">Orders</a>          </li>
                        <li><a href="#collapse4" data-toggle="collapse" class="parent collapsed">Gift Vouchers</a>                    <ul id="collapse4" class="collapse">
                        <li><a href="http://mysite.com/admin/index.php?route=sale/voucher&amp;user_token=Vac1go7paqumt4NGwdeCoPIto50HFSaz">Gift Vouchers</a>               </li>
                        
                      </ul>
          </li>
                      </ul>
      </li>
            <li id="menu-customer"><a href="#collapse7" data-toggle="collapse" class="parent collapsed"><i class="fa fa-user fw"></i> Customers</a>            <ul id="collapse7" class="collapse">
                <li><a href="http://mysite.com/admin/index.php?route=customer/customer&amp;user_token=Vac1go7paqumt4NGwdeCoPIto50HFSaz">Customers</a>          </li>
                      </ul>
      </li>
            <li id="menu-marketing"><a href="#collapse9" data-toggle="collapse" class="parent collapsed"><i class="fa fa-share-alt fw"></i> Marketing</a>            <ul id="collapse9" class="collapse">
                <li><a href="http://mysite.com/admin/index.php?route=marketing/coupon&amp;user_token=Vac1go7paqumt4NGwdeCoPIto50HFSaz">Coupons</a>          </li>
                      </ul>
      </li>
            <li id="menu-report"><a href="#collapse11" data-toggle="collapse" class="parent collapsed"><i class="fa fa-bar-chart-o fw"></i> Reports</a>            <ul id="collapse11" class="collapse">
                <li><a href="http://mysite.com/admin/index.php?route=report/report&amp;user_token=Vac1go7paqumt4NGwdeCoPIto50HFSaz">Reports</a>          </li>
                        <li><a href="http://mysite.com/admin/index.php?route=report/online&amp;user_token=Vac1go7paqumt4NGwdeCoPIto50HFSaz">Who's Online</a>          </li>
                        <li><a href="http://mysite.com/admin/index.php?route=report/statistics&amp;user_token=Vac1go7paqumt4NGwdeCoPIto50HFSaz">Statistics</a>          </li>
                      </ul>
      </li>
          </ul>
  <div id="stats">
    <ul>
      <li>
        <div>Orders Completed <span class="pull-right">0%</span></div>
        <div class="progress">
          <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%"> <span class="sr-only">0%</span></div>
        </div>
      </li>
      <li>
        <div>Orders Processing <span class="pull-right">0%</span></div>
        <div class="progress">
          <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%"> <span class="sr-only">0%</span></div>
        </div>
      </li>
      <li>
        <div>Other Statuses <span class="pull-right">0%</span></div>
        <div class="progress">
          <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%"> <span class="sr-only">0%</span></div>
        </div>
      </li>
    </ul>
  </div>
</nav>

<div id="content">
<div class="page-header">
  <div class="container-fluid">
    <h1>Permission Denied!</h1>
    <ul class="breadcrumb">
            <li><a href="http://mysite.com/admin/index.php?route=common/dashboard&amp;user_token=Vac1go7paqumt4NGwdeCoPIto50HFSaz">Home</a></li>
            <li><a href="http://mysite.com/admin/index.php?route=localisation/country/country&amp;user_token=Vac1go7paqumt4NGwdeCoPIto50HFSaz">Permission Denied!</a></li>
          </ul>
  </div>
</div>
<div class="container-fluid">
  <div class="panel panel-default">
    <div class="panel-heading">
      <h3 class="panel-title"><i class="fa fa-exclamation-triangle"></i> Permission Denied!</h3>
    </div>
    <div class="panel-body">
      <p class="text-center">You do not have permission to access this page, please refer to your system administrator.</p>
    </div>
  </div>
</div>
<footer id="footer"><a href="http://www.opencart.com">OpenCart</a> &copy; 2009-2018 All Rights Reserved.<br />Version 3.0.2.0</footer></div>
</body></html>[/cod
help me plz
note: i changed my domain with mysite.com in the code ...

Newbie

Posts

Joined
Sat Jan 13, 2018 1:42 am

Post by akila1989 » Tue Feb 13, 2018 2:06 am

Seems to be a permission issue.Did you try adding permissions to your controller. Try this go to System->Users->User Groups and Edit Administrator.
In Access Permission and Modify Permission click select all. Click Save.

Newbie

Posts

Joined
Mon Feb 12, 2018 12:40 pm
Who is online

Users browsing this forum: al404 and 8 guests