1
mjz55
Help!! fatal error in line 163 of common.php
  • 2007/1/25 19:42

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


I don't know what I did, I was working on a module and the include folder of XOOPS and now I get this error when typing in my url of my website.


Fatal error: Call to undefined function: xoops_gethandler() in /home/teazinc/public_html/index/include/common.php on line 163

These are line 162, 163 & 164 that I have of common.php
// ################# Load Config Settings ##############
$config_handler =& xoops_gethandler('config');
$xoopsConfig =& $config_handler->getConfigsByCat(XOOPS_CONF);

I'm running XOOPS 2.0/16

2
jensclas
Re: Help!! fatal error in line 163 of common.php

Please help us help you: have you done this?
Before posting please do a search in the XOOPS top right "Search" box using appropriate "keywords" and find out if the subject has been dealt with before. Also look through the FAQ’s, especially if you're unsure what search words to use.

I couldn’t find any related issues by searching what next?


Turn on debug:
To switch on debug, go to system admin-->preferences and then general settings. You will see a "Debug mode" field. Choose "PHP Debug". Then go to the page that has problems and copy and paste any error messages under php-debug messages in the template below.
When posting any debug messages please 'wrap' the message like this: Use the word 'code' in square brackrets [] and at the end put /code in square brackets.
Debug message here


Give information about your site
Copy the following template into your post and fill-in as much information as possible. The more information you give, the more likely you will receive a quick and effective reply to your post.

XOOPS Version:
Module Name/Version:
PHP Version:
MySQL Version:
Web Server Software (Apache/IIS/Other):
Operating System:
Theme you are using:
Custom template: (Yes/No)
PHP Debug Messages:
MySQL Debug Messages:
Smarty Debug Messages:
A full description of the issue:

3
mjz55
Re: Help!! fatal error in line 163 of common.php
  • 2007/1/25 21:47

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


Thats' fine mr moderator, HOWEVER, I cannot get in anything. That is why I said above, cannot pull up url and that is the message I get. It worked fine, has nothing to do with server. I screwed something up via ftp.


Server info:
General server information:
Operating system Linux
Service Status Click to View
Kernel version 2.6.17.11-grsechg
Machine Type i686
Apache version 1.3.37 (Unix)
PERL version 5.8.7
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version 4.4.4
MySQL version 4.1.21-standard


Xoops template - gramophone

4
davidl2
Re: Help!! fatal error in line 163 of common.php
  • 2007/1/25 21:55

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Quote:

mjz55 wrote:
I don't know what I did, I was working on a module and the include folder of XOOPS


What module where you working on, and what did you change in the Include folder?

(BTW Jens is a lady )

5
mjz55
Re: Help!! fatal error in line 163 of common.php
  • 2007/1/25 21:58

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


I was working on wffag. Something about the include folder in XOOPS directory I was changing to make wffag work and I messed something up.

Installing files from the wffag include folder to the XOOPS include folder

6
davidl2
Re: Help!! fatal error in line 163 of common.php
  • 2007/1/25 22:02

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


wffag? Is this a module?

7
mjz55
Re: Help!! fatal error in line 163 of common.php
  • 2007/1/25 22:13

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18



8
davidl2
Re: Help!! fatal error in line 163 of common.php
  • 2007/1/25 22:22

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


WF-FAQ ... as I say in the comments for this module, this is no longer being developed, and has not therefore been tested with the latest release of Xoops.

I'd recommend undoing the changes you made in the Include directory and trying to de-install this module.. and replace with SmartFAQ instead (the latest release can be found at http://www.smartfactory.ca )

9
mjz55
Re: Help!! fatal error in line 163 of common.php
  • 2007/1/25 22:48

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


Ok, I deleated the file via my cpanel but I still get the same error. I played around with ftp'ing etc and now it loads. Now I'll look into the debugging stuff and report back. Thanks.

10
mjz55
Re: Help!! fatal error in line 163 of common.php
  • 2007/1/26 5:31

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


Looks like nothing came up. Of course I don't know the debugging thingy 100% either. But thanks.

Login

Who's Online

328 user(s) are online (216 user(s) are browsing Support Forums)


Members: 0


Guests: 328


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