osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Blank admin page

This is a discussion on Blank admin page within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I've installed OsCommerce 2.2ms2 on my web site, which was a "one click" deal. I'm now trying to get it ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack (1) Thread Tools
  1 links from elsewhere to this Post. Click to view. #1  
Old 06-30-2004, 07:37 PM
Lurker
 
Join Date: Jun 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
posword
Default Blank admin page

I've installed OsCommerce 2.2ms2 on my web site, which was a "one click" deal.

I'm now trying to get it working on my development machine, EasyPHP 1.7 under WinXP. I have the Catalog side working ok.

However, when I go to Admin, all I get is a blank page. My error logs say, "[Thu Jul 01 12:00:15 2004] [error] PHP Fatal error: Call to undefined function: tep_get_languages() in d:\easyphp1-7\www\books\admin\index.php on line 58".

I've tried to get help on OsCommerce forum, and since I've used a lot of your information, I'm trying here now. What do I have to do to eliminate this error.

And by the way, what does "tep" stand for?

Cheers,
Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 07-02-2004, 08:31 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Posts: 1,558
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

First of all I would make 100% sure you got all files!

TEP - The Exchange Project - both of which is refenced though out OSCommece site, documents and code. This was the orginal name of the project (about 2000 or 2001 ?). The old name did not convey what the project was really about.

The problem with "ONE CLICK" hosting/control panel installs are that you don't know how old your source is and depending on the host/panel may man or may not be modified (like AABOX uses a "loaded" version of OSC - MS2 called MS2-MAX)

Personally I would DOWNLOAD a fresh MS2 or MAX and work with that.

However, if you want, I would look at how it was setup on your host and then inspect your hosted CONFIGURE.PHP (BOTH files) with your "localhost" version. Sub your URL (ie: "mysite.com") with "localhost".


If you install MS2-MAX ontop of your exisitng site - you can keep your configure.php files (just add in any new info) and BLANK out your exiting DB or use a fresh database name.
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 07-05-2004, 08:31 PM
Lurker
 
Join Date: Jun 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
posword
Default Blank admin page

The "one click' install by my ISP works fine; its my local install from a fresh OSC2.2MS2 archive that's the problem.

The only way I can get the Admin control panel to display is to comment out these lines from admin/index.php:

/* $languages = tep_get_languages();
$languages_array = array();
$languages_selected = DEFAULT_LANGUAGE;
for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
$languages_array[] = array('id' => $languages[$i]['code'],
'text' => $languages[$i]['name']);
if ($languages[$i]['directory'] == $language) {
$languages_selected = $languages[$i]['code'];
}
}*/

At least the panel displays, and as it is a one-language site its probably not a problem, but I shouldn't have to do that.

Now I cannot get the Catalogs/Products page to display in Admin... its complaining about not finding the catalog/images files but it is correctly nominated in configure.php in Admin/includes.

Cheers,
Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 07-06-2004, 05:40 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Posts: 1,558
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

Peter - please post your admin configure.php file (less the DB info).
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 07-06-2004, 05:01 PM
Lurker
 
Join Date: Jun 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
posword
Default

<?php
/*
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright (c) 2003 osCommerce

Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', '');
define('HTTPS_CATALOG_SERVER', '');
define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
define('DIR_WS_ADMIN', '/books/admin/'); // absolute path required
define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
define('DIR_WS_CATALOG', '/books/'); // absolute path required
define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
define('DIR_WS_IMAGES', '/books/admin/images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');


Thanks,
Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.oscmax.com/forums/oscommerce-2-2-installation-help/2795-blank-admin-page.html

Posted By For Type Date
Help needed - osCommerce Community Support Forums This thread Refback 10-19-2007 07:36 AM

Similar Threads

Thread Thread Starter Forum Replies Last Post
Blank Admin Pages zemond osCMax v2 Installation issues 2 12-22-2006 12:06 PM
i got blank page after install johnkwok osCMax v2 Installation issues 5 08-04-2006 08:46 AM
Help! Admin page is blank (but store is showing up...) vonvonnie osCMax v2 Installation issues 2 08-04-2006 08:44 AM
Blank admin page & other wierd problems BradWaite osCMax v2 Installation issues 3 03-20-2006 09:08 PM
Blank admin webworks osCommerce 2.2 Installation Help 2 12-23-2003 07:36 AM


All times are GMT -8. The time now is 07:14 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax