Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

My admin panel has lost its left column, need it back URGENTLY


ordishc

Recommended Posts

Hello there,

 

I have had an oscommerce shop for 10 years now and have recently swapped hosts, during this transfer I seem to have lost the left_column in my admin panel! This is obviously essential for me to do the admin side of our site!

 

I have checked the files that it exists in but can't seem to see what the problem is, I even swapped back to the files before I did the transfer and this still doesn't work. I need this fixed ASAP so if anyone has any ideas that would be great!

 

The current version I am on is osCommerce Online Merchant v2.3.3.4

 

I can still see the rest of my dashboard, but obviously can't access products, modules, customers etc etc....

 

Thanks for your time :)

 

Regards,

Connor

Link to comment
Share on other sites

View source in your admin and click on the jquery links at the top to see if they are being found

 

Although the complete loss of the left hand column may be a different problem

 

can you see the text links?

 

Regards

Joli

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

Hi Joli,

 

I have done this and I had read this in previous posts, but all my jquery links function and work so I don't think this is the issue which is annoying...

 

There are no text links either... its as if it just doesn't exist...

 

Many thanks,

Connor

Link to comment
Share on other sites

You can also try this  at the top of admin/includes/application_top.php  remember to remove later

 

 // error_reporting(E_ALL & ~E_NOTICE);
error_reporting(E_ALL);
ini_set('display_errors', '1');

 

Regards

Joli

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

Short term to get you working you can enter the urls directly

 

e.g.

 

www.theukwaltons.co.uk/admin/catalog.php - Maintain Parts

 

www.theukwaltons.co.uk/admin/orders.php - Maintain Orders

 

You can run any of the scripts like this, to find the names look in /admin/filenames.php, most are pretty self explanatory.

 

I suspect without lookng at the site this one will be difficult to diagnose.

 

You could try posting the source of the page after removing you admin dir name. at least we an see what is generated and thus maybe identifying where it is going wrong.

 

Anyway, hope above will get you going short term.

 

Cheers

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

As Geoffrey  says going to be hard to debug as it is in your admin

 

You could try installing webmaster tools firebug and open the console / errors  refresh your admin page and see if he says anything.

 

Regards

Joli

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

Geoffrey just realised you are from Norfolk in the UK as am I!

 

Thanks for the temporary solution, this should be fine for now... I am developing the site at the moment so eventually will need the full admin panel again but at least I'm not completely blind so thankyou very much!

 

Is there any specific part of the page source that I can copy in for you to have a look at?

 

Kind Regards,

Connor

Link to comment
Share on other sites

Really need to see the whole lot.

 

Go to the page in a web browser such as firefox/Chrome or even IE and find the option to view source.

 

Then it is a simple cut and paste.

 

If you have not changed anything since moving between servers apart from configuration.php I would be looking in that area.

 

HTH

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

So I removed the private parts, the orders etc but have left the rest of the content in so you can see.

 

Thanks for your time!

Connor

 

 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html dir="ltr" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="robots" content="noindex,nofollow">
<title>osCommerce Online Merchant Administration Tool</title>
<!--[if IE]><script type="text/javascript" src="http://domain.co.uk/ext/flot/excanvas.min.js"></script><![endif]-->
<link rel="stylesheet" type="text/css" href="http://domain.co.uk/ext/jquery/ui/redmond/jquery-ui-1.8.22.css">
 
<script type="text/javascript">
// fix jQuery 1.8.0 and jQuery UI 1.8.22 bug with dialog buttons; http://bugs.jqueryui.com/ticket/8484
if ( $.attrFn ) { $.attrFn.text = true; }
</script>
 
