1
script_fu
Job Listings 1.04 not working with 2.0.7.3 Can you help...

Hi I downloaded this module and its not working anymore with the current release of xoops.

https://xoops.org/modules/repository/singlefile.php?cid=43&lid=1338

---------------------------------------------------------
I changed this string based on the fix provided by ajuden
on the myAds module which worked perfect. See his post here.
https://xoops.org/modules/newbb/viewtopic.php?forum=28&topic_id=25272

Original
$result=$xoopsDB->query("select cid, title, img FROM ".$xoopsDB->prefix("ann_categories")." WHERE pid = 0 ORDER BY $classm") or die("Error");

New
$result=$xoopsDB->query("select cid, title, img FROM ".$xoopsDB->prefix("ann_categories")." WHERE pid = 0 ORDER BY title") or die("Error");

All I did was replaced the $classm variable with the actual column that we want to sort by (title).
----------------------------------------------------------

However this time the fix did not work! Does anyone have any ideas how to get the module back to working condition?

2
ajuden
Re: Job Listings 1.04 not working with 2.0.7.3 Can you help...
  • 2004/10/6 19:28

  • ajuden

  • Just popping in

  • Posts: 87

  • Since: 2003/4/17


What line of which file is this happening on? Maybe I can help again.

3
script_fu
Re: Job Listings 1.04 not working with 2.0.7.3 Can you help...

Hi... Im not sure its the same error as the myAds when you click the link it just says error on a white page.

http://www.mrtowing.com

Regards

4
ajuden
Re: Job Listings 1.04 not working with 2.0.7.3 Can you help...
  • 2004/10/6 19:56

  • ajuden

  • Just popping in

  • Posts: 87

  • Since: 2003/4/17


Did you edit one of the files?

5
ajuden
Re: Job Listings 1.04 not working with 2.0.7.3 Can you help...
  • 2004/10/6 19:57

  • ajuden

  • Just popping in

  • Posts: 87

  • Since: 2003/4/17


I just registered on that site, can you check the permissions for registered users, cause I can't view that module as a registered user.

6
ajuden
Re: Job Listings 1.04 not working with 2.0.7.3 Can you help...
  • 2004/10/6 20:03

  • ajuden

  • Just popping in

  • Posts: 87

  • Since: 2003/4/17


One more thing, after you installed the module, did you follow the directions from the readme.txt file? It said to get the module id of the joblisting module, and put that in this spot on line 65 of modules/jobs/cache/config.php. The change should look like this

Take for example that you found that the module id for jobs is 14.

Original


New

7
script_fu
Re: Job Listings 1.04 not working with 2.0.7.3 Can you help...

Okay there set! I did change the index.php file per your instructions from yesterday. I did that because the Jobs Module is based on the myAds module. Hence my logic.

8
script_fu
Re: Job Listings 1.04 not working with 2.0.7.3 Can you help...

This is the read me...

This module was made from the myAds 2.04 module.


CHMOD THE FOLDER /logo_images/ TO 777
CHMOD THE FILE /cache/config.php/ TO 666

For the search you will need to find out what the module id number(mid) is and insert that number in the value=''
in line about line 65 in templates/jobs_index.html

this is line 65 change the '100' to whatever your jobs module (mid) is


You can find the mid by going into your database, the modules table, and find the mid of the Job Listing module.

----------------------------------------------------------
This change is in the template. Im at work so I wont be able to update the themeplate untill I get home. Its just to busy to be messing around in my database while at work...

lol

9
ajuden
Re: Job Listings 1.04 not working with 2.0.7.3 Can you help...
  • 2004/10/6 20:15

  • ajuden

  • Just popping in

  • Posts: 87

  • Since: 2003/4/17


Okay, well, let me know how it goes then!

Good luck.

10
script_fu
Re: Job Listings 1.04 not working with 2.0.7.3 Can you help...

Okay the (mid) has been set. Inside my database the value for (MID) was 3.
----------------------------------------------------------
So thats done now. I still have the same problem (error)

Login

Who's Online

463 user(s) are online (316 user(s) are browsing Support Forums)


Members: 0


Guests: 463


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