osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Last_Page_URL (whos_online) Can't view products

This is a discussion on Last_Page_URL (whos_online) Can't view products within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Something is wrong here that prevents products from being viewed when clickek on from the main page. Any clues? The ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 04-19-2007, 05:05 AM
Member
 
Join Date: Apr 2007
Posts: 42
Thanks: 7
Thanked 1 Time in 1 Post
Rep Power: 0
Twister is on a distinguished road
Default Last_Page_URL (whos_online) Can't view products

Something is wrong here that prevents products from being viewed when clickek on from the main page.
Any clues? The column length is 64 and the data is less than 1/2 that length.


1406 - Data too long for column 'last_page_url' at row 6

update whos_online set customer_id = '0', full_name = 'Guest', ip_address = '127.0.0.1', time_last_click = '1176979252', last_page_url = '/catalog/product_info.php?products_id=1&osCsid=c8pnl3pkk3gs 1jrvsp1t0k9v97' where session_id = 'c8pnl3pkk3gs1jrvsp1t0k9v97'

[TEP STOP]


when the qry is inserted into mySQL it sees the URL as a continous string:

SQL query:
UPDATE whos_online SET customer_id = '0',
full_name = 'Guest',
ip_address = '127.0.0.1',
time_last_click = '1176979252',
last_page_url = '/catalog/product_info.php?products_id=1&osCsid=c8pnl3pkk3gs 1jrvsp1t0k9v97' WHERE session_id = 'c8pnl3pkk3gs1jrvsp1t0k9v97'
MySQL said:
#1406 - Data too long for column 'last_page_url' at row 6
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #2  
Old 04-19-2007, 08:50 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,074
Thanks: 81
Thanked 348 Times in 327 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: Last_Page_URL (whos_online) Can't view products

How about some debug info... mysql version?

This is a mysql issue, not and osCMax issue. Just google the error for more info.

Here are some fixes:
osCommerce: Bug Reports)
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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!
Reply With Quote
  #3  
Old 05-19-2007, 11:21 AM
Lurker
 
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
alfapaulo is on a distinguished road
Smile Re: Last_Page_URL (whos_online) Can't view products

Open your PHPMyadmin.

Choose your database (tipically not "information schema", not "mysql" and not "test").

Choose your table whos_online from the left side.
Choose your field in the middle of the screen last_page_url (place a Tick in the box in front).
Choose the Pencil (to edit) and change the varchar(64) to varchar(256).

Hit Save and you should be done!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

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
Must register to view prices. islander osCMax v2 Customization/Mods 5 11-09-2006 07:15 AM
Cannot view large images in IE jbanda osCMax v2 Features Discussion 2 07-28-2006 01:23 PM
Getting 404 error when trying to view products bethphilbin osCommerce 2.2 Installation Help 8 01-19-2005 08:01 PM
View products in category as a list Sillex osCMax v1.7 Discussion 3 09-05-2004 08:30 PM
Can't view product pages... operadivamommy osCMax v1.7 Installation 1 09-01-2004 04:44 PM


All times are GMT -8. The time now is 11:03 PM.


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