Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • TESTING & WELCOME BOARD »
  • Test & welcome board »
  • Site News (Moderator: Archem) »
  • Main Page Borked
« previous next »
  • Print
Pages: [1] 2

Author Topic: Main Page Borked  (Read 15157 times)

Offline Osmose

  • So freakin' inactive
  • Royal
  • *
  • Posts: 3,041
Main Page Borked
« on: December 29, 2009, 03:25:38 PM »
Triple Update: fixed!

Updated: Main Forum Page is working again, carry on.

Double Update: The Borkpire Strikes Back!

For your convenience, here are a few links to certain boards. If anyone has more to contribute, please do. I, Archem, am far too lazy to do any more work.

All of All

Forum Gaming

Games

Creative Arts

Tutorials


So as most of you have seen, the main forum index has been borked for some reason. I'm trying to determine the cause and fix it, but as I'm away from my normal computer I don't have some of the info I need to access the server; I'll be contacting Alex shortly to help me fix the issue.

As for the problem itself, I can only diagnose it based on the error message being given:

Quote
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2179873 bytes) in /home/content/c/h/a/charashosting/html/forum/Sources/Subs.php on line 494

Some people saw Subs.php and assumed it had to do with subscriptions, but this is false; Subs.php stands for "Subroutines". It's a file used by SMF as a general repository for useful functions.

The error itself is referring to a lack of memory (RAM, not harddrive) on the machine the site is hosted on. PHP sets memory limits on how much memory can be taken by a single php script. In addition, our host sets memory limits to ensure that our site doesn't clog up the entire server. The error is that viewing the main page apparently exceeds one of these memory limits. So deleting old topics will not solve the issue.

Once Alex gets back to me we should be able to figure out where this limit is being hit and either change the script or change the memory limit. Until then, the best you can do is browse around using every page but the index.
« Last Edit: December 31, 2009, 07:20:24 AM by Alex »
Logged
Hrm.

Offline Alex

  • I am the MASTER!
  • Administrator
  • Exemplar
  • *
  • Posts: 1,130
Re: Main Page Borked
« Reply #1 on: December 29, 2009, 04:03:43 PM »
Looking at sources and setting, i found nothing strange. However, now everything seems to work again.
Will shortly send a PM to Osmose to explain what i did/checked
Logged

Offline Bluhman

  • Global Moderator
  • Royal
  • *
  • Posts: 4,977
Re: Main Page Borked
« Reply #2 on: December 29, 2009, 07:07:02 PM »
Nice work, webmasters!
Logged

Offline Uberpwn_w00t

  • Whatever rhymes with eloquent.
  • Leader
  • *
  • Posts: 2,102
  • It's personal because nobody sees it. VAGINA.
Re: Main Page Borked
« Reply #3 on: December 29, 2009, 08:07:52 PM »
Finally. xD
Logged

Offline A Forgotten Legend

  • Your neighborhood box of colors
  • Royal
  • *
  • Posts: 4,428
    • Website
Re: Main Page Borked
« Reply #4 on: December 29, 2009, 08:08:33 PM »
This happened quicker than I expected! =D
Logged

Offline Archem

  • One, one too many schizophrenic tendancies
  • Moderator
  • Over 9000!
  • *
  • Posts: 15,013
  • I made a fortune in toothpicks, but I lost it all in a fire.
Re: Main Page Borked
« Reply #5 on: December 29, 2009, 10:59:43 PM »
I love you all.
Logged

Offline X_marks_the_ed

  • trygtt o sizg msw kisg
  • Royal
  • *
  • Posts: 4,394
  • WHAT THE WHY ARE THESE BUTTONS
Re: Main Page Borked
« Reply #6 on: December 29, 2009, 11:11:11 PM »
BAWWWWWWWWWWW


A few more days and I would've had reason to start anti-Webmaster propaganda.
Logged

Offline SaiKar

  • KOFFING!
  • Staff
  • Royal
  • *
  • Posts: 4,082
Re: Main Page Borked
« Reply #7 on: December 30, 2009, 01:37:47 AM »
Is there any way this problem could be handled by shmucks like me? I'd be willing to do it if I had any idea what needed to be done.
Logged

Offline Alex

  • I am the MASTER!
  • Administrator
  • Exemplar
  • *
  • Posts: 1,130
Re: Main Page Borked
« Reply #8 on: December 30, 2009, 02:12:16 AM »
There is no apparent reason for the issue.
It seems there were some sort of loop in a function. I just tried to alter slightly the Subs.php file, and then i reverted it back to original.

In other words, at the end, i changed NOTHING!. But the small test i did probably "unlocked" the loop, or something similar...
Logged

Offline Archem

  • One, one too many schizophrenic tendancies
  • Moderator
  • Over 9000!
  • *
  • Posts: 15,013
  • I made a fortune in toothpicks, but I lost it all in a fire.
Re: Main Page Borked
« Reply #9 on: December 30, 2009, 03:12:48 AM »
Alex touched it, things stopped being fucked.

It all makes perfect sense, really.
Logged

Offline fruckert

  • Star-Star-Star-Star
  • Sage
  • *
  • Posts: 8,148
  • Not intended for public consumption
Re: Main Page Borked
« Reply #10 on: December 30, 2009, 03:27:11 AM »
Indeed.
Logged
Quote
Ellie: I had a slice of ham in my hand. I was going to drop it, so I slapped it hard. It attached itself to the wall

Offline Darkfox

  • These spectacles do nothing
  • Staff
  • Over 9000!
  • *
  • Posts: 10,215
    • Chaos Realm - Home of the God Beasts
Re: Main Page Borked
« Reply #11 on: December 30, 2009, 05:24:05 AM »
Then it rebroke'd. :(
Logged



Offline fruckert

  • Star-Star-Star-Star
  • Sage
  • *
  • Posts: 8,148
  • Not intended for public consumption
Re: Main Page Borked
« Reply #12 on: December 30, 2009, 05:36:18 AM »
Goddammit.
Logged
Quote
Ellie: I had a slice of ham in my hand. I was going to drop it, so I slapped it hard. It attached itself to the wall

Offline MissingName

  • Here you go. Juicy Fruit. Happy?
  • Exemplar
  • *
  • Posts: 1,919
  • The scotch is well hidden. So scram.
Re: Main Page Borked
« Reply #13 on: December 30, 2009, 05:56:58 AM »
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
I didn't even get to see it in unborked form before it borked again.
Logged
<sig></sig>

Offline A Forgotten Legend

  • Your neighborhood box of colors
  • Royal
  • *
  • Posts: 4,428
    • Website
Re: Main Page Borked
« Reply #14 on: December 30, 2009, 07:10:11 AM »
*Deadly serious narrator dramatically reading* Will our heroes ever be able to defeat the borkpire?  Found out next week on CHARAS ADVENTURES! *epic fanfare*

*commericial* Are you tired of all that huff and fuss over not being able to read your forum?  Try new ALEX TOUCH from Charas Corp.  Now with extra forum fixing power! Comes in Italian and English.*end commercial*
Logged

  • Print
Pages: [1] 2
« previous next »
  • Charas-Project »
  • TESTING & WELCOME BOARD »
  • Test & welcome board »
  • Site News (Moderator: Archem) »
  • Main Page Borked
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum