Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Posts posted by surfalot

  1. Hi @@Denzel,


    the sort order has been an issue for a while. years back I thought I had fixed it, but the current logic really doesn't account for all factors, and IMO, really fubars the sort. I wouldn't use the arrows. The more attributes you create, the more this contrib gets confused.


    here's what I do for a work around...


    make sure you have the sort order components installed for the old stand-by attribute manager, and manually manage the sort order there. It's not ideal, but polishes the job where needed.

  2. I'm not sure what you are asking here, but...


    If you do not make that change to the <body> tag in admin/includes/templates_top.php then the ajax manager will not load.


    You should also check that the include was added to admin/includes/templates_top.php before the </head> tag:

    <?php require_once( 'attributeManager/includes/attributeManagerHeader.inc.php' )?>

  3. @@joli1811- that was helpful  :rolleyes:   he obviously added QT Pro, which changed the products_info.php file, and was confused about where to make changes for the Product Attributes Sort Order v1.0 contribution.


    @@bkiani - Don't worry about changes in the product_info.php file if you wish to fix your error in the admin.  If you want to fix the error you are getting, the changes you need to get right for Product Attributes Sort Order v1.0 are in the /admin/products_attributes.php file.  focus on those changes to fix the error when adding attributes from Products Attribute


    I do not know why

    can not see the new attribute manager below the price



    The only way I can help you with this is if you can find an error from your error_log in /admin/error_log or in /admin/attributeManager/error_log that will help point me to the problem.

    One other possibility is a javascript error you may find from FireBug debugger in FireFox browser.

  5. Hello

    i use ver 2.3.4

    It worked fine attribute manager

    I do not know why all of a sudden shut down

    can not see the new attribute manager below the price

    How do I find a bug?




    You should look at your error_log on the server in the admin folder for more information on this problem. If you are getting an error posted to the log when accessing the product edit page, please post this information for further help.

  6. I do not know why

    Manually, but can not work with options Products

    view this error


    1136 - Column count doesn't match value count at row 1

    insert into products_attributes values (null, '132', '1', '2', '0', '+')


    The reason you have this error using the standard osCommerce Products Attribute is because Attribute Manager will install database fields if the sort order is enabled.  You will need to adapt and install the contribution it is based on. See this contribution: Product Attributes Sort Order v1.0 http://addons.oscommerce.com/info/1822


    also see the  "Additonal Notes for other contribution compatability" section of this Attributes Manager documentation about the sort order contribution.


    Since that contribution is for 2.2, you will need to adapt the installation to 2.3.4.

  7. have you fixed the problem of the Attribute Manager showing on the Product Edit page? If so, can you tell us what the problem was?



    How can I translate Farsi ?

    I change the file english/attributeManager.php but I did not read the letters

    If you need to translate the Attribute Manager's text to Farsi, then you should create a new folder under /admin/attributeManager/languages/[yourlanguage]. Copy the english language file from /admin/attributeManager/languages/english/attributeManager.php to your language folder. The name of the folder would be the same as the language folder used for languages in the main shop: admin/includes/languages/[yourlanguage].  So your new language file would be at: /admin/attributeManager/languages/[yourlanguage]/attributeManager.php.   


    So if you main language folder is "farsi", your new language file for Attribute Manager would be: /admin/attributeManager/languages/farsi/attributeManager.php.  Then simply translate the language in the attributeManager.php file to farsi.  


    hope that helps.

  8. firebug only reports that it occurs at line 65 of requester.js




    The message I'm asking for can't be found in Firebug.  The error is a server error related to something that the server doesn't like in PHP.  You should have an error log, maybe called "error_log" within the admin directory in your site's hosting space on the server.  your error log should update with an error message each time this happens.  If you don't see it, ask your host if they can enable error logging on your site.

  9. Abstract
    The purpose of this set of bash scripts is to help automate setting permissions on osCommerce shops and in addition, provide a convenient way to install batches of updates from a zip file.
    Folks that live in rural areas that rely on slow or high latency internet connections may find the zip installer a convenient way to update their shop. Instead of all the overhead of single file checks and uploads, you can upload a zip package then install it with proper permission settings using these scripts. If you prefer your shop locked down, the script will unlock it, install the update, and lock it down again. It's fast and convenient.
    There are three sets of bash scripts included. Two sets are developed for a server admin to be run from a root account. The other set is designed to be used by a shop owner from an account level shell login.
    From the shop owners perspective, the scripts where designed to take the guess work out of setting the permissions on an osCommerce shop. From the server admin's perspective, it's a fast convenient way to script updates and settings changes on one or multiple shops on a server.
    The "Extended" permissions level conforms with the osCommerce 2.3 Security Directory Permissions check.
    Quickly and easily set 3 different file and directory permissions levels on your shop.
    Quickly and easily lock and unlock the configure.php files.
    Easy to customize to fit your specific shop's needs.
    Conveniently install shop updates from an uploaded zip file and follow-up with setting the correct permissions.



    I Have the following problem when i wan't to add a new Option Name.


    1062 - Duplicate entry '1-4' for key 'PRIMARY'

    insert into products_options_values (products_options_values_id, language_id, products_options_values_name) values ('1', '4', 'test')

    [TEP STOP]


    found the bug, thanks for reporting!  Just replace and upload the /admin/attributeManager folder.  I think that should do it.
    AJAX AttributeManager v2.8.14 Package Released with a couple fixes.
    + Turned off QT Pro plugin that was left enabled in Phocea's version
    + Fixed 1062 - Duplicate entry '1-4' for key 'PRIMARY'   insert into products_options_values (products_options_values_id, ...   in shops with osC2.2ms2 & using mysql_  PHP functions
    ** All non-english Translations need at least a little more work. **
    ** espanol, french, german, hebrew, italian, portugues, russian **
    AJAX AttributeManager v2.8.14: http://addons.oscommerce.com/info/4063

  11. New packages have been uploaded with new features, updates.   See the changelog for details.  Some highlights:


    - Complete rewrite.
    - Added page to allow a preview of all SQL commands that will be performed in an install or update.
    - Added versioning that allows conditional database updates based on a stored contribution version.
    - Converted the functions file to a class. Now properly containing data and functionality in a class.
    - Added ability to preload new tables with static or example data.



    Database Configurer v1.1.0 for osCommerce v2.2ms2 (all releases): http://addons.oscommerce.com/info/4894

    Database Configurer v1.1.0 for osCommerce v2.3.x: http://addons.oscommerce.com/info/9108

  12. New packages have been uploaded with new features, updates, and a few fixes. After working with it for a while, I found some changes and conveniences that made sense to me and my clients including some input database handling rewrites for safety and security. Hope everyone likes this update.  See the changelog for details.  Some highlights:


    + fulfilled the wish list item of a more friendly date display. 
    + added support for retrieving support topic IDs from the new style forum links
    + you may now simply enter a topic ID into the support link field and the code will build the full link.
    + added optional date columns to the main page list display. Simply check the box of the date you want to show (and/or sort by), and voila!
    + added &view=getlastpost to the support links to save some time by jumping to the end of the support topics
    + added #tabs-hist to contribution link to jump directly to the list of contributions on its page.
    + added osCommerce 2.3's date picker to date input fields for osC v2.3 version of Contribution Tracker.
    + added osCommerce 2.2ms2's date picker to date input fields for osC v2.2 version of Contribution Tracker.
    Contribution Tracker v1.8.0 for osCommerce v2.2ms2 (all releases):  http://addons.oscommerce.com/info/4815
    Contribution Tracker v1.8.0 for osCommerce v2.3.x: http://addons.oscommerce.com/info/9106

  13. Updated package with several more fixes for latest php & mysql requirements.


    AJAX AttributeManager v2.8.12 released


    + Fixed Call to undefined function amGetSesssionVariable() introduced in v2.8.11

    + Semicolon missing in: adminattributeManagerjavascriptrequester.js

    + Added UTF8 Character Encoding to the created tables for osC 2.3.x+

    + Fixed PHP Strict Standards: Only variables should be passed by reference in attributeManagerGeneralFunctions.inc.php caused on PHP5.4.

    + Various input scrubbing issues cleaned up. (I know, it's behind a login and not hugely important, but I sleep better)

    + Fixed a couple more PHP5 deprecated pass by reference issues


    ** All non-english Translations need at least a little more work. **

    ** espanol, french, german, hebrew, italian, portugues, russian **

  14. Updated package with a number of fixes for latest php & mysql requirements.



    AJAX AttributeManager v2.8.11 released


    + Updated mysql function to msqli for forward compatibility (should maintain backward also)
    + removed PHP5 deprecated idiom =& new in attributeManagerGeneralFunctions.inc.php
    + Fixed PHP Strict Standards: Non-static method amDB::xxxxx() caused on PHP5.4.
    + Fixed "Illegal string offset 'id' & 'text' in html_output.php" caused by malformed array passed to tep_draw_pull_down_menu in attributeManagerPrompts.inc.php
    + Fixed more short <? PHP tags, extra commas, and missing semi-colons
    + Sync all language files and converted all files to UTF-8
    + Added some missing changelog stuff
    + Included required GNU License Statement

    ** All non-english Translations need at least a little more work. **
    ** espanol, french, german, hebrew, italian, portugues, russian **