1
hrac
Changing module directory of AMS
  • 2008/1/1 14:28

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


Hello,

I want to change module directoy of AMS module. So I renamed AMS directory to newname. And I changed every /AMS, /AMS/, "AMS" and 'AMS' words in all files under AMS directory and sub-directories to /newname, /newname/, "newname", 'newname'. Than install module. But it gave these kind of handler errors:

Error: Handler does not exist
Module: newname
Name: audience in file include/functions.php line 553


What sould I do more?

Thanks

2
script_fu
Re: Changing module directory of AMS

Did you test the ams module out before you cloned it? Did it have this error before?

Please post server, php, MySQL and full XOOPS config.

When cloning a module you need to pay attention to the spelling of it. Meaning capitol letters and lower case letters must be replaced with the same.

3
hrac
Re: Changing module directory of AMS
  • 2008/1/2 9:59

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


It worked before cloning.

Interestingly I did another step and I get progress:


1) First step I changed only AMS directory strings to newdir in all files.

I get a lot of errors including Audience Levels tab in admin area.

2) Second step I changed all AMS words in all of files to newdir.

After that most of problems have been disappeared but one of them still happening: spotlight.

When I click spotlight tab I get:
-----------
This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Handler does not exist
Module: stories
Name: spotlight
------------

I get same error when trying to display spotlight block

Login

Who's Online

360 user(s) are online (64 user(s) are browsing Support Forums)


Members: 0


Guests: 360


more...

Donat-O-Meter

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

Latest GitHub Commits