Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot Move or delete or copy products


mikefreemen

Recommended Posts

Posted

Hello All,

 

U have recently added on some features Including the Lightbox Addon and some other contributions. I can list the exact ones if needed.

 

Either way I recently went in to move a product, When I click the product, then click move and choose where to move it. I click ok/update and nothing happens. I go back to where the product was and its still there. I tried deleting the product as well as copying it and I was unable to do either one of those as well. It is not allowing me to delete, copy, or move, but I am not getting an error message, just nothing happens.

 

Any help would be highly appreciated.

 

Humans + Internet + Google + Open Source = GOD

 

Thank you in advance.

 

Mike

Posted
Hello All,

 

U have recently added on some features Including the Lightbox Addon and some other contributions. I can list the exact ones if needed.

 

Either way I recently went in to move a product, When I click the product, then click move and choose where to move it. I click ok/update and nothing happens. I go back to where the product was and its still there. I tried deleting the product as well as copying it and I was unable to do either one of those as well. It is not allowing me to delete, copy, or move, but I am not getting an error message, just nothing happens.

 

Any help would be highly appreciated.

 

Humans + Internet + Google + Open Source = GOD

 

Thank you in advance.

 

Mike

 

 

whats your ocs version ? installed server details?

DJS

Posted
whats your ocs version ? installed server details?

Server Information

Server Host: dime63.dizinc.com (72.29.73.107) Database Host: localhost (127.0.0.1)

Server OS: Linux 2.6.9-55.0.9.ELsmp Database: MySQL 5.0.51a-community

Server Date: 11/04/2008 13:02:57 Datebase Date: 11/04/2008 13:02:57

Server Up Time: 13:02:57 up 6 days, 7:47, 0 users, load average: 0.64, 0.32, 0.29

HTTP Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635

PHP Version: 5.2.6 (Zend: 2.2.0)

osCommerce

osCommerce 2.2-MS2

PHP Logo

PHP Version 5.2.6

 

System Linux dime63.dizinc.com 2.6.9-55.0.9.ELsmp #1 SMP Thu Sep 27 18:27:41 EDT 2007 i686

Build Date Nov 4 2008 03:17:12

Server API CGI

Virtual Directory Support disabled

Configuration File (php.ini) Path /usr/lib

Loaded Configuration File /home/ocoffice/public_html/admin/php.ini

PHP API 20041225

PHP Extension 20060613

Zend Extension 220060519

Debug Build no

Thread Safety disabled

Zend Memory Manager enabled

IPv6 Support enabled

Registered PHP Streams php, file, data, http, ftp, compress.zlib

Registered Stream Socket Transports tcp, udp, unix, udg

Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, zlib.*

Posted

Lightbox Addon doesnt changed any thing on your administrator panel. so have you add any contribution that affect to admin panel?

 

may b sm problem with the admin/categories.php , if u hv this file please add code here...

DJS

Posted
Lightbox Addon doesnt changed any thing on your administrator panel. so have you add any contribution that affect to admin panel?

 

may b sm problem with the admin/categories.php , if u hv this file please add code here...

 

here is the code, I am not sure how this relates to adding or removing products, but I am sure you know what your doing. I added the following addons - UltraImages & OSCThumb. I believe the UltraImage addon which included the lightbox addon and the multiple images per item did have me edit something with this file. So Please let me know what I need to do.

 

Your help is highly appreciated. I cant wait to get this resolved.

 

Thank you so much.

 

Here is the code to my categories I could not add it here.. it was too large.

 

http://www.ocofficefurniture.com/form/categories.txt

Posted

I also tried adding a category or subcategory, and I am unable to as well.. just thought id let u know.. in this case, i guess it might be the categories file

Posted

Find:

$pInfo = new objectInfo($product);
  $products_image_name = $pInfo->products_image;

 

 

Add below:

 

 $products_image_lrg_name	  = $pInfo->products_image_lrg;
  $products_image_sm_1_name = $pInfo->products_image_sm_1;
  $products_image_sm_2_name = $pInfo->products_image_sm_2;
  $products_image_sm_3_name = $pInfo->products_image_sm_3;
  $products_image_sm_4_name = $pInfo->products_image_sm_4;
  $products_image_sm_5_name = $pInfo->products_image_sm_5;
  $products_image_sm_6_name = $pInfo->products_image_sm_6;

 

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

 

Find:

 

echo tep_draw_form('search', FILENAME_CATEGORIES, '', 'get');
echo HEADING_TITLE_SEARCH . ' ' . tep_draw_input_field('search');

 

Add Below

 

echo '</form>';

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

 

Find:

 

echo tep_draw_form('goto', FILENAME_CATEGORIES, '', 'get');
echo HEADING_TITLE_GOTO . ' ' . tep_draw_pull_down_menu('cPath', tep_get_category_tree(), $current_category_id, 'onChange="this.form.submit();"');

 

Add Below:

 

	echo '</form>';

 

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

 

Find:

 

$category_path_string = '';
		$category_path = tep_generate_category_path($cInfo->categories_id);
		for ($i=(sizeof($category_path[0])-1); $i>0; $i--) {
		  $category_path_string .= $category_path[0][$i]['id'] . '_';
		}
		$category_path_string = substr($category_path_string, 0, -1);

 

Replace This with:

 

/*$category_path_string = '';

$category_path = tep_generate_category_path($cInfo->categories_id);

for ($i=(sizeof($category_path[0])-1); $i>0; $i--) {

$category_path_string .= $category_path[0][$i]['id'] . '_';

}

$category_path_string = substr($category_path_string, 0, -1);*/

 

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

Find:

 

$contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $category_path_string . '&cID=' . $cInfo->categories_id . '&action=edit_category') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $category_path_string . '&cID=' . $cInfo->categories_id . '&action=delete_category') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $category_path_string . '&cID=' . $cInfo->categories_id . '&action=move_category') . '">' . tep_image_button('button_move.gif', IMAGE_MOVE) . '</a>');

 

 

Replaced with:

 

		  $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id . '&action=edit_category') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id . '&action=delete_category') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id . '&action=move_category') . '">' . tep_image_button('button_move.gif', IMAGE_MOVE) . '</a>');

 

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

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

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

BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP BACK UP

DJS

Posted

works like magic, you are ahead of your time. I know how to program a lil but that would have taken me forever. I have backed it up twice.

 

Thanks

Archived

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

×
×
  • Create New...