Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Errors: Line:33 Object Expected


fdelarosa59

Recommended Posts

Thank you for your time. I have installed OSC 2.2MS2-060817and have followed all the fixes I could find. When I access the Admin menu all looks well until I select a menu item. Then I get a blank page with the yellow triangle in to lower left of my browser.

 

When I double-click I get a window with message:

 

Line: 33

Char: 2

Error: Object required

Code:0

URL: (really long)

 

On occasion I can see the selected item (e.g My Store) but then nothing else works. The catalog also exibits this behavior. I can see the main screen but nothing else works when clicked on and also gives the error above.

 

Here is my Admin/configure.php: (the HTTPS parameters are there only out of frustration)

 

<?php

/*

$Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

define('HTTP_SERVER', 'http://www.undergroundgarage3.com/UG3PartsStore'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.undergroundgarage3.com/ug3partsstore');

define('HTTPS_CATALOG_SERVER', 'https://www.undergroundgarage3.com/ug3partsstore');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/UG3PartsStore'); // 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', '/admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

define('DIR_WS_IMAGES', '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/');

 

// define our database connection

define('DB_SERVER', 'mysql235.xxxx.xxx');

define('DB_SERVER_USERNAME', 'xxxxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxxxx');

define('DB_DATABASE', 'xxxxxxxx');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

The last change I made was to create "backups" in the Admin folder. I'm using GoDaddy.com for hosting running Windows. Also, I'm doing all of this live and not locally.

 

Thank you

 

Felipe de la Rosa

Felipe de la Rosa

*Please feel free to IM me via YIM or AIM.

Link to comment
Share on other sites

looks like you have "script debugging" turned on in your browser - I honestly wouldn't be surprised you get errors with osC - best to turn it off.

 

Your configuration file has some errors - you should not have '/ug3partsstore' at the end of the server path (its not part of the "domain"). It should be here:

 

 define('DIR_WS_CATALOG', '/ug3partsstore/');

 

you should have this for the admin path:

 

 define('DIR_WS_ADMIN', '/ug3partsstore/admin/');

 

for document root the following is perhaps better:

 

 define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT);

 

hth

 

Sonia

Link to comment
Share on other sites

Thank you for your kind attention. I found the patch for "Register_Globals" and applied it . Thank you Vger for posting this.

 

It WORKED!!!!!

 

Very Truly Yours

 

Felipe de la Rosa

www.undergroundgarage3.com

[email protected]

Felipe de la Rosa

*Please feel free to IM me via YIM or AIM.

Link to comment
Share on other sites

looks like you have "script debugging" turned on in your browser - I honestly wouldn't be surprised you get errors with osC - best to turn it off.

 

Your configuration file has some errors - you should not have '/ug3partsstore' at the end of the server path (its not part of the "domain"). It should be here:

 

 define('DIR_WS_CATALOG', '/ug3partsstore/');

 

you should have this for the admin path:

 

 define('DIR_WS_ADMIN', '/ug3partsstore/admin/');

 

for document root the following is perhaps better:

 

 define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT);

 

hth

 

Sonia

 

Thanks Sonia! I think I tried too hard to make this work. I cleaned up my Config file.

 

Felipe de la Rosa

Felipe de la Rosa

*Please feel free to IM me via YIM or AIM.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...