1
zzzzsg
Search function not working properly
  • 2010/3/31 17:48

  • zzzzsg

  • Just popping in

  • Posts: 86

  • Since: 2005/12/22


Hi All

I am using XOOPS 2.3.3 with php5-5.2.10, mysql-server-5.1.19 and apache-2.2.6_1.

We are having problems with the XOOPS search feature (search.php).
The results page are not framed by the XOOPS header and footer. That is, it appears in a white page.

And often the results are blank or not complete. It also does not seem to be able to search SmartSection 2.14.

Thank you.

Gui


Problem resolved by deactivated unused modules. obviously one of the unused modules was causing problem for the XOOPS search function -- don't know which one though



2
zzzzsg
Re: Smartfaq blank page? it worked 5 mins ago
  • 2009/8/14 18:30

  • zzzzsg

  • Just popping in

  • Posts: 86

  • Since: 2005/12/22


line 125 of category.php was already
$answerObj->setVar('dohtml', $faqsObj[$i]->getVar('html'));

thanks anyway



3
zzzzsg
Re: Smartfaq blank page? it worked 5 mins ago
  • 2009/8/13 20:29

  • zzzzsg

  • Just popping in

  • Posts: 86

  • Since: 2005/12/22


Fatal error: Call to a member function answer() on a non-object in /usr/local/www/xoops/modules/smartfaq/faq.php on line 67

None All errors (1) queries (29) blocks (8) extra (2) timers (5)
Errors
Notice: Only variable references should be returned by reference in file /modules/smartfaq/class/answer.php line 353




4
zzzzsg
Re: Smartfaq blank page? it worked 5 mins ago
  • 2009/8/13 20:18

  • zzzzsg

  • Just popping in

  • Posts: 86

  • Since: 2005/12/22


problem still persists

above at the two errors i got
the first when i clicked on a category
the second when i clicked on FAQ



5
zzzzsg
Re: Smartfaq blank page? it worked 5 mins ago
  • 2009/8/13 20:17

  • zzzzsg

  • Just popping in

  • Posts: 86

  • Since: 2005/12/22


Fatal error: Call to a member function answer() on a non-object in /usr/local/www/xoops/modules/smartfaq/faq.php on line 67

None All errors (1) queries (29) blocks (8) extra (2) timers (5)
Errors
Notice: Only variable references should be returned by reference in file /modules/smartfaq/class/answer.php line 353

Queries
SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT sess_data, sess_ip FROM session WHERE sess_id = '335d861f15ce48d3b01b8668a854735e'
SELECT * FROM users WHERE uid = '2'
SELECT * FROM modules WHERE dirname = 'smartfaq'
SELECT * FROM config WHERE (conf_modid = '11') ORDER BY conf_order ASC
SELECT * FROM smartfaq_faq WHERE faqid=8
SELECT * FROM smartfaq_categories WHERE categoryid=11
SELECT * FROM group_permission WHERE (gperm_name = 'category_read' AND gperm_itemid = '11' AND gperm_modid = '11')
SELECT * FROM group_permission WHERE (gperm_name = 'item_read' AND gperm_itemid = '8' AND gperm_modid = '11')
SELECT * FROM smartfaq_answers WHERE (faqid = '8' AND (status = '1')) ORDER BY datesub DESC LIMIT 0, 1
UPDATE smartfaq_faq SET counter=counter+1 WHERE faqid = 8
SELECT COUNT(*) FROM banner
SELECT * FROM banner LIMIT 2, 1
UPDATE banner SET impmade = impmade+1 WHERE bid = 3
SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (1,4)
SELECT b.* FROM newblocks b, block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id IN (0,11) AND b.bid IN (29,28,27,26,25,23,21,20,17,13,12,11,10,9,18,15,7,6,5,4,3,2,1,22,8,19,30,31,32,37,38,117,116,115,114,39,40,43,44,48) ORDER BY b.weight, m.block_id
SELECT * FROM modules WHERE (hasmain = '1' AND isactive = '1' AND weight > '0') ORDER BY weight ASC, mid ASC
SELECT * FROM group_permission WHERE (gperm_name = 'module_read' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '4'))
SELECT * FROM modules WHERE dirname = 'news'
SELECT * FROM config WHERE (conf_modid = '4') ORDER BY conf_order ASC
SELECT * FROM modules WHERE dirname = 'PDdownloads'
SELECT * FROM modules WHERE dirname = 'wflinks'
SELECT COUNT(*) FROM smartfaq_faq WHERE ((status = '2'))
SELECT * FROM groups
SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_mainmenu.html') ORDER BY tpl_refid
SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
SELECT * FROM smiles
SELECT * FROM smartfaq_categories WHERE categoryid=7
Total: 29 queries
Blocks
Login: No Cache
Main Menu: No Cache
Custom Block (HTML): No Cache
Custom Block (PHP): No Cache
Custom Block (PHP): No Cache
Custom Block (PHP): No Cache
Custom Block (PHP): No Cache
Custom Block (PHP): No Cache
Total: 8 blocks
Extra
Included files: 80 files
Memory usage: 1343904 bytes
Timers
XOOPS took 0.124 seconds to load.
XOOPS Boot took 0.028 seconds to load.
Module init took 0.012 seconds to load.
XOOPS output init took 0.071 seconds to load.
Module display took 0.013 seconds to load.



6
zzzzsg
Re: Smartfaq blank page? it worked 5 mins ago
  • 2009/8/13 20:14

  • zzzzsg

  • Just popping in

  • Posts: 86

  • Since: 2005/12/22


Fatal error: Call to a member function setVar() on a non-object in /usr/local/www/xoops/modules/smartfaq/category.php on line 125

None All errors (0) queries (37) blocks (8) extra (2) timers (5)
Errors
Queries
SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT sess_data, sess_ip FROM session WHERE sess_id = '335d861f15ce48d3b01b8668a854735e'
SELECT * FROM users WHERE uid = '2'
SELECT * FROM modules WHERE dirname = 'smartfaq'
SELECT * FROM config WHERE (conf_modid = '11') ORDER BY conf_order ASC
SELECT * FROM smartfaq_categories WHERE categoryid=11
SELECT * FROM group_permission WHERE (gperm_name = 'category_read' AND gperm_itemid = '11' AND gperm_modid = '11')
SELECT categoryid, COUNT(*) AS count FROM smartfaq_faq WHERE categoryid = 11 AND status IN (5,6) GROUP BY categoryid
SELECT COUNT(*) FROM banner
SELECT * FROM banner LIMIT 2, 1
UPDATE banner SET impmade = impmade+1 WHERE bid = 3
SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (1,4)
SELECT b.* FROM newblocks b, block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id IN (0,11) AND b.bid IN (29,28,27,26,25,23,21,20,17,13,12,11,10,9,18,15,7,6,5,4,3,2,1,22,8,19,30,31,32,37,38,117,116,115,114,39,40,43,44,48) ORDER BY b.weight, m.block_id
SELECT * FROM modules WHERE (hasmain = '1' AND isactive = '1' AND weight > '0') ORDER BY weight ASC, mid ASC
SELECT * FROM group_permission WHERE (gperm_name = 'module_read' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '4'))
SELECT * FROM modules WHERE dirname = 'news'
SELECT * FROM config WHERE (conf_modid = '4') ORDER BY conf_order ASC
SELECT * FROM modules WHERE dirname = 'PDdownloads'
SELECT * FROM modules WHERE dirname = 'wflinks'
SELECT COUNT(*) FROM smartfaq_faq WHERE ((status = '2'))
SELECT * FROM groups
SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_mainmenu.html') ORDER BY tpl_refid
SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
SELECT * FROM smiles
SELECT * FROM smartfaq_faq WHERE (categoryid = '11' AND (status = '5' OR status = '6')) ORDER BY weight ASC LIMIT 0, 20
SELECT categoryid, COUNT(*) AS count FROM smartfaq_faq WHERE status IN (5,6) GROUP BY categoryid
SELECT * FROM smartfaq_categories WHERE categoryid=7
CREATE TEMPORARY TABLE tmp (categoryid INT(8) UNSIGNED NOT NULL,datesub int(11) DEFAULT '0' NOT NULL);
LOCK TABLES smartfaq_faq READ;
INSERT INTO tmp SELECT categoryid, MAX(datesub) FROM smartfaq_faq WHERE status IN (5,6) GROUP BY categoryid;
SELECT smartfaq_faq.categoryid, faqid, question, uid, smartfaq_faq.datesub FROM smartfaq_faq, tmp WHERE smartfaq_faq.categoryid=tmp.categoryid AND smartfaq_faq.datesub=tmp.datesub;
UNLOCK TABLES;
DROP TABLE tmp;
SELECT * FROM smartfaq_categories WHERE (parentid = '11') ORDER BY weight ASC
SELECT faqid, answer, uid, datesub FROM smartfaq_answers WHERE faqid IN (8,101,102,229) AND status = 1 GROUP BY faqid
SELECT * FROM `users` WHERE uid IN (1,2)
Total: 37 queries
Blocks
Login: No Cache
Main Menu: No Cache
Custom Block (HTML): No Cache
Custom Block (PHP): No Cache
Custom Block (PHP): No Cache
Custom Block (PHP): No Cache
Custom Block (PHP): No Cache
Custom Block (PHP): No Cache
Total: 8 blocks
Extra
Included files: 82 files
Memory usage: 2237888 bytes
Timers
XOOPS took 0.168 seconds to load.
XOOPS Boot took 0.035 seconds to load.
Module init took 0.008 seconds to load.
XOOPS output init took 0.076 seconds to load.
Module display took 0.049 seconds to load.



7
zzzzsg
Re: Smartfaq blank page? it worked 5 mins ago
  • 2009/8/6 18:40

  • zzzzsg

  • Just popping in

  • Posts: 86

  • Since: 2005/12/22


I also have the same problem.
When click on FAQ, I got this:
Fatal error: Call to a member function setVar() on a non-object in /usr/local/www/xoops/modules/smartfaq/index.php on line 137
None All errors (1) queries (37) blocks (8) extra (2) timers (5)

mysql-server-5.1.19
php5-5.2.10 PHP Scripting Language
xoops 2.3.3

--
Thank you.

ok -- i found the 'solution'. the problem occurs when user creates a question without an answer. once this question is deleted, all is well again .... strange ...



8
zzzzsg
Re: Cannot login! After a few days.
  • 2009/7/13 16:23

  • zzzzsg

  • Just popping in

  • Posts: 86

  • Since: 2005/12/22


Thank you Runeher. You are a genius!

That fixed the problem.

https://xoops.org/modules/newbb/viewtopic.php?post_id=288535#forumpost288535

I don't understand what's going on though....




9
zzzzsg
Re: Cannot login! After a few days.
  • 2009/7/13 16:19

  • zzzzsg

  • Just popping in

  • Posts: 86

  • Since: 2005/12/22


xoops 2.3.3
php 5.2.4
mysql 5.1.19




10
zzzzsg
Cannot login! After a few days.
  • 2009/7/13 2:24

  • zzzzsg

  • Just popping in

  • Posts: 86

  • Since: 2005/12/22


Hi All

I have this strange problem. After a few days, the user cannot login. When he tries to login, the login page will keep re-appearing. Sometimes, clearing the browser cache (saved cookie) seems to fix the problem, but there is one user who said it does not fix the problem for him and he still cannot login (he was able to login before - but now the login keeps re-appearing when he tries to login).

This is affecting many of my users, including myself (admin). For myself, clearing the browser cache (saved cookie) seems to fix it. But this does not work for some users.

I am at a loss. Can somebody advise?

Thank you very much in anticipation.




TopTop
(1) 2 3 4 ... 8 »



Login

Who's Online

112 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 112


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