<script type="text/javascript" src="http://domain.co.uk/ext/flot/jquery.flot.js"></script>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
<script type="text/javascript" src="includes/general.js"></script>
</head>
<body>
 
 
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="2"><a href="http://domain.co.uk/admin/index.php"><img src="images/oscommerce.png" border="0" alt="osCommerce Online Merchant v2.3.3.4" title="osCommerce Online Merchant v2.3.3.4" /></a></td>
  </tr>
  <tr class="headerBar">
    <td class="headerBarContent">  <a href="http://domain.co.uk/admin/index.php" class="headerLink">Administration</a>  |  <a href="http://domain.co.uk/" class="headerLink">Online Catalog</a>  |  <a href="http://www.oscommerce.com" class="headerLink">Support Site</a></td>
    <td class="headerBarContent" align="right">Logged in as: owner (<a href="http://domain.co.uk/admin/login.php?action=logoff" class="headerLink">Logoff</a>)  </td>
  </tr>
</table>
 
<div id="adminAppMenu">
 
 
</div>
 
<script type="text/javascript">
$('#adminAppMenu').accordion({
heightStyle: 'content',
collapsible: true,
active: false});
</script>
 
 
<div id="contentText">
 
    <table border="0" width="100%" cellspacing="0" cellpadding="2">
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="2" height="40">
          <tr>
            <td class="pageHeading">Domain</td>
 
 
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
          <tr>
            <td width="50%" valign="top">
<div id="d_total_revenue" style="width: 100%; height: 150px;"></div>
<script type="text/javascript">
$(function () {
  var plot30 = [[1413673200000, 0],[1413759600000, 0],[1413846000000, 0],[1413932400000, 0],[1414018800000, 0],[1414105200000, 0],[1414191600000, 0],[1414278000000, 0],[1414368000000, 0],[1414454400000, 0],[1414540800000, 0],[1414627200000, 0],[1414713600000, 24.9800],[1414800000000, 0],[1414886400000, 9.9400],[1414972800000, 0],[1415059200000, 0],[1415145600000, 7.9500],[1415232000000, 0],[1415318400000, 0],[1415404800000, 0],[1415491200000, 72.9600],[1415577600000, 0],[1415664000000, 0],[1415750400000, 0],[1415836800000, 0],[1415923200000, 0],[1416009600000, 0],[1416096000000, 11.4900],[1416182400000, 0]];
  $.plot($('#d_total_revenue'), [ {
    label: 'Total Revenue',
    data: plot30,
    lines: { show: true, fill: true },
    points: { show: true },
    color: '#66CC33'
  }], {
    xaxis: {
      ticks: 4,
      mode: 'time'
    },
    yaxis: {
      ticks: 3,
      min: 0
    },
    grid: {
      backgroundColor: { colors: ['#fff', '#eee'] },
      hoverable: true
    },
    legend: {
      labelFormatter: function(label, series) {
        return '<a href="http://domain.co.uk/admin/orders.php">' + label + '</a>';
      }
    }
  });
});
 
function showTooltip(x, y, contents) {
  $('<div id="tooltip">' + contents + '</div>').css( {
    position: 'absolute',
    display: 'none',
    top: y + 5,
    left: x + 5,
    border: '1px solid #fdd',
    padding: '2px',
    backgroundColor: '#fee',
    opacity: 0.80
  }).appendTo('body').fadeIn(200);
}
 
