So I'm running SMF 1-1-6, Fresh install, got it running on ubuntu server 8.10 with minimal problems (CHMOD issues). Now I finally get to apply, and install TP from package manager and now when I go to my site I get the following message
QuoteFatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 77824 bytes) in /var/www/Sources/Load.php(1735) : eval()'d code on line 136
Is there any way to recover from this or am I screwed to a fresh install from ground zero?
Also to note this is on a Dell PowerEdge R300 dual Quad Core with 24 gigs ram. (The forum screemed before TP crashed out)
Thanks
Greg
your host needs to set the RAM to a higher value then 8mb in php.ini
You can do the manual install of tp. that way you dont use up the mem.
How do I manually install TinyPortal (http://docs.tinyportal.co.uk/index.php?topic=29)
Actually I think I found my issue, When I installed TP a couple files in the classic theme were still marked chmod 655.
What I did to fix it
Wiped out /var/www completely
Re-uploaded SMF 1-1-6 to the server and ran chmod -R 777 /var/www
setup SMF via the browser, thankfully I left the database info the same and all my SMF changes stayed.
Now I was able to upload and install TP with no issue.
Hope this helps if anyone else runs in to the issue.
Greg
I too had this problem. It totally screwed up my runnding system and I was unable to use the SMF admin pages again. Had to resort to removing the whole thing manually using this page:
http://docs.tinyportal.co.uk/index.php/topic,146.html
This is really bad. An import of a modification should not under any circumstances lead to an inoperable SMF install. Luckily for me the manual uninstall worked out.
Just my 2 cents.
/PÃ¥l O.
And it's really bad to have a pisspoor config on the server aswell
You wouldn't have to do a manual uninstall if you did a backup right before you did the install.
Quote from: G6 on March 29, 2009, 11:15:41 PM
And it's really bad to have a pisspoor config on the server aswell
Right. And with that, TinyPortal sealed its future use with me. Nice.
Quote from: IchBinâ„¢ on March 29, 2009, 11:54:42 PM
You wouldn't have to do a manual uninstall if you did a backup right before you did the install.
I've installed a dusin or more mods with SMF and never have the installation of the mod itself caused so much pain. Some mods have failed to work, so I just uninstalled them. From now on I wont trust any modwriters. Thats for sure.
Doubt any mod have been as large as TP, and if you think of it, thousands of members have installed it with out any issues what so ever, so I think it's more a question on who is behind the controlls during the install ;)
Quote from: G6 on March 30, 2009, 07:20:24 AM
Doubt any mod have been as large as TP, and if you think of it, thousands of members have installed it with out any issues what so ever, so I think it's more a question on who is behind the controlls during the install ;)
So in your view, distributing a piece of code that breaks a working system is the users fault, because they have "piss poor" configs? You would'nt even consider looking at the "piss poor" section of code that causes this error? Or even warn or do a runtime check before the install starts? Instead of attacking someone who reports an error, maybe you should spend time fixing the issue?
Yes, thats exactly what i think.
8mb of ram is more or less nothing to day, most servers run on 16 to 32mb
You have demands on a script to work in less whats defaults to day, so yes, i think both the server and the people behind it is crap. ( my personal thoughts )
You come in, through crap at our script cause it broke YOUR setup, and tell us WE create a poor mod.
1. TP is Beta, Beta software have issues
2. before you install, ou ALWAYS make backups ( your fault you missed that part )
3. Your server have 8mb ram limit = an old 386DX PC from around 1980
So very much, i think you should rethink what you demand and whine about, It's not our fault you broke your site, it's not our fault how your server is setup, it's not our fault you didnt read our docs before you used our mod, it's not our fault you didnt make backups, it's not our fault you missed using the search and investigated what you added to your site, you would have seen what we have said about 8mb ram limits on servers if you wanted to use our mods.
So again, blaming us and TP mod for your issues when you have it all written down everywhere on our forum is not a good thing, and I met you in th very same poor manor as you came in and gave yours to us.
At the risk of fueling the flames, I believe the solution (in the original post) was presented in the first three messages.
The generalized statement of having the 'same' problem and stating 'it screwed up my whole system' doesn't equate into TinyPortal being a failure anywhere, except for your experience. TP is well-supported and is, should you have read everything beforehand, still developmental with a very large installation base. There are numerous warnings about making backups of your database and files prior to any attempt at installation of any mods.
As you stated, you have decided to not use it, and thankfully you were able to restore your SMF installation.
Quote from: G6 on March 30, 2009, 07:52:49 AM
You have demands on a script to work in less whats defaults to day, so yes, i think both the server and the people behind it is crap. ( my personal thoughts )
If that is a requirement then write it up as a requirement somewhere. I for one could not find it.
Or even, make a quick environment check during install to avoid this simple error. That you think users are "crap" because we cant mind read, well ...
Quote
You come in, through crap at our script cause it broke YOUR setup, and tell us WE create a poor mod.
1. TP is Beta, Beta software have issues
2. before you install, ou ALWAYS make backups ( your fault you missed that part )
3. Your server have 8mb ram limit = an old 386DX PC from around 1980
I never ment to throw crap. And I've never commented on TP itself. Because the installation failed. I just stated that the broken installation was a big issue for me. If I have offended anyone, then that is my mistake, sorry!
Yes I should have taken a backup. That was my bad. I had too much confidence in the SMF packaging system that have been able to roll back mods for years.
Quote
So very much, i think you should rethink what you demand and whine about, It's not our fault you broke your site, it's not our fault how your server is setup, it's not our fault you didnt read our docs before you used our mod, it's not our fault you didnt make backups, it's not our fault you missed using the search and investigated what you added to your site, you would have seen what we have said about 8mb ram limits on servers if you wanted to use our mods.
Right:
1. User issues equals "whine"?
2. I've never said you broke my site. TinyPortal installation broke my site. Regardless of me having a backup or not.
3. Where is the docs? The zip package have a link to a general SMF site. Where is the requirement list that states the memory settings?
4. I did use the search, found many threads with the same issue. Posted my story. You cannot seriously mean that I should read the entire forum and all user issues before installing?
Quote
So again, blaming us and TP mod for your issues when you have it all written down everywhere on our forum is not a good thing, and I met you in th very same poor manor as you came in and gave yours to us.
Hey, all I said was that it was "really bad" to have the installation script break the site. If you disagree with that, fine. I can't spend time on this arguing this point. In your case you had a choice. Meet a new user with issues with
a) Helpful advice or even take notice of the issue and do something to remedy it
b) Turn on the arrogance switch blaming the user for the error.
I'm a moderator myself and I know its easy to go for b). However, its usually the wrong approach.
This will be my last posting on this forum. Thanks
/PÃ¥l O.
Twistah, if you go back and read her first comment you will see that she was not attacking you or laying blame on you. You will see that she laid all the blame on your server config. It was not a personal attack on you.
While you may think there is a problem with the install that screwed up your forum, I can pretty much guarantee that this is not a fault of TP. TP is one of the largest mods made for SMF. This means it makes far more changes to the SMF files than the majority of all the other mods. There is no possible way for us to test a TP install with all the mods that people can possibly use. There is bound to be a conflict at some time or another when you have other mods installed as well. This in combination of servers that aren't setup properly are pretty much 99% of the problems with installs. TP is thoroughly tested when installing to a new SMF install. If TP does not work on that type of install, its usually server config issue. Which are the hardest to trouble shoot, because not everyone knows enough about how servers work.
The two most important things you should have done was 1) Backup your files and database before making ANY changes to your site and 2) Installed TP to a test install that is a copy of your live site.
The above 2 suggestions is something everyone should do. It will save you from being able to recover, and making sure that the install works with your current setup. Sorry we all got off on the wrong foot. Good luck with your site.