Page 1 of 1
Cant Login To Website[SOLVED Kinda]

Posted:
Tue May 29, 2007 6:59 pm
Author: DjPorkchop
Integramod 1.4.1 some mods installed, phpbb2.0.22,
Was in the ACP Im Portal editing a page and when submitted I got the confirmation screen then clicked a link to visit page and now get a internal 500 server error.
I delted cookies and all and came back to site and it let me right on it. as soon as I click login, i get my screen , input info and get that error again.
No matter what with admin I cant login. I used a test account with the very same problem, BUT when I get the 500 server error, and click back, it allows that regular user account to be logged in to the website.
I also get some error about tpl.Integra2 in the cahce saying memory allotment exceeeded in extreme styles. I couldnt get in to the ACP so I deleted my cache file and uploaded a new one with no help at all....
Im majorly stuck and cant create a test account for anyone to use due to I cant get in to the ACP. If I could Id delete cahce and recompile...
So can I get into my database and change that user that can login to an admin so I can access the link then? And If I can, I have to change the database for phpBB Security too or it will ban me. I done tried once.

Im getting this error message everywhere now.
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 737280 bytes) in /home/.xxxxx/xxxxx/mweva.com/includes/page_header.php on line 1412

Posted:
Tue May 29, 2007 7:17 pm
Author: bariq
it seems you are using older php version. The error is due to page unable to get more memory.
what you do is to
1) edit the php.ini file and add/modify :
memory_limit = 16M or to 32M
2) If you dont have access to php.ini file then:
edit ".htaccess" files and add this line
php_value memory_limit 16M
3) put the following line in page_header.php
ini_set("memory_limit","16M");
4) contact your service provider if any of these dont help you out.
using #3 will be easiet solution, you can put 16M or 32M. If iam not wrong standard is 8M
Re: Cant login to website

Posted:
Tue May 29, 2007 7:23 pm
Author: DjPorkchop
yeah Ill have to give one of those a try for sure. I dont have access to the ini. Im not on my own server anymore. Ill have to try .hta access
To remedy the situation for now, I have uploaded noe def_auth , all the way down to def_words and Site was back up to snuff. First thing I did was recompile my site via extreme styles.
When i did that, I once again got that error message again when i tried to recompile cache. BUT I can log in to site now as admin.
Still looking for the answer......

Posted:
Tue May 29, 2007 7:28 pm
Author: bariq
cool... i still feel you better put this line ini_set("memory_limit","16M"); as your server seems to low on memory and the line above tells php not to make use of more memory than you mentioned.
Re: Cant login to website

Posted:
Tue May 29, 2007 7:37 pm
Author: DjPorkchop
Yeah...Update. I did add that to the page_header.php and still get that error.
I can navigate some of the site now but not all of it, and have access to ACP atleast. Now Im stuck for sure. Has been working fine for weeks now with no issues at all, then all of a sudden, this happens.

Posted:
Tue May 29, 2007 7:44 pm
Author: bariq
hmmm try to restrict the memory to 8M and see. did you upgraded to 1.41. or you using that all along? There are some problems with older version of php and 1.4.1. whats the php version u using?
Re: Cant login to website

Posted:
Tue May 29, 2007 7:49 pm
Author: DjPorkchop
php v4.4.7 I have reason to believe I can get on a new server with php 5 but wasnt sure what all I had to do to my site now to get it ready to upgrade php version. Id rather get my site back in order first before I order an upgrade. Id hate to upgrade and site is still going to be junk.
Oh and this isnt a 1.4.1 upgrade. it is a fresh install

Posted:
Tue May 29, 2007 7:54 pm
Author: bariq
ok change to lo-fi mod and try browsing, it takes less memory... but php page generation might take the same amount of memory. by the way which areas are you getting errors on? you can access the ACP which is a good sign. dont despair, keep the hope <img>
Re: Cant login to website

Posted:
Tue May 29, 2007 8:20 pm
Author: DjPorkchop
well, that error is coming up at random ereas. Now most of them areas i was getting errors I am just getting blank white pages.
Mainly when I click forum and other random links in the nav menu

Posted:
Tue May 29, 2007 8:24 pm
Author: bariq
ok to solve this, why dont you remove the unwanted plugins from the portal page as well as remove site wide headers and footers, so that you can load only the needed components. you can hide the calender, user info etc blocks from portal and later goto general config and deal with the site wide header and footers.
hope it helps
Re: Cant login to website

Posted:
Tue May 29, 2007 8:50 pm
Author: DjPorkchop
well, If I turn everything off, then my site just as well shut down. I have been tweaking on it for months now and all was well.
The Sh*tty thing about it is my back up is a week old. <img>
**UPDATE**
I went and made sure, my footer nad headers are turned off. I got rid of all the blocks that I could get rid of, deleted un needed pages out of Im Portal, cleared cache and all that, Tried using extreme styles and it deleted all files successfully, but on a recompile, I got that error again. This time it is from tpl.Integra2.blah balh blah
Now for the weird news. That was caused by using the delete all cache in extreme styles. When I tried to decomplie and recompile Integra2 only, all went smooth and now site works again. Woot Woot!!! But why?? The only thing I did was uninstall PowerMetal theme and delted the files out of my root.......
Re: Cant login to website

Posted:
Wed May 30, 2007 12:44 am
Author: Frost
If any of your users or you, were still using the theme, or it was fresh in your cookies or cache it would create errors.
This happens because eXtreme styles mod has an advanced cache system that loads all pages from cache, even if you delete the files themselves, it will still load the old cache files which still need certain parts of the real files.
In the future when you delete a style, make sure you switch everyone to a different style, then uninstall the style, then delete the style files, then go into eXtreme styles cache folder via ftp or cpanel and delete all files inside manually
Edit: in the future, it is always safer to delete all the cache files out of the cache folder manually, don't worry about recompiling them because it will do that automatically as you visit them.
I think your problem was just a bad mix between not having enough memory and corrupted cache files caused by the memory limit. The mod isn't smart enough to realize that all of the page wasn't cached properly, and in turn gives you a half working cache page.
Re: Cant Login To Website[SOLVED Kinda]

Posted:
Wed May 30, 2007 1:01 am
Author: DjPorkchop
Right on Frost. I follow.
Im Marking this one solved kinda <img>
Thx for the help guys much appreciated.
Have a great day/night.
Ray