Announcement

Collapse
No announcement yet.

Unknown Error. How can i fix this.

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

  • Unknown Error. How can i fix this.

    My Users are getting this Error

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 129 bytes) in /home/httpd/vhosts/xxxxx.com/httpdocs/forum/includes/functions_search.php on line 197

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 32 bytes) in /home/httpd/vhosts/xxxxx.com/httpdocs/forum/includes/functions.php on line 479
    What is causing this?

  • #2
    So no one has ever seen this error before?

    Comment


    • #3
      Hello,

      Apologies for the delay.

      Could you try to explain what your users are doing when they run into this error? Does it come with a MySQL database error too?

      Comment


      • #4
        The Users Say they are making a new thread and when submitted that error orrors.

        Comment


        • #5
          open php.ini

          look for
          memory_limit = 8M

          change this to

          memory_limit = 16M

          You'll find that a few things are memory intensive, rather than processor intensive. Increasing the limit and restart apache will fix this.

          Note: You need to restart Apache after making any changes to php.ini

          Comment


          • #6
            Originally posted by Floris
            open php.ini
            were is this located?

            Comment


            • #7
              It depends on your server. Go to:

              vBulletin Admin CP --> Import & Maintenance --> View PHP Info

              Then look for Configuration File (php.ini) Path and that will be the location.
              Bugdar: PHP bug tracking software that is beautiful, fast, and robust.

              Comment


              • #8
                Ok i did that
                And it showed this \/ \/
                Configuration File (php.ini) Path/etc/php.ini

                but when i look in my folder it is not there. Can i not access this from fillezilla?

                Or do i need to use putty?

                Comment


                • #9
                  this is somthing your host must do for you unless you have root level access.

                  Comment


                  • #10
                    I have root access, im using a unix box

                    Comment


                    • #11
                      I don't know the commands to download that, is there someplace that can show me how to do it? I have more and more users complain of this error.

                      Comment


                      • #12
                        We can not provide support for PHP itself, only vBulletin.
                        You can open & edit files using: in *nix

                        pico -w php.ini

                        Comment


                        • #13
                          is it ok to make the memory 32mb instead of 16? or will 16 be enough?

                          Comment


                          • #14
                            I got the file now and can edit it. thank you but last question is making the memory usage to 32 going to be ok? or is it not worth it. we have alot of image files
                            Last edited by Jpax; Sun 28 Nov '04, 10:28am.

                            Comment

                            Loading...
                            Working...
                            X