Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
4 - 0 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Error message after upgrade to mx-directory
by jlm69 on 2005/8/15 20:16:12

There is a problem with the code.

Go to mxdirectory/templates/xdir_link.html go to about line 30 and find this line:

<{if $link.premium =="1"}>

change it to:

<{if $link.premium >="1"}>

Then go to mxdirectory/templates/xdir_listingfull.html about line 41 and make the same change.

Then for your changes to be applied you need to go into the modules administration and update the module.

That will do it.

John
Re: Error message after upgrade to mx-directory
by anoniemouse on 2005/8/15 20:00:12

Cool, that did it.

By the way... I had tried setting it to Platnium(5), thinking that would allow all fields to show, but that didn't have any effect.

Thanks again!
Re: Error message after upgrade to mx-directory
by jlm69 on 2005/8/15 19:48:02

Yes, you were right to comment out those lines too. For the website to show you need to set the listing to a 'premium listing 1' at the bottom of the submit page or the approval page.

That should do it.

John
Re: Error message after upgrade to mx-directory
by anoniemouse on 2005/8/15 19:14:49

Thank You John! That got it working again. Yea!

Although, after I commented out that line, I then got the following notice:

Quote:
Notice [PHP]: Use of undefined constant _MD_ATTENTION - assumed '_MD_ATTENTION' in file modules/mxdirectory/index.php line 104

So, I commented that line out, too (hopefully it's not something that will cause problems for me later).


Now I have another question for you...
The business listing's website URL isn't showing up at all. I had originally installed (and then deleted) xdirectory which had the same problem. Any ideas?
Re: Error message after upgrade to mx-directory
by jlm69 on 2005/8/15 18:33:22

In the file mxdirectory/class/coupon.php it sounds like you changed around line 80 this line:

class MxdirectoryCouponHandler extends XoopsObjectHandler {

the Mxdirectory to Xdirectory. If you called the module mxdirectory it needs to be Mxdirectory, if you named the module xdirectory it needs to be Xdirectory, the first letter capitolized. The same goes for if you called the module something different, it needs to be the name of the module with the first letter capitolized.

The notice at the bottom can be removed by either commenting out line 34 or deleting it, I can't find anywhere in the module it uses that language file.

Hope that helps,

John

Who's Online

430 user(s) are online (382 user(s) are browsing Support Forums)


Members: 0


Guests: 430


more...

Donat-O-Meter

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

Latest GitHub Commits