var monthNames = [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' ];
 
var previousPoint = null;
$('#d_total_revenue').bind('plothover', function (event, pos, item) {
  if (item) {
    if (previousPoint != item.datapoint) {
      previousPoint = item.datapoint;
 
      $('#tooltip').remove();
      var x = item.datapoint[0],
          y = item.datapoint[1],
          xdate = new Date(x);
 
      showTooltip(item.pageX, item.pageY, y + ' for ' + monthNames[xdate.getMonth()] + '-' + xdate.getDate());
    }
  } else {
    $('#tooltip').remove();
    previousPoint = null;
  }
});
</script>            </td>
            <td width="50%" valign="top">
<div id="d_total_customers" style="width: 100%; height: 150px;"></div>
<script type="text/javascript">
$(function () {
  var plot30 = [[1413673200000, 0],[1413759600000, 0],[1413846000000, 0],[1413932400000, 0],[1414018800000, 0],[1414105200000, 0],[1414191600000, 0],[1414278000000, 0],[1414368000000, 0],[1414454400000, 0],[1414540800000, 0],[1414627200000, 0],[1414713600000, 0],[1414800000000, 0],[1414886400000, 1],[1414972800000, 0],[1415059200000, 0],[1415145600000, 0],[1415232000000, 0],[1415318400000, 0],[1415404800000, 0],[1415491200000, 1],[1415577600000, 0],[1415664000000, 0],[1415750400000, 0],[1415836800000, 1],[1415923200000, 0],[1416009600000, 0],[1416096000000, 1],[1416182400000, 0]];
  $.plot($('#d_total_customers'), [ {
    label: 'Total Customers',
    data: plot30,
    lines: { show: true, fill: true },
    points: { show: true },
    color: '#FF9966'
  }], {
    xaxis: {
      ticks: 4,
      mode: 'time'
    },
    yaxis: {
      ticks: 3,
      min: 0
    },
    grid: {
      backgroundColor: { colors: ['#fff', '#eee'] },
      hoverable: true
    },
    legend: {
      labelFormatter: function(label, series) {
        return '<a href="http://domain.co.uk/admin/customers.php">' + label + '</a>';
      }
    }
  });
});
 
function showTooltip(x, y, contents) {
  $('<div id="tooltip">' + contents + '</div>').css( {
    position: 'absolute',
    display: 'none',
    top: y + 5,
    left: x + 5,
    border: '1px solid #fdd',
    padding: '2px',
    backgroundColor: '#fee',
    opacity: 0.80
  }).appendTo('body').fadeIn(200);
}
 
var monthNames = [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' ];
 
var previousPoint = null;
$('#d_total_customers').bind('plothover', function (event, pos, item) {
  if (item) {
    if (previousPoint != item.datapoint) {
      previousPoint = item.datapoint;
 
      $('#tooltip').remove();
      var x = item.datapoint[0],
          y = item.datapoint[1],
          xdate = new Date(x);
 
      showTooltip(item.pageX, item.pageY, y + ' for ' + monthNames[xdate.getMonth()] + '-' + xdate.getDate());
    }
  } else {
    $('#tooltip').remove();
    previousPoint = null;
  }
});
</script>            </td>
  </tr>
          <tr>
            <td width="50%" valign="top">
            <td width="50%" valign="top">
  </tr>
          <tr>
            <td width="50%" valign="top">
            <td width="50%" valign="top">
<div class="secSuccess"><p class="smallText">This is a properly configured installation of osCommerce Online Merchant!</p></div>            </td>
  </tr>
          <tr>
            <td width="50%" valign="top">
            <td width="50%" valign="top">
  </tr>
          <tr>
            <td width="50%" valign="top">
            <td width="50%" valign="top">
  </tr>
        </table></td>
      </tr>
    </table>
 
 
</div>
 
<br />
<table border="0" width="100%" cellspacing="0" cellpadding="2">
  <tr>
    <td align="center" class="smallText">
osCommerce Online Merchant Copyright © 2010 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br />
osCommerce provides no warranty and is redistributable under the <a href="http://www.fsf.org/licenses/gpl.txt" target="_blank">GNU General Public License</a>
    </td>
  </tr>
  <tr>
    <td><img src="images/pixel_trans.gif" border="0" alt="" width="1" height="5" /></td>
  </tr>
  <tr>
    <td align="center" class="smallText">Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a></td>
  </tr>
</table>
 
<br />
 
</body>
</html>
Link to comment
Share on other sites

@@ordishc

 

You said that you moved your store to a new host, and that's when the problem occurred. Do you know what version of PHP your old host was using, and what version your new host is using?

 

Since you moved the store from one host to another, I'm assuming that you have a complete copy of the store (both files and database). Can you install the store on an in-house server? Depending on what operating system you have on your local computer (Windows, OSx, Linux, etc), you can install the web server (Apache), PHP, and mySQL , and test/debug the store in house.

 

HTH

 

Malcolm

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...