404 error message with smilies

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 8minus8
    Member
    • Apr 2001
    • 58

    404 error message with smilies

    Hello.
    Just upgraded a forum to v.2.0.3. and for some reason in the 'New Thread' and 'Post Reply' the [get more] link for the smilies box is giving me a 404 message.

    Code:
    Not Found
    The requested URL /board/misc.php was not found on this server.
    I've tried looking to see where misc.php is located but I can find it in the templates. From searching and reading other posts I believe the solution is to change misc.php to misc.php3 but I'm not sure where to find it.

    Is this the solution?

    Thanks in advance.
  • orca
    Senior Member
    • Mar 2001
    • 1151
    • 5.5.x

    #2
    Well, do you have php or php3 extensions? Make sure that misc.php (or .php3) is in your forums folder by browsing the dir with FTP.
    Ueli

    Comment

    • Chen
      Senior Member
      • Jun 2001
      • 8388

      #3
      Please go here and follow the instructions. Thanks.
      Chen Avinadav
      Better to remain silent and be thought a fool than to speak out and remove all doubt.

      גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

      Comment

      • 8minus8
        Member
        • Apr 2001
        • 58

        #4
        thanks for the response.

        do you have php or php3 extensions?
        php3

        Please go here and follow the instructions. Thanks.
        Any way you could give me a hint. I left my cust# info at home and can't access that link at the moment.

        Comment

        • 8minus8
          Member
          • Apr 2001
          • 58

          #5
          Originally posted by FireFly
          Please go here and follow the instructions. Thanks.
          Okay I'm there. What instructions are you speaking of? Just not sure.

          Thanks.

          Comment

          • JTMON
            Senior Member
            • Oct 2001
            • 571

            #6
            rename misc.php3 to misc.php and it will smilies will work fine.

            But then FAQ won't work, you can edit the template and manually change the link for the faq, it's in the Header section.
            JTMON

            Comment

            • 8minus8
              Member
              • Apr 2001
              • 58

              #7
              thanks JTMON.

              Is FAQ the only template that is affected when I change the main misc.php3 to misc.php?

              I thought it would be easier to find where that js script is to change it myself. The one for the open window, but I couldn't find it. Did a search and everything, although didn't help. Not sure if I'm using the search properly.

              Comment

              • JTMON
                Senior Member
                • Oct 2001
                • 571

                #8
                As far as I could tell faq was the only thing that didn't work after making that change which I found here in the forums. It took me 3 weeks to finally get around and changing the link info in the header section so the faq worked. I think you could even add a new replacement variable and just replace misc.php3 with misc.php.
                JTMON

                Comment

                • 8minus8
                  Member
                  • Apr 2001
                  • 58

                  #9
                  looks like misc.php3 is referenced alot. I'm afraid to change misc.php3 to misc.php because it will affect too many templates.

                  This is the only code I could find that references the Get more link. It's the vbcode_smilies_getmore template.
                  Code:
                  [<a href="javascript:opensmiliewindow(240,280,'$session[sessionhash]')">Get More</a>]
                  Not sure where it references misc.php.
                  Last edited by 8minus8; Tue 30 Oct '01, 7:11pm.

                  Comment

                  • JTMON
                    Senior Member
                    • Oct 2001
                    • 571

                    #10
                    Well that's the fix I found here and other people used it before I did. I haven't encountered any other errors as a result as of yet and now that I made the change in header, all is working. I would guess that misc.php for the smilies is referenced in the newpost template
                    JTMON

                    Comment

                    • JTMON
                      Senior Member
                      • Oct 2001
                      • 571

                      #11
                      Actually I would just wait for the next VBulletin to be released. It's supposed to be in the next few days.
                      JTMON

                      Comment

                      • 8minus8
                        Member
                        • Apr 2001
                        • 58

                        #12
                        I FOUND IT!!!

                        It's actually in a linked vbcode.js. I'm going to attempt to change that one line of code and hopefully it will work. Thanks again for your help.

                        Comment

                        • 8minus8
                          Member
                          • Apr 2001
                          • 58

                          #13
                          IT WORKED!!!!

                          For future reference, those that get the 404 error on the [get more] smilies link, all you need to change is misc.php to misc.php3 in the vbcode.js file. It looks like this...
                          Code:
                          function opensmiliewindow(x,y,sessionhash) {
                          // um... opens smilie overflow window.
                          		window.open("misc.php?action=getsmilies&s"+sessionhash, "smilies", "toolbar=no,scrollbars=yes,resizable=yes,width="+x+",height="+y);
                          }
                          It shouldn't be difficult to find.

                          Hope this helps others.

                          Comment

                          • Michelle69
                            Member
                            • Sep 2001
                            • 93
                            • 3.6.x

                            #14
                            That helped alot - THANK YOU!!

                            Comment

                            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                            Working...