Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Missing left column in Testshop


porrier

Recommended Posts

Hello!

 

I copied the database and the directory of the shop to an new location on the same server for testingpurposes.

 

The testshop works fine, in admin I miss the left column. I controlled the configure.php and the sessions are

stored in the according mysql-database.

 

I set

 

error_reporting(E_ALL);
ini_set('display_errors', '1');

 

in the application_top.php of the admin, no hint there.

 

What could I do to get the left column back? Where are the informations of this left column stored?

 

I need this testshop to test addons before I build them in into the real shop.

 

Thanks for any help with this!

 

Regards

 

Andreas

 

Link to comment
Share on other sites

column left is called from template top. It helps to state what version you are using.

I am using osCommerce Online Merchant v2.3.4

Server OS(Betriebssystem): Linux Datenbank: MySQL 5.6.25-log

HTTP Server: Apache

PHP Version: 5.6.1 (Zend: 2.6.0)

 

The template_top.php is the original version. In the source of the index.php I see nothing regarding template_top.

 

Andreas

Link to comment
Share on other sites

There are two configure.php files; one in the catalog side and one in the admin. Did you make the same changes to both?

 

Regards

Jim

Yes, checked it five times and more. I think they are okay. They are almost identical to the live-shop except two letters for the different location.

 

Regards

Andreas

Link to comment
Share on other sites

from admin\includes\template_top.php

 

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

<?php
  if (tep_session_is_registered('admin')) {
    include(DIR_WS_INCLUDES . 'column_left.php');
  } else {
?>
Yes, it is exactly there like this. A session is created in ...shop/includes/work, when I log in as admin.

Also the column_left.php is there in includes in admin-section.

 

I tried to comment out and delete the whole block

/*
<body>

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

<?php
  if (tep_session_is_registered('admin')) {
    include(DIR_WS_INCLUDES . 'column_left.php');
  } else {
?>

<style>
#contentText {
  margin-left: 0;
}
</style>

<?php
  }
?>
*/
<div id="contentText">
but the left column does not appear.

 

Regards

Andreas

Link to comment
Share on other sites

Yes, it is exactly there like this. A session is created in ...shop/includes/work, when I log in as admin.

Also the column_left.php is there in includes in admin-section.

I tried to comment out and delete the whole block

/*
<body>

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

<?php
  if (tep_session_is_registered('admin')) {
    include(DIR_WS_INCLUDES . 'column_left.php');
  } else {
?>

<style>
#contentText {
  margin-left: 0;
}
</style>

<?php
  }
?>
*/
<div id="contentText">
but the left column does not appear.

Regards

Andreas

without the body tag ofcourse.
Link to comment
Share on other sites

There's no need to comment that section out, it is supposed to be there. Commenting it out is not going to make the column_left appear. From the information you give it's impossible to say where your problem may lie. You must have made a configuration error or there is a file(s) misplaced in the directory structure.

Link to comment
Share on other sites

There's no need to comment that section out, it is supposed to be there. Commenting it out is not going to make the column_left appear. From the information you give it's impossible to say where your problem may lie. You must have made a configuration error or there is a file(s) misplaced in the directory structure.

Wow, you are right! I looked again in the configure.php and found a typo there.

Havent seen it ten times.

 

Allright, the column is back again :-)

 

Thank you so much guys for your patience!

 

Regards

 

Andreas

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...