Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moved Site to Root folder cannot get into my Admin


Austin100

Recommended Posts

Hi, so I moved my site to root folder and cannot get into my admin area via my control panel through my host site.

I have looked and searched but could not find this solution.

 

 

 

Thanks in advance

 

Jon

 

www.peoplesmedium.com

Link to comment
Share on other sites

Jon,

 

Make sure you have changed catalog>admin>includes>configure.php to point to the new web URL.

 

Also check catalog>includes>configure.php to make sure it is also changed.

 

 

 

 

Chris

Link to comment
Share on other sites

Jon,

 

Make sure you have changed catalog>admin>includes>configure.php to point to the new web URL.

 

Also check catalog>includes>configure.php to make sure it is also changed.

 

 

 

 

Chris

 

Thanks, they both are. Is there another way to log into the admin area rather than going through my hosts web site?

 

The problem is that the host is not seeing where my admin files have moved to.

I goto my host site

Log into my sites control panel goto OS Commerce and it is not listed in there to admin it.

 

Usually you install OsC through this way. But since I moved the site the link is no longer valid

 

Here is the old path that my admin section has:

http://peoplesmedium.com/www//catalog/

 

But I get this message:

 

"Not Found

 

The requested URL /www//catalog//admin/ was not found on this server."

 

There is no way that I can see to edit this path through my host. So is there a program I can use?

 

Jon

Link to comment
Share on other sites

Here is my code from Admin>Includes>Configure

 

 

<?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 (c) 2002 osCommerce

 Released under the GNU General Public License
*/

// define our webserver variables
// FS = Filesystem (physical)
// WS = Webserver (virtual)
 define('HTTP_SERVER',			  'https://peoplesmedium.sslpowered.com'); // eg, http://localhost or - https://localhost 
 define('HTTP_CATALOG_SERVER',	  'http://peoplesmedium.com/');
 define('HTTPS_CATALOG_SERVER',	 'https://peoplesmedium.sslpowered.com');
 define('ENABLE_SSL_CATALOG',	   'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT',	 $DOCUMENT_ROOT . '/' ); // where your pages are located on the server. 
 define('DIR_WS_ADMIN',			 '../');
 define('DIR_FS_ADMIN',			 $DOCUMENT_ROOT . '/admin/');
 define('DIR_WS_CATALOG',		   '/');
 define('DIR_FS_CATALOG',		   $DOCUMENT_ROOT . '/');
 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',		  'MYSQLHOST');
 define('DB_SERVER_USERNAME', 'u70620672');
 define('DB_SERVER_PASSWORD', '682377');
 define('DB_DATABASE',		'd60557288');
 define('USE_PCONNECT',	   'false');
 define('STORE_SESSIONS',	 'mysql');
?>

Link to comment
Share on other sites

Jon,

 

 

NOTE: You just gave everyone access to your database by providing the username and password !!!!!!

 

Also, if you go to http://peoplesmedium.com/www/catalog/admin

 

it will ask your admin name and password...........you had a double // in your URL that you posted.

 

CHANGE YOUR DATABASE PASSWORD ASAP ! (never post that information in a forum)

 

 

 

Chris

Link to comment
Share on other sites

Jon,

 

 

NOTE: You just gave everyone access to your database by providing the username and password !!!!!!

 

Also, if you go to http://peoplesmedium.com/www/catalog/admin

 

it will ask your admin name and password...........you had a double // in your URL that you posted.

 

CHANGE YOUR DATABASE PASSWORD ASAP ! (never post that information in a forum)

 

 

 

Chris

 

Thanks yes that was a big whoops that was not my real store.....

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...