@ emule: Go to your phpMyAdmin and change the value from the field thumb from varchar(255) to text. Then this shouldn't happens anymore.emule wrote:
Code: Select all
SQL ERROR [ mysql4 ] Data too long for column 'thumb' at row 1  SQL INSERT INTO phpbb3_classifieds (ad_title, short_desc, ad_price, ad_price_text, ad_poster_id, cat_id, notify_comments, phone, days_active, paypal, paypal_currency, edit_time, last_edit_by, ad_date, ad_expire, ad_description, bbcode_uid, bbcode_bitfield, bbcode_options, thumb, ad_prefix_id, ad_location_id) VALUES ('test', 'sdsddfdsf', '42142', 0, 2, '1', 1, '', '', '', 'EUR', '', '', 1323884998, 1324489798, 'dsfsdfsdfdsdsfdsf', '', '', 7, 'http://localhost/phpbb3/buysell/images/thumb/neige 013_1323884964.jpg<b>[phpBB Debug] PHP Warning</b>: in file <b>/buysell/includes/functions_buysell.php</b> on line <b>70</b>: <b>imagejpeg() [<a href=\'function.imagejpeg\'>function.imagejpeg</a>]: Unable to open \'C:/wamp/www/phpbb3/buysell/images//thumb/neige 013_1323884964.jpg\' for writing: No such file or directory</b><br />', 0, 0) BACKTRACE FILE: includes/db/mysql.php LINE: 175 CALL: dbal->sql_error() FILE: buysell/manage_ad.php LINE: 294 CALL: dbal_mysql->sql_query()
The same you can use in the options below (when the admin enables them). Then you see an additional tab, where you can upload files. The admins over here disabled this tab, but normally you can see it.batgalim wrote:femo,
the upload doesn't work for me at all.
Nothing happen when I upload image.
This is the reason I can't move from 1.0.0 to 1.1.0
Can you explain what is the "internal upload procedures"?
I do not implement anything. It's Kamals mod But I'm pretty sure he knows what I mean. So he needs to implement the attachment part from the posting.php and the posting_editor.html into his code.batgalim wrote:femo:
I know what is the attachment option in the regular forum.
But how do you implement it in the classifieds MOD ?