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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| 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
|
|
#3
| |||
| |||
| 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! |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |