Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

dir_ws_admin problem - sorry can't explain it better than that


bigbird_3156

Recommended Posts

Posted

Hi....

 

I just went through an experience of installing an addon that did not work for me - uninstalling it - having dreamweaver crash on me (I use it to edit files and FTP)

 

now when I go to my site I have 2 problems... My images in the new products box are 1 pixel high...

 

but more distressingly none of my links work... whenever I click on one i get a link that looks something like this...

 

https://www.underthemulberrytree.comdir_ws_adminindex.php/?cPath=21

 

Here is my web address incase that helps at all...

 

www.underthemulberrytree.com/shop

 

PLEASE HELP!!!!!! :o

Posted
check your admin / includes / configure.php for the correct admin folder location

nic

 

I'm not sure what I should be looking for.... here is the contents of that file... any ideas?

 

  define('HTTP_SERVER', 'https://www.underthemulberrytree.com');
 define('HTTP_CATALOG_SERVER', 'https://www.underthemulberrytree.com');
 define('HTTPS_CATALOG_SERVER', 'https://www.underthemulberrytree.com');
 define('ENABLE_SSL_CATALOG', 'true');
 define('DIR_FS_DOCUMENT_ROOT', '/home/mulberry/public_html/shop');
 define('DIR_WS_ADMIN', '/shop/admin/');
 define('DIR_FS_ADMIN', '/home/mulberry/public_html/shop/admin/');
 define('DIR_WS_CATALOG', 'includes/');
 define('DIR_FS_CATALOG', '/home/mulberry/public_html/shop/');
 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/');

Posted
how about your catalog / includes / configure.php ?

 

Ths seems to be where the problem lies, should not be a define in there for Admin

 

Nic

 

I cant see anything wrong there either...

 

  define('HTTP_SERVER', 'https://www.underthemulberrytree.com');
 define('HTTPS_SERVER', 'https://www.underthemulberrytree.com');
 define('ENABLE_SSL', true);
 define('HTTP_COOKIE_DOMAIN', 'underthemulberrytree.com');
 define('HTTPS_COOKIE_DOMAIN', 'underthemulberrytree.com');
 define('HTTP_COOKIE_PATH', '/shop/');
 define('HTTPS_COOKIE_PATH', '/shop/');
 define('DIR_WS_HTTP_CATALOG', '/shop/');
 define('DIR_WS_HTTPS_CATALOG', '/shop/');
 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/mulberry/public_html/shop');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Posted
What have you / were you working on prior to the change Peter?

I had just installed the FCKeditor 1.2 - it did not work so i was going about uninstalling it.... reversing all the file changes that I made... I went through it all and I think I have fixed it all back how it was... there is only 1 line in by admin/categories.php file that I could not fix properly so copied that line off an unmodified copy of that file... at present it looks like this...

 

<td class="main"><?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); ?></td>

 

dunno if it is related or not...

Archived

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

×
×
  • Create New...