1
ghbook
Image stored in database
  • 2008/2/20 14:49

  • ghbook

  • Just popping in

  • Posts: 21

  • Since: 2003/11/14


I use XOOPS 2.0.18 and, i don't really remenber how, the images stored into the database form are no longer displayed.

When i ask an image category to be displayed with system-->Images everything seems ok, but images don't appear...
here the debug for all errors
Quote:
Notice: Only variables should be assigned by reference in file /kernel/image.php line 253
Notice: Only variables should be assigned by reference in file /modules/system/admin/images/main.php line 120
Notice: Only variables should be assigned by reference in file /kernel/imagecategory.php line 218
Notice: Only variables should be assigned by reference in file /modules/system/admin/images/main.php line 131
Notice: Only variables should be assigned by reference in file /kernel/imagecategory.php line 218
Notice: Only variables should be assigned by reference in file /modules/system/admin/images/main.php line 131
Notice: Only variables should be assigned by reference in file /kernel/imagecategory.php line 218
Notice: Only variables should be assigned by reference in file /modules/system/admin/images/main.php line 131
Notice: Only variables should be assigned by reference in file /kernel/imagecategory.php line 218
Notice: Only variables should be assigned by reference in file /modules/system/admin/images/main.php line 131
Notice: Only variables should be assigned by reference in file /kernel/imagecategory.php line 218
Notice: Only variables should be assigned by reference in file /modules/system/admin/images/main.php line 131
Notice: Only variables should be assigned by reference in file /kernel/imagecategory.php line 218
Notice: Only variables should be assigned by reference in file /modules/system/admin/images/main.php line 131
Notice: Only variables should be assigned by reference in file /kernel/imagecategory.php line 218
Notice: Only variables should be assigned by reference in file /modules/system/admin/images/main.php line 131
Notice: Only variables should be assigned by reference in file /kernel/imagecategory.php line 218
Notice: Only variables should be assigned by reference in file /modules/system/admin/images/main.php line 131
Notice: Only variables should be assigned by reference in file /kernel/imagecategory.php line 218
Notice: Only variables should be assigned by reference in file /modules/system/admin/images/main.php line 131


and the queries
Quote:
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT sess_data, sess_ip FROM xoops_session WHERE sess_id = '2a5811793c01e3ca8a29c74fd974f953'
SELECT * FROM xoops_users WHERE uid=1
SELECT * FROM xoops_modules WHERE dirname = 'system'
SELECT * FROM xoops_imagecategory WHERE imgcat_id=7
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_admin' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2' OR gperm_groupid = '4'))
SELECT COUNT(*) FROM xoops_image WHERE imgcat_id = '7'
SELECT * FROM xoops_image WHERE imgcat_id = '7' ORDER BY image_weight ASC LIMIT 0, 20
SELECT DISTINCT c.* FROM xoops_imagecategory c LEFT JOIN xoops_group_permission l ON l.gperm_itemid=c.imgcat_id WHERE (l.gperm_name = 'imgcat_read' OR l.gperm_name = 'imgcat_write') AND (imgcat_storetype = 'db') ORDER BY imgcat_weight, imgcat_id ASC
SELECT DISTINCT c.* FROM xoops_imagecategory c LEFT JOIN xoops_group_permission l ON l.gperm_itemid=c.imgcat_id WHERE (l.gperm_name = 'imgcat_read' OR l.gperm_name = 'imgcat_write') AND (imgcat_storetype = 'db') ORDER BY imgcat_weight, imgcat_id ASC
SELECT DISTINCT c.* FROM xoops_imagecategory c LEFT JOIN xoops_group_permission l ON l.gperm_itemid=c.imgcat_id WHERE (l.gperm_name = 'imgcat_read' OR l.gperm_name = 'imgcat_write') AND (imgcat_storetype = 'db') ORDER BY imgcat_weight, imgcat_id ASC
SELECT DISTINCT c.* FROM xoops_imagecategory c LEFT JOIN xoops_group_permission l ON l.gperm_itemid=c.imgcat_id WHERE (l.gperm_name = 'imgcat_read' OR l.gperm_name = 'imgcat_write') AND (imgcat_storetype = 'db') ORDER BY imgcat_weight, imgcat_id ASC
SELECT DISTINCT c.* FROM xoops_imagecategory c LEFT JOIN xoops_group_permission l ON l.gperm_itemid=c.imgcat_id WHERE (l.gperm_name = 'imgcat_read' OR l.gperm_name = 'imgcat_write') AND (imgcat_storetype = 'db') ORDER BY imgcat_weight, imgcat_id ASC
SELECT DISTINCT c.* FROM xoops_imagecategory c LEFT JOIN xoops_group_permission l ON l.gperm_itemid=c.imgcat_id WHERE (l.gperm_name = 'imgcat_read' OR l.gperm_name = 'imgcat_write') AND (imgcat_storetype = 'db') ORDER BY imgcat_weight, imgcat_id ASC
SELECT DISTINCT c.* FROM xoops_imagecategory c LEFT JOIN xoops_group_permission l ON l.gperm_itemid=c.imgcat_id WHERE (l.gperm_name = 'imgcat_read' OR l.gperm_name = 'imgcat_write') AND (imgcat_storetype = 'db') ORDER BY imgcat_weight, imgcat_id ASC
SELECT DISTINCT c.* FROM xoops_imagecategory c LEFT JOIN xoops_group_permission l ON l.gperm_itemid=c.imgcat_id WHERE (l.gperm_name = 'imgcat_read' OR l.gperm_name = 'imgcat_write') AND (imgcat_storetype = 'db') ORDER BY imgcat_weight, imgcat_id ASC
SELECT DISTINCT c.* FROM xoops_imagecategory c LEFT JOIN xoops_group_permission l ON l.gperm_itemid=c.imgcat_id WHERE (l.gperm_name = 'imgcat_read' OR l.gperm_name = 'imgcat_write') AND (imgcat_storetype = 'db') ORDER BY imgcat_weight, imgcat_id ASC



What's wrong ?

Login

Who's Online

358 user(s) are online (241 user(s) are browsing Support Forums)


Members: 0


Guests: 358


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits