Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

object expected error


mysqlmaster

Recommended Posts

Posted

What a great little piece of free programming.

 

I have had my site up for some time, until last week when it all came tumbling down.

 

I had an "errno blah blah error" and I fixed it with thr REPAIR TABLE products_description command. It got rid of that error, however now I have internet explorer script errors all over the admin page. I do not think the two are related, but I am not certain.

 

here's the url of the problem: www.outbackpaintball.com/admin/admin/index.php

 

thanks in advance, and yes I have searched desperately already!

 

Back to top

 

 

JulieCSM

Julie Cavanagh

 

 

 

Joined: 20 Jul 2003

Posts: 256

 

Posted: Sun Sep 07, 2003 4:49 pm Post subject:

 

--------------------------------------------------------------------------------

 

Well, I don't see a problem, but you do have a problem in your modules section. You are missing a / after public_html in all three sections.

_________________

There are two theories to arguing with women. Neither one works.

 

Back to top

 

 

mysqlmaster

steven

 

 

 

Joined: 09 Feb 2003

Posts: 5

 

Posted: Sun Sep 07, 2003 4:59 pm Post subject: object expected error

 

--------------------------------------------------------------------------------

 

Julie,

Thanks. I should have been more descriptive.

 

There error lies here:

 

http://www.outbackpaintball.com/admin/admin

 

Then click on catalog contents....the scrool over one of my directories....errors everywhere!

 

Back to top

 

 

JulieCSM

Julie Cavanagh

 

 

 

Joined: 20 Jul 2003

Posts: 256

 

Posted: Sun Sep 07, 2003 5:17 pm Post subject:

 

--------------------------------------------------------------------------------

 

Quote:

Forbidden

You don't have permission to access /admin/admin/ on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

 

 

It won't let me in

_________________

There are two theories to arguing with women. Neither one works.

 

Back to top

 

 

JulieCSM

Julie Cavanagh

 

 

 

Joined: 20 Jul 2003

Posts: 256

 

Posted: Sun Sep 07, 2003 5:23 pm Post subject:

 

--------------------------------------------------------------------------------

 

Hmm - I went in using the previous link and I see what you mean. When I tried to to into your catalog and look at your product description, I just got a blank page with the menu at the side. No product info at all.

 

Do the product descriptions appear on the main store and/or in the database?

 

Also you have no images. Is that because you haven't uploaded any or is that part of the problem?

_________________

There are two theories to arguing with women. Neither one works.

 

Back to top

 

 

mysqlmaster

steven

 

 

 

Joined: 09 Feb 2003

Posts: 5

 

Posted: Sun Sep 07, 2003 5:23 pm Post subject: here you go

 

--------------------------------------------------------------------------------

 

sorry again!

http://www.outbackpaintball.com/admin/admin/index.php

 

Back to top

 

 

mysqlmaster

steven

 

 

 

Joined: 09 Feb 2003

Posts: 5

 

Posted: Sun Sep 07, 2003 7:44 pm Post subject: errors, errors everywhere!

 

--------------------------------------------------------------------------------

 

Product descriptions do appear on the site. And some images are not appearing because of the ARRAY bug which I believe is fixed, because I uploaded the patch but that is when my problems started. Some images do appear, I wanted to edit the products and reload images to test. I can not test because there are errors on the admin page when I access the catalog.

 

Thanks again!

Posted

Edit your /catalog/includes/configure.php and apply the following change:

 

  define('HTTP_SERVER', 'http://www.outbackpaintball.com'); // eg, http://localhost - should not be empty for productive servers

 define('HTTPS_SERVER', 'https://svr17.edns1.com/~outback'); // eg, https://localhost - should not be empty for productive servers

 define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 define('DIR_WS_CATALOG', '/'); // absolute path required

 define('DIR_WS_IMAGES', 'images/');

 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

 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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');

 define('DIR_FS_DOCUMENT_ROOT', '/home/outback/public_html'); // 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_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

Then edit your /includes/configure.php to apply:

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

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

 define('HTTPS_CATALOG_SERVER', 'https://svr17.edns1.com/~outback');

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

 define('DIR_FS_DOCUMENT_ROOT', '/home/outback/public_html'); // 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/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/');

 

See if that helps.

Posted

You might also try turning off the Search Engine Friendly URLs as that makes a mess of things most of the time ... :shock:

Posted

You are missing the file admin/includes/classes/upload.php - perhaps others also - looks like an incomplete upload to your server space...... happens :shock:

Posted

Hey everyone! It was a beautiful day in PA.

 

I have tried all of your suggestions, take a look, I still have the same errors. Is the database corrupt?

 

I replaced both configure.php files

 

I uploaded the upload.php

 

any other suggestions will be appreciated!!

Posted

In the original version of this incompletely copied thread, I remember advising you to reupload the admin section.

 

Did you try that? If, as Johnson suggests, this is an incomplete upload, it would seem that reuploading it would still be the best solution.

Archived

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

×
×
  • Create New...