Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin - Can't verify pendings


labmais

Recommended Posts

Good evening,

 

I'm experiencing the following error while trying to access "Pendings" (catalog/admin section) of my store (www.labmais.com.br):

 

Oops! Google Chrome could not find www.labmais.com.brdir_ws_adminorders.php

 

http://www.labmais.com.brdir_ws_adminorders.php/?selected_box=customers&status=1&osCAdminID=hashnumber

 

If I'm missing any information, please tell me.

E-commerce?

No external links please.

Link to comment
Share on other sites

Rafael,

 

It would appear your admin/includes/configure.php file is not set up correctly.

 

 

 

Chris

Link to comment
Share on other sites

Rafael,

 

It would appear your admin/includes/configure.php file is not set up correctly.

 

 

 

Chris

 

I was looking some posts and find this one:

 

http://www.oscommerce.com/forums/topic/340995-security-issue-with-admin-directory/

 

It says to configure this two lines:

 

define('DIR_WS_ADMIN', '/renamed_admin_directory/');

define('DIR_FS_ADMIN', '/your/path/to/directory/renamed_admin_directory/');

 

I know it's a post about security, but since I don't have these lines on my config.php, I think it could help too.

 

 

 

The following is my configure.php parameters:

 

<?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://www.labmais.com.br'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.labmais.com.br'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.labmais.com.br');
 define('HTTPS_COOKIE_DOMAIN', 'www.labmais.com.br');
 define('HTTP_COOKIE_PATH', '/catalogo/');
 define('HTTPS_COOKIE_PATH', '/catalogo/');
 define('DIR_WS_HTTP_CATALOG', '/catalogo/');
 define('DIR_WS_HTTPS_CATALOG', '/catalogo/');
 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', 'pub/');
 define('DIR_FS_CATALOG', '/home/domains/labmais.com.br/web/catalogo/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'db_host'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'db_user');
 define('DB_SERVER_PASSWORD', 'db_password');
 define('DB_DATABASE', 'db_name');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

E-commerce?

No external links please.

Link to comment
Share on other sites

I have figured out that nothing is working (Clients, products, configuration, statistics, modules, etc.).

 

I was editing the configure.php stored at "/catalog/includes/configure.php)" when I should edit the configure.php at "/catalog/admin/includes/configure.php)".

 

Now I figured out the solution.

I have edited the paths and it's working.

Where it was HTTPS I changed to HTTP and now it's working.

 

1- What's the difference between HTTP and HTTPS?

2- Why it doesn't works as HTTPS just as http?

3- As far as I know HTTPS has more security than HTTP, so how could I make it works as HTTPS?

 

Thank you DunWeb and thanks for the whole comunity.

E-commerce?

No external links please.

Link to comment
Share on other sites

1- What's the difference between HTTP and HTTPS?

 

I believe you have the general idea in your #3 question

 

2- Why it doesn't works as HTTPS just as http?

3- As far as I know HTTPS has more security than HTTP, so how could I make it works as HTTPS?

 

You need to purchase a SSL certificate for your site and install it. Afterwards, you can enable SSL in your site by making changes to your configure.php files.

Link to comment
Share on other sites

I believe you have the general idea in your #3 question

 

 

 

You need to purchase a SSL certificate for your site and install it. Afterwards, you can enable SSL in your site by making changes to your configure.php files.

 

Ok, thank you.

 

I use cari.net panel, do you know if it has that SSL certificate?

 

Thank you again, I will look forward for this improvement.

 

Rafael Vidal.

E-commerce?

No external links please.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...