osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Features Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-11-2005, 07:11 PM
macfionn's Avatar
New Member
 
Join Date: Dec 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
macfionn
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 12-11-2005, 09:09 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 12-11-2005, 09:39 PM
macfionn's Avatar
New Member
 
Join Date: Dec 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
macfionn
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 12-13-2005, 12:10 AM
macfionn's Avatar
New Member
 
Join Date: Dec 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
macfionn
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 12-13-2005, 03:04 PM
macfionn's Avatar
New Member
 
Join Date: Dec 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
macfionn
Default RE: Re: RE: 2 osCMax-2.0RC2 issues

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

Mac
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 12-14-2005, 11:43 AM
macfionn's Avatar
New Member
 
Join Date: Dec 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
macfionn
Default RE: Re: RE: 2 osCMax-2.0RC2 issues

Ok.. is msasek the ONLY resource available for oscmax??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 12-18-2005, 10:50 AM
macfionn's Avatar
New Member
 
Join Date: Dec 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
macfionn
Default

Problem still stands. Glad this is a 'non-issue', michael.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 01-02-2006, 09:43 PM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
groggory
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 07:45 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax