Announcement

Collapse
No announcement yet.

[RELEASE] PluhNews 1.0

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • eh I cant get this thing to work for the life of me.

    Comment


    • try including the admin/config.php and the global.php on your main page before the <html> tag. and than take them out of the pluhnews.php

      Comment


      • hm when I do that it crashes.. My main page right now is .shtml is there anything I need to change beside adding those commands at the top and renaming it to .php? (i am somewhat new to PHP, just started toying with it recently)

        I get a sweet assortment of errors

        Comment


        • btw I dont remember ever seeing anyone entounter these ones:

          Warning: Undefined variable: REQUEST_URI in
          \path\to\global.php on line 39

          Warning: Undefined variable: QUERY_STRING in
          \path\to\global.php on line 47

          Warning: Undefined index: HTTP_POST_VARS in
          \path\to\global.php on line 64

          Warning: Undefined index: action in
          \path\to\global.php on line 64

          Warning: Undefined index: action in
          \path\to\global.php on line 67

          then there is this one which is what I did see:
          Warning: Cannot add header information - headers already sent by (output started at \path\to\vbulletin\global.php:39) in \path\to\vbulletin\admin\functions.php on line 1457

          This is what I get when I include it on my index
          Warning: Undefined variable: REQUEST_URI in
          \path\to\vbulletin\global.php on line 39

          Warning: Undefined variable: QUERY_STRING in
          \path\to\vbulletin\global.php on line 47

          Warning: Undefined index: HTTP_POST_VARS in
          \path\to\vbulletin\global.php on line 64

          Warning: Undefined index: action in
          \path\to\vbulletin\global.php on line 64

          Warning: Undefined index: action in
          \path\to\vbulletin\global.php on line 67

          Fatal error: Failed opening required './admin/config.php' (include_path='') in \path\to\vbulletin\global.php on line 72

          This isnt fun anymore
          Last edited by Hamma; Thu 11 Oct '01, 5:50am.

          Comment


          • in your global.php look for all the ./global and replace that with the full path to your global.php than it should work.

            Comment


            • and your index should be a .php not .shtml because it cant phrase php . Try changing the file extension before you try changing all your paths in global.

              Comment


              • Yea, I have tried most of that. I will try it again though. One thing is that my Index is located in a different DIR than the pluhnews.php would that make a difference?

                Comment


                • I am getting closer now, I am now getting

                  Warning: Undefined variable: REQUEST_URI in
                  \path\to\global.php on line 39

                  Warning: Undefined variable: QUERY_STRING in
                  \path\to\global.php on line 47

                  Warning: Undefined index: HTTP_POST_VARS in
                  \path\to\global.php on line 64

                  Warning: Undefined index: action in
                  \path\to\global.php on line 64

                  Warning: Undefined index: action in
                  \path\to\global.php on line 67

                  And my news gets added at the bottom. BUT I have not seen these "QUERY_STRING" and all the other things mentioned anywhere else in this thread. \

                  When I do the require command at the top of my index page I get those errors at the very top above all the layout, no more header error though
                  Last edited by Hamma; Thu 11 Oct '01, 3:31pm.

                  Comment


                  • also try putting your PluhNews in the same directory as your index.php seeing thats what the instructions say .

                    Comment


                    • Yep. Tried that (thats where it is now with these errors)

                      Comment


                      • *bump*

                        Anyone have any ideas?

                        Comment


                        • im fresh out of ideas.. maybe one of the real gurus can help you .

                          WOOHOO!!

                          </Goldfinger is now a senior member , 100th post >

                          Comment


                          • *bump* again, someone help me

                            hehe

                            Comment


                            • I figured it out, just deleted the code giving me errors and created a global2.php

                              Comment


                              • Have another question though (as if u wanted to see my name again) Is there a way to include the Date at the top of that days news.. i.e.

                                October 15, 2001

                                blah - posted by Hamma @ 3:53PM

                                blahblah

                                Comments

                                Here is a link to the current page I am using now, and an example of how Id like to configure Pluhnews:

                                http://www.dragonwolves.com/index.shtml

                                Comment

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