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 ?



2
ghbook
Extended Pofiles
  • 2005/9/7 7:43

  • ghbook

  • Just popping in

  • Posts: 21

  • Since: 2003/11/14


Since i have upgraded from 2.0.13 to 2.2.2 i cant see nor edit the users in www.mysite.com/xoops/modules/profile/admin/user.php .

The drop down menu for the users is empty ans i cant add new users.

What happened ?

Thanks.



3
ghbook
Super Survey Request
  • 2005/7/6 21:07

  • ghbook

  • Just popping in

  • Posts: 21

  • Since: 2003/11/14


Hi,

i'd like to dream.. My dream : a survey module to build surveys (but i know there are a lot) AND to build a database table to store the results into.

So you build a survey form
AND
you create a MySql table to be fed up....

Something like the wedding of BM survey AND Dadabik (for those who kows about Dadabik, a great piece of software)

It's such a stuff the dreams are made of.....






4
ghbook
Re: Uploading with CBB (was newbb2)
  • 2005/7/6 9:56

  • ghbook

  • Just popping in

  • Posts: 21

  • Since: 2003/11/14


Thanks a lot.
I could modify the configuration the way i wanted.




5
ghbook
Uploading with CBB (was newbb2)
  • 2005/7/6 9:18

  • ghbook

  • Just popping in

  • Posts: 21

  • Since: 2003/11/14


Hi,

how can i add new filetypes for uploading more sorts of files with CBB. Now only zip, png and jpg are allowed.

Thanks.



6
ghbook
Re: Block problems
  • 2005/6/24 13:16

  • ghbook

  • Just popping in

  • Posts: 21

  • Since: 2003/11/14


It worked, i don't know how...

Thanks a lot.




7
ghbook
Block problems
  • 2005/6/23 13:12

  • ghbook

  • Just popping in

  • Posts: 21

  • Since: 2003/11/14


Hi,

Here is the message displayed, in PHP debug mode,

Warning [Xoops]: Smarty error: unable to read resource: "db:system_block_dummy.html" in file class/smarty/Smarty.class.php line 1084
Notice [PHP]: Undefined variable: total in file modules/edito/blocks/edito.php line 30
Warning [Xoops]: Smarty error: unable to read resource: "db:system_block_dummy.html" in file class/smarty/Smarty.class.php line 1084

In fact i have problems with blocks, specially the "home made" blocks. But i don't kow what's wrong with what.

Thanks in advance.



8
ghbook
Re: How to center images
  • 2004/3/26 12:52

  • ghbook

  • Just popping in

  • Posts: 21

  • Since: 2003/11/14


Thanks a lot, Simon, it works perfectly.....

A hack, better a bug fix to be included in the next version of Xoops.

Thanks again.



9
ghbook
How to center images
  • 2004/3/26 9:24

  • ghbook

  • Just popping in

  • Posts: 21

  • Since: 2003/11/14


Hi,

When i publish an article using the news module, if i wish insert an image using the image manager, even when i select he "centered" icon, the image is left aligned, not centered.

Why ? How can i make centered images

Thanks in advance

My XOOPS is 2.0.6. I use the imago 06c theme
You can see my site athttp://mv-cmpp.org



10
ghbook
Maximum lenth for a news post ?
  • 2004/1/27 9:39

  • ghbook

  • Just popping in

  • Posts: 21

  • Since: 2003/11/14


What is the maximum lenth for a news post in the news module of course ?

Thanks.

Gilles




TopTop
(1) 2 »



Login

Who's Online

166 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 166


more...

Donat-O-Meter

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

Latest GitHub Commits