kongmoon
-
Posts
11 -
Joined
-
Last visited
Posts posted by kongmoon
-
-
I have the same problem,anyone can help us ?
OK, I find the solution,
go to phpmyadmin and change your customers_id for administrator to 0.
Done!
-
I have just installed this contribution and everything seems to work fine when add products by customers. However when I try to add product using the admin, I can see the product info from the public but not in the Categories / Products field, which means I couldnt edit the contents.
Does anyone have the same problem?
Please advice!!
I have the same problem,anyone can help us ?
-
I hv installed HTC first, then I want to install categores admin
www.oscommerce.com/community/contributions,1359
however there are codes in conflict with it
The HTC code in my admin/categories.php
<?php
$categories_count = 0;
$rows = 0;
if (isset($HTTP_GET_VARS['search'])) {
$search = tep_db_prepare_input($HTTP_GET_VARS['search']);
// HTC BOC
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified, cd.categories_htc_title_tag, cd.categories_htc_desc_tag, cd.categories_htc_keywords_tag, cd.categories_htc_description from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and cd.categories_name like '%" . tep_db_input($search) . "%' order by c.sort_order, cd.categories_name");
} else {
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified, cd.categories_htc_title_tag, cd.categories_htc_desc_tag, cd.categories_htc_keywords_tag, cd.categories_htc_description from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$current_category_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by c.sort_order, cd.categories_name");
// HTC EOC
}
The code Categorie Admin want to modify.
<?php
$categories_count = 0;
$rows = 0;
if (isset($HTTP_GET_VARS['search'])) {
$search = tep_db_prepare_input($HTTP_GET_VARS['search']);
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and cd.categories_name like '%" . tep_db_input($search) . "%' order by c.sort_order, cd.categories_name");
} else {
// BOF: KategorienAdmin / OLISWISS
if ($admin_cat_access == "ALL") {
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$current_category_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by c.sort_order, cd.categories_name");
} else if ($admin_cat_access == ""){
$categories_query = tep_db_query("");
} else {
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$current_category_id . "' and (c.parent_id or c.categories_id in (" . $admin_cat_access . ")) and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by c.sort_order, cd.categories_name");
}
// EOF: KategorienAdmin / OLISWISS
hope anyone can give me a solution.
-
I hv two problem.
1.I hv installed HTC first, there are codes in conflict with Categorie Admin
The HTC code in my admin/categories.php
<?php
$categories_count = 0;
$rows = 0;
if (isset($HTTP_GET_VARS['search'])) {
$search = tep_db_prepare_input($HTTP_GET_VARS['search']);
// HTC BOC
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified, cd.categories_htc_title_tag, cd.categories_htc_desc_tag, cd.categories_htc_keywords_tag, cd.categories_htc_description from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and cd.categories_name like '%" . tep_db_input($search) . "%' order by c.sort_order, cd.categories_name");
} else {
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified, cd.categories_htc_title_tag, cd.categories_htc_desc_tag, cd.categories_htc_keywords_tag, cd.categories_htc_description from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$current_category_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by c.sort_order, cd.categories_name");
// HTC EOC
}
The code Categorie Admin want to modify.
<?php
$categories_count = 0;
$rows = 0;
if (isset($HTTP_GET_VARS['search'])) {
$search = tep_db_prepare_input($HTTP_GET_VARS['search']);
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and cd.categories_name like '%" . tep_db_input($search) . "%' order by c.sort_order, cd.categories_name");
} else {
// BOF: KategorienAdmin / OLISWISS
if ($admin_cat_access == "ALL") {
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$current_category_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by c.sort_order, cd.categories_name");
} else if ($admin_cat_access == ""){
$categories_query = tep_db_query("");
} else {
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$current_category_id . "' and (c.parent_id or c.categories_id in (" . $admin_cat_access . ")) and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by c.sort_order, cd.categories_name");
}
// EOF: KategorienAdmin / OLISWISS
hope anyone can give me a solution.
2. I hv add a member ,but I did't know where to set the password for the member,someone told me it will be send to the mail I set, however I didn't find any mail.I install osc on my pc,the php.ini is set to smtp.gmail.com, is it correct?
aslo the email option is set to smtp.
But still get it work.
-
I also want to know if something like that exists ?
-
hi,I hv installed the great contribution step by step follow the newest version readme txt.
But I hv two problems.
1.
It only works in firefox.
In IE ,It will be reloaded to the shopping_cart.php just as the old method when press the add to cart button.
I installed seo url,xsell,pwa,htc contribution ,all prodcut list with image,on my osc.
2.
It don't hv the fly img effect also even in firefox.
Pixclinic gave some tips to make it.
However I am new to osc ,and I don't know php,I hv copy the Pixclinic 's product_info file to my one,could anyboby post the corrected shopping_cart.php? I really don't know how and where to enter the div.
Is it ok to hv the fly img effect if the two files are modifyed?
Thank you .Hope someone can help me.
Terman
Customer Add Product
in General Add-Ons Support
Posted
Don't say this,brother,this is the thing everybody sholud do.
The new problem now hit me again,which I don't find the answer took over the topic thread again and again.
1. in admin/customer/,when click the administrator
Warning: reset(): Passed variable is not an array or object in c:\appserv\www\catalog\admin\includes\classes\object_info.php on line 17
Warning: Variable passed to each() is not an array or object in c:\appserv\www\catalog\admin\includes\classes\object_info.php on line 18