Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

edukes

Pioneers
  • Posts

    149
  • Joined

  • Last visited

Posts posted by edukes

  1. @@edukes  Yes I was replying to you. osCommerce 2.3.4 is pretty old now, and the 2.4 release is supposed to happen fairly soon. If you really want the latest look and feel, go with one of the 2.3.4R (Bootstrap) releases until 2.4 is ready. Gold is the safest but lacks some of the cutting-edge features; edge is the latest but may be unstable. Your choice.

     

    There are no version issues with Bootstrap themes like there are with JQueryUI themes.

     

    Regards

    Jim

    Thanks, Jim!

     

    I'm just trying to stay of the game this time.

     

    A few year back when my hosting company changed the version php, it took weeks to straighten out all those deprecated functions on a heavily modified shop. This time, I want to keep it simple.

     

    When they change to php 5.4x, it will break my shop again. I have a Centos 7 VM with php 5.4 running here at the house on my server and testing opencart, but I don't really like it.

     

    Thanks, again!!

  2. You didn't say which version of osCommerce you are running, but it sounds like a stock 2.3.x version. For that version, just follow the instructions in the manual. You will need to rename the JQueryUI file or the theme file so that they have the same version number. It doesn't really matter which number you use as long as they are the same. Then enter that number in the JQueryUI box in the Theme Switcher setup menu.

     

    JQueryUI versions later than 10 are not supported by osCommerce. You would need to modify the code to use the new versions, or stick with an older version. I don't know if themes generated for the newer versions will work with the older code. You could try it and find out.

     

    If you are just starting out, I suggest that you dump your install and replace it with the new Responsive build. The support is much better, and you have an upgrade path to the new version of osCommerce when it is released.

     

    Regards

    Jim

     

     

    Not sure if this is a reply to my post, but I am using the most current version of osCommerce (2.3.4) and the Theme Switcher released in July 2016. What is the Responsive build?

     

    Been running rc2a for years. Time for a fresh look.

  3. Trying to install Theme Switcher on a fresh install of OSC 2.3.4.

     

    Been working on this since this past Sunday. I'm just not getting it.

    I have the error, The theme CSS file is the wrong version or missing!

     

    Checking the users manual in the troubleshooting section, 4.3 Theme Doesn't Show in Theme Switcher, I copied the themes to catalog/ext/jquery/ui

     

    Went back to section 3.2,

     

    The selected version of the theme was found. This tells you that the version of your theme
    matches the version of your jQuery UI file. If you see The theme CSS file is the wrong
    version or missing! instead, you probably updated the jQuery UI file without updating the
    theme. Go check that again.

     

    In the Theme Switcher package, there are two directories, Boostrap and OsCommerce 2.3.x. I used the files from the 2.3.x directory. The files in Boostrap, break things.

     

    Not sure what I'm doing wrong.

     

    TIA

  4. That was done on a heavily modified 2.3.1. I haven't had the time to clean it up and port it to 2.3.3. There should not be that many differences with 2.3.3, and probably none inside the MVS change blocks.

     

    Regards

    Jim

     

    I didn't find any diffs in the MVS sections. The hardest is the admin/category file. MVS, Header Tags, SEO URLS and Add More Fields like being in the same places. If you look at the checkout_ files and compare them from the files in 2.3.3 you can see some changes, but I doubt that's what's causing the problem since I have tried using the files from the mvs package and still get the same errors.

     

    Pretty sure its on the admin side.

  5. @@edukes

    You have an error somewhere in your Admin setup. The vendor should save as Vendor #1 (My Store or whatever you renamed that as.) For USPS, you need the store address including Zip code in the Vendor settings. The flat rate should work without any additional data. You may have additional installation errors/bugs. Check your database to see if data is being saved correctly.

     

    Regards

    Jim

     

    I checked the products table in the database. Then vendor id is set to 1, My Store.

     

    I guessing that the 1 in "Warning: strpos() expects parameter 1 to be string" is the vendor id of My Store.

  6. On which vendors? Are you certain you have the vendor specified for the product(s) in your cart?

     

    Regards

    Jim

     

    I have only one, My Store.

     

    When I go into a products description, it shows no vendor. I tried changing it to My Store but it won't save. I can do an easy populate download and it shows all products with the vendor name as My Store.

     

    Also, I found to tables that were not added by the mvs.sql

     

    products_sort_order

    products_qty_blocks

     

    I added them to the products table as VARCHAR. That may not be right.

  7. Hello,

     

    Does anyone have easy populate working with MVS installed?

     

    My hosting provider upgraded to PHP 5.3. I have a 2rc2a shop and was using EP 2.74 for MVS. After I went through and corrected all the depricated function, I can't get EP to work, 2.74 or 2.77a w/attributes.

     

    2.74 doesn't split the files. 2.77a splits the files but won't strip carrige returns/line feeds from the products_description which causes the file to be mangled

     

    Any help would be greatly appreciated.

     

    I must have gotten the memo, but the new easy populate uses the vendor name, not the vendor id. :blush:

  8. @@edukes

    Your use of preg_match() looks correct to me.

     

    When I see a ?> followed by the headers already sent error message, it's always been due to a space or other special character after the ?> in a language file, or a duplicated ?>. Yours indicates that the problem is in /includes/languages/english/checkout_payment.php.

     

    Regards

    Jim

     

    Thanks, I found the error in the includes/languages/english/checkout_payment.php file. I had an extra ?> at the end of the file I didn't see the first time.

     

    I'm getting there. Going through the check out, I get to checkout_confirmation and get

     

    Warning: strpos() expects parameter 1 to be string, array given in /......includes/classes/vendor_shipping.php on line 46

     

    Warning: substr() expects parameter 1 to be string, array given in /....../includes/classes/vendor_shipping.php on line 46

     

    Warning: strpos() expects parameter 1 to be string, array given in /....../includes/modules/order_total/ot_shipping.php on line 48

     

    Warning: substr() expects parameter 1 to be string, array given in /....../includes/modules/order_total/ot_shipping.php on line 48

     

    We're getting close!! :)

     

    Thanks!!

  9. Have a new problem.

     

    Going through the checkout process and I get to checkout_confirmation, then

     

    ?>

    Warning: Cannot modify header information - headers already sent by (output started at /....../includes/languages/english/checkout_payment.php:36) in /....../includes/functions/general.php on line 50

     

    Not sure what's causing the ?>

     

    I am using the checkout_confirmation file from the 1.3 package. The only addition to the general.php is the Ultimate SEO URLs 5 Pro

     

    TIA

  10. Ooops, I thought I would run into this again.

     

    Deprecated: Function ereg() is deprecated in /....../admin/vendor_modules.php on line 229

     

    In my live store I made this change:

     

    // if (ereg('->', $use_function)) {

    if (preg_match('/->/', $use_function)) {

     

    Not sure its right but I don't get any errors

  11. That's odd. It seems to be looking for the file in catalog/includes/classes/xmldocument.php, which is where it should be. Try putting a copy in admin/includes/classes/xmldocument.php and see if that works. Or you could just delete the /includes/modules/vendors_shipping/upsxml.php, or replace it with the new version from the MVS download page if you want to use UPS.

     

    Regards

    Jim

     

    Moving xmldocument,php to the admin side worked. I have two errors on the catlog side during checkout but I think that has to do with not having a shipping method specified/setup.

     

    Thanks!!

  12. Just installed the 1.3 version on a 2.3.3 test store. Everything went OK. Had some missing files I had to take from the 1.2.3 package, includes/languages/english/modules/vendors_shipping and a ups file that I can't remember the name.

     

    Any way, I click on the default vendor, My Store, Manage and it gives me the error:

     

    Warning: require(includes/classes/xmldocument.php) [function.require]: failed to open stream: No such file or directory in /....../includes/modules/vendors_shipping/upsxml.php on line 29

     

    Warning: require(includes/classes/xmldocument.php) [function.require]: failed to open stream: No such file or directory in /....../includes/modules/vendors_shipping/upsxml.php on line 29

     

    Fatal error: require() [function.require]: Failed opening required 'includes/classes/xmldocument.php' (include_path='.:/usr/local/php5_3/lib/php') in /....../includes/modules/vendors_shipping/upsxml.php on line 29

     

    Both these are present. Not sure what's going on.

     

    The offending line of code in upsxml.php is: require ('includes/classes/xmldocument.php');

     

    TIA

  13. Started getting this error after installing the Store Mode contribution:

     

    Fatal error: Call to undefined function StripSID() in /home/....../includes/modules/header_tags_social_bookmarks.php on line 43 in index.php and product_info.php files.

     

    So, I started with a fresh copy of index.php made the edits installing only the headertag contribution and re-uploaded the headertag files. I still get the error.

     

    I'm thinking the sql from the Store Mode contribution has caused a conflict somewhere. Is that possible?

     

    TIA

  14. Unfortunately, that error is happening because of what is sent to function and the function is reporting the error. So it doesn't indicate anything by itself. You will need to isolate the cause of the problem or just re-install from scratch. If the error only occurs on product pages, for example, then replace your product_info.php file with your original or with the one in the contribution to see if the problem goes away. If it does, then use that file to compare against the failing one to find the problem.

     

    Thanks, Jack! That fixed it.

     

    Will start over with a fresh install. :sweating:

     

    Oh, one more thing. I skipped over the parts with the editors since I don't have one installed. Maybe that's where I went wrong. Should I skip over those parts or is it safe to add them?

     

    Thanks!!

  15. Hello,

     

    I tried upgrading Header Tags from 3.1.8 to 3.2.9, set by step in the upgrade docs. I must have done something wrong. Couldn't figure it out so I decided to uninstall. That didn't work oit to well either.

     

    This is a 2rc2a shop.

     

    When I click on a category, I get,

     

    Warning: mysql_fetch_array() expects parameter 1 to be resource, null given in .../includes/functions/database.php on line 99

     

    From what I've read, its probably not the database.php file but something in index.php or product_info.php. I just can't find it.

     

    I hate to post that much code, but can.

     

    Anyone know what I need to be looking for?

     

    TIA

  16. Hello,

     

    Does anyone have easy populate working with MVS installed?

     

    My hosting provider upgraded to PHP 5.3. I have a 2rc2a shop and was using EP 2.74 for MVS. After I went through and corrected all the depricated function, I can't get EP to work, 2.74 or 2.77a w/attributes.

     

    2.74 doesn't split the files. 2.77a splits the files but won't strip carrige returns/line feeds from the products_description which causes the file to be mangled

     

    Any help would be greatly appreciated.

  17. I really need some help.

     

    I think I know whats causing the problem. In the Excel file I receive from one of my vendors. There appears to be carriage returns and/or line feed in the v_products_description. Previously, I had no problems until my hosting provider upgraded to PHP 5.3.

     

    Anyone know how to remove these from the the decription column? I have tried every combination in the EP configuration option section but nothing has worked.

     

    // **** Field Separator ****

    // change this if you can't use the default of tabs

    // Tab is the default, comma and semicolon are commonly supported by various progs

    // Remember, if your descriptions contain this character, you will confuse EP!

    // if EP_EXCEL_SAFE_OUTPUT if false (below) you must make EP_PRESERVE_TABS_CR_LF false also.

    $ep_separator = "\t"; // tab is default

    //$ep_separator = ','; // comma

    //$ep_separator = ';'; // semi-colon

    //$ep_separator = '~'; // tilde

    //$ep_separator = '*'; // splat

     

     

    // *** Excel safe output ***

    // this setting will supersede the previous $ep_separator setting and create a file

    // that excel will import without spanning cells from embedded commas or tabs in your products.

    // if EP_EXCEL_SAFE_OUTPUT if false (below) you must make EP_PRESERVE_TABS_CR_LF false also.

    define ('EP_EXCEL_SAFE_OUTPUT', true); // default is: true

    //define ('EP_EXCEL_SAFE_OUTPUT', false); // default is: true

     

    if (EP_EXCEL_SAFE_OUTPUT == true) {

    if ($language == 'english') {

    $ep_separator = ','; // comma

    } elseif ($language == 'german') {

    $ep_separator = ';'; // semi-colon

    } else {

    $ep_separator = ','; // comma // default for all others.

    }

    }

     

    // if EP_EXCEL_SAFE_OUTPUT if true (above) there is an alternative line parsing routine

    // provided by Maynard that will use a manual php approach. There is a bug in some

    // PHP versions that may require you to use this routine. This should also provide proper

    // parsing when quotes are used within a string. I suspect this should also resolve an issue

    // recently reported in which characters with a german "Umlaute" like ÄäÖöÜü at the Beginning

    // of some text, they will disappear when importing some csv-file, reported by TurboTB.

    define ('EP_EXCEL_SAFE_OUTPUT_ALT_PARCE', true); // default is: false

     

     

    // *** Preserve Tabs, Carriage returns and Line feeds ***

    // this setting will preserve the special chars that can cause problems in

    // a text based output. When used with EP_EXCEL_SAFE_OUTPUT, it will safely

    // preserve these elements in the export and import.

    define ('EP_PRESERVE_TABS_CR_LF', false); // default is: false

    // define ('EP_PRESERVE_TABS_CR_LF', true); // default is: false

     

     

    TIA

  18. I have an older store (2rc2a) with too many mods so I'm trying to get it compatible with php 5.3 as my hosting provider decided to upgrade without letting me know.

     

    There were a lot of depricated functions and I think I have corrected them all, Everything is working except EP.

     

    I can upload a file and it gets split. I then run EP on the split files and it displays the products have been added. However, they are not showing up. If I re-run a file its displays the products have been updated. They must be going somewhere, but not where they should.

     

    Any help is greatly appreciated.

  19. Hello,

     

    Using EP 2.77a. Not sure what's wrong but when I upload a file, it shows its being added but it does not show up in the catalog. No errors reported. I'm using excel to create the tab delimited file as I have always done, using EP to split it

     

    I updated my catalog last month with no problems. As far as I know, I haven't changed anything.

     

    Any help or suggestions would be greatly appreciated.

  20. I installed this mod and thought everything was working until I clicked on an order in the admin section. I re-checked the installation and ran the sql files.

     

    Here's the error:

     

    1054 - Unknown column 'customers_dummy_account' in 'field list'

     

    select customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, customers_dummy_account, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_expires, currency, currency_value, date_purchased, orders_status, last_modified from orders where orders_id = '1838'

     

    [TEP STOP]

     

    Is this the issue with the 'join' where you need to put a '(' after "from" and a ')' before "join"?

     

    TIA

  21. UPDATE:

     

    The problem has been resolved.

     

    There was an image in the manufacturers box that was too large (my fault). Apparently my emails were not being received nor was I receiving the authors emails. The site is working perfectly and the author has gone out of the way in helping get my site working.

     

    There was a learning curve to the original OsC layout and there is one if you change the layout/template.

  22. Just wanted to share something I thought would benefit all shop owners.

     

    I got tired of the 'same old' look and wanted something better. Not being a creative/design type person, I searched for an OsC template, not a STS or BTS template but a pure OsC template. I found one that I liked. I spent money for this. Not as much as some I had seen. Thought it would be a 'good' investment.

     

    For a week now, I have not left my PC trying to get the mods I have installed working correctly. While I was smart enough to back things up and can go back to my 'old' shop in a click, I am challenged to make this work.

     

    Here's the problem: http://www.palmettoshopper.com/outlet/moonshine-dring-belt-p-7079.html

     

    It appears to be an issue with the template and/or the Attributes Plus contribution. The author has left me high and dry. I haven't heard from her in days.

     

    So my tip is this: The grass isn't greener on the other side!! While the basic OsC look isn't all that appealing, it works!!

×
×
  • Create New...