1
gravies
smartfaq faq.php bug
  • 2004/11/17 23:24

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


When you go to a link in SmartFAQ which has this format it seems to be broken:

/modules/smartfaq/faq.php?faqid=10

instead of displaying the Q&A is reloads the index page and the URL is redirected to:

/modules/smartfaq/?faqid=10

I upgraded to current cvs but this did not fix the problem.

2
JasonMR
Re: smartfaq faq.php bug
  • 2004/11/17 23:45

  • JasonMR

  • Just can't stay away

  • Posts: 655

  • Since: 2004/6/21


Not sure if this is really a bug, or if it is related to your site specificly.

I think this is more of an permission settings issue.

I have SmartFAQ installed, and never encountered this kind of problem.

3
JasonMR
Re: smartfaq faq.php bug
  • 2004/11/17 23:47

  • JasonMR

  • Just can't stay away

  • Posts: 655

  • Since: 2004/6/21


edited
...sorry, now I can see what you mean!

The URL gets changed somewhere.....from
http://www.postdoc.ucla.edu/modules/smartfaq/faq.php?faqid=59

to

http://www.postdoc.ucla.edu/modules/smartfaq/?faqid=59

Never the less, I can't replicate this problem on my site!

4
gravies
Re: smartfaq faq.php bug
  • 2004/11/18 6:58

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


Very strange indeed, but read on for the solution...

I just installed SmartFAQ on my other server and all is ok.
I removed xoopsfaq.
I removed the CVS version completely and deleted the dir
I checked the database had no smartfaq entries
I installed 1.02 version.
I now can't add any Q&As.
I added the SQL from a test site that works.
The actual site still doesn't work despite identical SQL and files!
I updated again to check - still broken.
Both sites are virtual hosts on the same machine.
I pulled out all my hair.

Then I had a flash of inspiration!!!
I remembered that I had put a .htaccess redirect from /faq to /modules/smartfaq!!!!
I removed this line - it worked.

2 hours of pain for 2 lines of code - what an idiot.

5
JasonMR
Re: smartfaq faq.php bug
  • 2004/11/18 9:10

  • JasonMR

  • Just can't stay away

  • Posts: 655

  • Since: 2004/6/21


LOL

Thanks for sharing the story, now I know....I'm not alone out there

Login

Who's Online

339 user(s) are online (237 user(s) are browsing Support Forums)


Members: 0


Guests: 339


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