0
Welcome Guest! Login
0 items Join Now

SOLVED - Multiple Installation Failures

    • Teddy's Avatar
    • Teddy
    • Hero Rocketeer
    • Posts: 291
    • Thanks: 0

    SOLVED - Multiple Installation Failures

    Posted 18 years 1 week ago
    • I run several joomla sites from a dedicated server. Suddenly, one day, this started showing up whenever I tried to install a template from a TGZ - on every site!

      Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in /home/websites/demo.eyelinegolf.com/includes/domit/xml_domit_lite_parser.php on line 135

      Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 16 bytes) in /home/websites/demo.eyelinegolf.com/includes/PEAR/PEAR.php on line 766

      Does this mean that something on my server is messed up? Or did I manage to mess up all of my joomla installations?

      Thanks so much,

      Teddy
    • Last Edit: 18 years 3 days ago by .
    • Bob Ateah's Avatar
    • Bob Ateah
    • Elite Rocketeer
    • Posts: 4521
    • Thanks: 0

    Re: SOLVED - Multiple Installation Failures

    Posted 18 years 1 week ago
    • Are all the sites on the same server?

      Sounds like a server snafu... you ought to contact your web host, maybe they need to allocate you more php memory.

      Cheers!
    • Last Edit: 18 years 1 week ago by Bob Ateah.
    • The member formerly known as Roland Deschain
      After your question is solved, please Edit your original post and choose the Solved message icon, thank you!
  • Re: SOLVED - Multiple Installation Failures

    Posted 18 years 1 week ago
    • Right. On my local host, I had to add a line in my php.ini file to give php some more memory. The templates that have lots of styles associated tend to have a lot more graphics files and give php some headaches.

      Alternatively, you can figure out which styles you DON'T want to use and delete the corresponding styles from the tgz file you're trying to upload. That seems to work too.
    • Teddy's Avatar
    • Teddy
    • Hero Rocketeer
    • Posts: 291
    • Thanks: 0

    Re: SOLVED - Multiple Installation Failures

    Posted 18 years 1 week ago
    • Teddy's Avatar
    • Teddy
    • Hero Rocketeer
    • Posts: 291
    • Thanks: 0

    Re: SOLVED - Multiple Installation Failures

    Posted 18 years 1 week ago
    • So I gave PHP 16MB, and the new template install still doesn't work. Different behavior this time, but still bizarre.

      Now, after I click "upload," I wait several seconds, and then a download window pops up asking if I want to download "index2.php." If I click yes, the download fails and the install screen doesn't change - it just sits there and says "done." If I click no, the install screen still doesn't change. If I check my site templates, Versatility III still isn't uploaded.

      Weird.
    • Teddy's Avatar
    • Teddy
    • Hero Rocketeer
    • Posts: 291
    • Thanks: 0

    Re: SOLVED - Multiple Installation Failures

    Posted 18 years 1 week ago
    • So I manually uploaded 3 instances of colormatic (to use different colors for different pages) and now just trying to get to my template manager is giving me a similar error message:

      Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 16 bytes) in /home/websites/eyelinegolf.com/includes/domit/xml_domit_lite_parser.php on line 1310

      After changing the php.ini, I restarted Apache. Is there anything else I have to do to implement my changes?

      Thanks,

      T
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: SOLVED - Multiple Installation Failures

    Posted 18 years 1 week ago
    • Not sure why some servers have issues with this, but I think your issue is the template_details.xml file. Remove all the <filename></filename> elements for the styles you are not using, then you will be able to access the template manager.
    • Teddy's Avatar
    • Teddy
    • Hero Rocketeer
    • Posts: 291
    • Thanks: 0

    Re: SOLVED - Multiple Installation Failures

    Posted 18 years 1 week ago
    • You know, I think I've been a doofus - I think I needed to change the PHP allocation in the .htaccess file, not the php.ini file. :-/ I'll give it a shot and let people know. Thanks, Andy!

      T
    • Teddy's Avatar
    • Teddy
    • Hero Rocketeer
    • Posts: 291
    • Thanks: 0

    Re: SOLVED - Multiple Installation Failures

    Posted 18 years 1 week ago
    • My first problem, is that I was inserting "php_value memory_limit 16M" into php.ini, not .htaccess. I've since tried 32M and 64M, but nothing happens. Where should .htaccess be? At the root of all my sites? At the root of each individual site?

      In any case, I still can't upload templates (it takes a while and then asks me if I want to download index2.php, then does nothing)

      Furthermore, I can't get into my template manager - I only see this message:

      Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 512 bytes) in /home/websites/eyelinegolf.com/includes/domit/xml_domit_lite_parser.php on line 135

      I assume that because the memory size is 8388608, the change to my .htaccess isn't working. And yes, I've been restarting Apache each time I change or move it. What have I done?!?

      T
    • Last Edit: 18 years 1 week ago by .
    • Teddy's Avatar
    • Teddy
    • Hero Rocketeer
    • Posts: 291
    • Thanks: 0

    Re: SOLVED - Multiple Installation Failures

    Posted 18 years 1 week ago
    • Problems are all SOLVED in case anyone is interested:

      If you can, up your PHP memory using php.ini. But the code is different from what I was told. It's actually:
      memory_limit = 16M

      (Or 32M, or 64M, or whatever)

      If you don't have access to php.ini, up your memory using your .htaccess file. THAT was the code that I tried to stick into php.ini. Still, I've since tried it in .htaccess and it didn't work for me:
      php_value memory_limit 16M

      although presumably it does the same thing as the first.

      Have a good one!

      T

Time to create page: 0.070 seconds