Results 1 to 8 of 8

2 osCMax-2.0RC2 issues

This is a discussion on 2 osCMax-2.0RC2 issues within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; In regards to osCMax-2.0RC2-update051112: 2 issues I wish to see if other can replicate: 1: 'Buy Now' link prompts the ...

      
  1. #1
    New Member macfionn's Avatar
    Join Date
    Dec 2005
    Posts
    11
    Rep Power
    0


    Default 2 osCMax-2.0RC2 issues

    In regards to osCMax-2.0RC2-update051112:

    2 issues I wish to see if other can replicate:

    1: 'Buy Now' link prompts the following error:
    Code:
    1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    
    delete from customers_wishlist WHERE customers_id=2 AND products_id=
    
    [TEP STOP]
    2: 'Enlarge Image' link not is showing on product page, therefore no image other than the thumbnail can be viewed.

    This is a default install, with a modified template. However, I have tested the default template to verufy I didnt muck things up and errors still generated.

    Feedback please? Even if to say that 'I am running same version and it works for me'?

    Much appreciated.

    Mac

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    20,759
    Rep Power
    573


    Default RE: 2 osCMax-2.0RC2 issues

    1. Cannot replicate on RC2 plus the update. Works fine for me.

    2. Not an issue. You need to set up mopics. see the docs:
    http://oscdox.com/index.php?op=modlo...micMoPicsSetup
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member macfionn's Avatar
    Join Date
    Dec 2005
    Posts
    11
    Rep Power
    0


    Default Re: RE: 2 osCMax-2.0RC2 issues

    Quote Originally Posted by msasek
    1. Cannot replicate on RC2 plus the update. Works fine for me.
    Thank you for replying.
    It appears this is already a known issue as it has been made a sticky:
    http://oscdox.com/PNphpBB2-viewtopic-t-5439.html

    This SQL error still exists in the 2.0 C2 issue, however, sarahjessica appears to have posted a fix. I have used the below modification and can confirm it has resolved this specific SQL error:

    Code:
    The fix for product_listing_col.php does not fix the SQL error because the problem is actually coming from includes/application_top.php - the database query is wrong. To fix it, change this:
    
    Code:
    // performed by the 'buy now' button in product listings and review page
          case 'buy_now' :        if (isset($HTTP_GET_VARS['products_id'])) {
    // BOF: MOD - Wish List 2.3
                if (tep_session_is_registered('customer_id')) {
                  tep_db_query("delete from " . TABLE_WISHLIST . " WHERE customers_id=$customer_id AND products_id=$products_id");
                  tep_db_query("delete from " . TABLE_WISHLIST_ATTRIBUTES . " WHERE customers_id=$customer_id AND products_id=$products_id");
                }
    // EOF: MOD - Wish List 2.3
    
    
    to this:
    
    Code:
     case 'buy_now' :        if (isset($HTTP_GET_VARS['products_id'])) {
    // BOF: MOD - Wish List 2.3
              if (tep_session_is_registered('customer_id')) {
              tep_db_query("delete from " . TABLE_WISHLIST . " where products_id = '" . $HTTP_GET_VARS['pid'] . "' and customers_id = '" . $customer_id . "'");
                                   // Begin Wish List Code w/Attributes
                                   tep_db_query("delete from " . TABLE_WISHLIST_ATTRIBUTES . " WHERE customers_id=$customer_id AND products_id='" . $HTTP_GET_VARS['pid']."'");
              }
    // EOF: MOD - Wish List 2.3
    Thanks sarahjessica.

    Mac

  4. #4
    New Member macfionn's Avatar
    Join Date
    Dec 2005
    Posts
    11
    Rep Power
    0


    Default Re: RE: 2 osCMax-2.0RC2 issues

    Quote-
    "Not an issue. You need to set up mopics. see the docs:
    http://oscdox.com/index.php?op=modload& ... oPicsSetup"
    -End quote

    Michael, I don't think of myself as an ignorant person, nor do i refrain from seeking answers for myself. I have used all the search terms I thought relevant to setup the mopics before I posted my request for assistance. Please be assured that my settings are identical to the letter to the ones posted in that 'tutorial' with the exception of {a}... i wanted it numerically based, though that point is currently moot as I cant even get my one single picture to display any larger than a thumb on that products page, much less multiple pics. (again.. no view larger image link provided):

    * Big Image Types: jpg
    * Thumbnail Image Types: jpg
    * Extra Image Pattern: imagebase_{1}
    * Big Images Directory: images_big/
    * Thumbnail Images Directory: thumbs/
    * Main Thumbnail In "Thumbnail Images Directory": false

    So my 'MoPics' has been configured properly. And I assume this is to work in conjunction with the default admin uploader and not FTP nor FCKeditor (Though yes.. I realize it can work in conjunction with FTP).

    That tutorial does not go through the hows.. but mainly the whys. Whoever wrote it, Im grateful they took the time... but I do not follow their manner of tutorials. No slight towards the author whatsoever.. but it spends too much time on patterns, and not enough on setup, usage and basic understanding.

    Am I to assume once my settings are as they are (again.. see above), that everything is suppose to fall into place, and the images I upload through the product uploader are now to go to the pre-determined folders? My pics are all uploading into the default image folder... not the set subfolders as dictated in the MoPics settings above.

    Does Mopics auto-create the thumbnail based on the single large image you upload and place it in the thumbs/ directory while placing the large picture in the images_big/?

    Where does the IMAGES option under configuration fit into all of this?:
    Small Image Width 100
    Small Image Height Info
    Heading Image Width 57 Info
    Heading Image Height Info
    Subcategory Image Width 100 Info
    Subcategory Image Height Info
    Calculate Image Size true Info
    Image Required false Info

    And how about the admin/configure.php: define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

    Theres a lot of fingers in the 'image' pie, and my head is swimming trying to chase this tail.

    Now granted... this may be a non-issue to you, but until I can comprehend this methology and correct the problem, it is an issue to me. Please dont misinterperate me... Im not trying to be difficult in ANY way.. and I sincerely appreciate your responding to me. Im just trying to fix this problem because it directly affects the food I put on my familys table... surely you understand.

    To this end, may I please request a better form of understanding on the process involved here so I can get to the bottom of this?

    Thank you.

    Mac

  5. #5
    New Member macfionn's Avatar
    Join Date
    Dec 2005
    Posts
    11
    Rep Power
    0


    Default RE: Re: RE: 2 osCMax-2.0RC2 issues

    If 'anybody' would have some insight into the above, it really would be appreciated.

    Mac

  6. #6
    New Member macfionn's Avatar
    Join Date
    Dec 2005
    Posts
    11
    Rep Power
    0


    Default RE: Re: RE: 2 osCMax-2.0RC2 issues

    Ok.. is msasek the ONLY resource available for oscmax??

  7. #7
    New Member macfionn's Avatar
    Join Date
    Dec 2005
    Posts
    11
    Rep Power
    0


    Default

    Problem still stands. Glad this is a 'non-issue', michael.

  8. #8
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    9


    Default

    I don't have time to go all through it, but here's a quickie...

    Dynamic mopics does NOT autogenerate thumbnails. You have to do that, then upload the thumbs and Big's to the appropriate directories and name them according to the proper naming scheme. Dynamic mopics will recognize the namign scheme and make them show up in your store.

    This method works best when used in conjunction with something like an adobe photoshop action to resize your images properly in a batch action set.

    Good luck. If this doesn't help you post back and I'll see if I can help you out some more.

Similar Threads

  1. osCMax 2.0RC2 Security Patch/Update 051112
    By wilde-uk in forum osCmax v2 Installation issues
    Replies: 5
    Last Post: 04-12-2006, 07:45 PM
  2. Is this the full program - osCMax-2.0RC2-update051112 p
    By ozstar in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 02-08-2006, 09:39 AM
  3. osCMax-2.0RC2-update051112 1064 Error.
    By gamerigs in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 12-05-2005, 06:44 AM
  4. Security Patch osCMax 2.0RC2
    By warrenthewindmill in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 12-04-2005, 09:50 AM
  5. osCMax 2.0RC2 Security Patch/Update 051112
    By michael_s in forum Announcements
    Replies: 0
    Last Post: 11-27-2005, 09:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •