1
energazer
Clean sheet when calling on main the smartfaq module
  • 2013/1/1 19:01

  • energazer

  • Just popping in

  • Posts: 8

  • Since: 2013/1/1 1


Clean sheet when calling on main the smartfaq module
smartfaq 1.10
PHP 5.3.13
MYSQL 5.1.41-log
XOOPS 2.5.5
ModuleAdmin: 1.1

Fatal error: Call to a member function setVar() on a non-object in /home/komilfo/komilfoclub.ru/docs/modules/smartfaq/index.php on line 138

138 $answerObj->setVar('dohtml', $faqsObj[$i]->getVar('html'));


what it is necessary to correct? help please


xoopsheadline

Fatal error: Call to undefined function curl_init() in /home/komilfo/komilfoclub.ru/docs/modules/xoopsheadline/class/headlinerenderer.php on line 76

76 $ch = curl_init($this->hl->getVar('headline_rssurl'));

2
Mamba
Re: Clean sheet when calling on main the smartfaq module
  • 2013/1/1 19:42

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


SmartFAQ: I cannot reproduce it. Did you make any changes the files? Was it an update from an older version or fresh installation?

Could anybody else reproduce it?

Quote:
Fatal error: Call to undefined function curl_init() in /home/komilfo/komilfoclub.ru/docs/modules/xoopsheadline/class/headlinerenderer.php on line 76

I think, you'll need to turn the "php_curl" extension in your PHP installation. If you cannot do it yourself, please talk to your host to do it for you.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
energazer
Re: Clean sheet when calling on main the smartfaq module
  • 2013/1/2 1:54

  • energazer

  • Just popping in

  • Posts: 8

  • Since: 2013/1/1 1


I do the pure smartfaq installation and attach base, I grant the rights and a clean sheet when calling on main the module. If to go to pages directly, they are displayed normallyhttp://komilfoclub.ru/modules/smartfaq/faq.php?faqid=43

new sections aren't added


the module xoopsheadline earned, thanks

4
Mamba
Re: Clean sheet when calling on main the smartfaq module
  • 2013/1/2 18:56

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Hmm, I am not sure, I understand the issue. Could be more detailed? Having a screenshot showing what is wrong, is always helpful.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

5
energazer
Re: Clean sheet when calling on main the smartfaq module
  • 2013/1/3 1:28

  • energazer

  • Just popping in

  • Posts: 8

  • Since: 2013/1/1 1


Here so - a clean sheet -http://komilfoclub.ru/modules/smartfaq/

when debugging inscription
Fatal error: Call to a member function setVar() on a non-object in /home/komilfo/komilfoclub.ru/docs/modules/smartfaq/index.php on line 138

138 $answerObj->setVar('dohtml', $faqsObj[$i]->getVar('html'));



Here it is so normal -http://komilfoclub.ru/modules/smartfaq/faq.php?faqid=43


At category addition in the administrator of the panel of the module it is received

0.002422 - SET NAMES 'utf8'
0.000819 - INSERT INTO smartfaq_categories (categoryid, parentid, name, description, total, weight, created) VALUES (NULL, 0, '��', '', 1, 1, 1357176384)
Error number: 1048
Error message: Column 'categoryid' cannot be null

6
Mamba
Re: Clean sheet when calling on main the smartfaq module
  • 2013/1/3 2:59

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


It almost looks like you have issues with correct setup of your Website.

Your SmartFAQ on your Website has a different URL then the error itself:

Quote:
/home/komilfo/komilfoclub.ru/docs/modules/smartfaq/index.php on line 138


It seems like there is another installation of SmartFAQ
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

7
energazer
Re: Clean sheet when calling on main the smartfaq module
  • 2013/1/3 5:29

  • energazer

  • Just popping in

  • Posts: 8

  • Since: 2013/1/1 1


If the module is installed, everything works, categories are added. The problem arises when the base from the former version of the module is connected

8
Mamba
Re: Clean sheet when calling on main the smartfaq module
  • 2013/1/3 7:25

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


But that's a configurations issue, and not SmartFAQ issue.

You need to find out why XOOPS is connecting to the old version, and fix it. There should be only one version of SmartFAQ installed and accessible by XOOPS
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

186 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 186


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