Cant Login To Website[SOLVED Kinda]

Support for IntegraMOD 141

Moderator: Integra Moderator

Cant Login To Website[SOLVED Kinda]

PostAuthor: MWE_001 » Tue May 29, 2007 5:59 pm

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
Last edited by MWE_001 on Tue May 29, 2007 11:56 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

PostAuthor: bariq » Tue May 29, 2007 6:17 pm

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
Last edited by bariq on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

bariq
Members
Members
 
Posts: 65
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 6:52 pm
Cash on hand: 0.00

Re: Cant login to website

PostAuthor: MWE_001 » Tue May 29, 2007 6:23 pm

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......
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

PostAuthor: bariq » Tue May 29, 2007 6:28 pm

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.
Last edited by bariq on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

bariq
Members
Members
 
Posts: 65
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 6:52 pm
Cash on hand: 0.00

Re: Cant login to website

PostAuthor: MWE_001 » Tue May 29, 2007 6:37 pm

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.
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

PostAuthor: bariq » Tue May 29, 2007 6:44 pm

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?
Last edited by bariq on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

bariq
Members
Members
 
Posts: 65
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 6:52 pm
Cash on hand: 0.00

Re: Cant login to website

PostAuthor: MWE_001 » Tue May 29, 2007 6:49 pm

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
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

PostAuthor: bariq » Tue May 29, 2007 6:54 pm

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>
Last edited by bariq on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

bariq
Members
Members
 
Posts: 65
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 6:52 pm
Cash on hand: 0.00

Re: Cant login to website

PostAuthor: MWE_001 » Tue May 29, 2007 7:20 pm

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
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

PostAuthor: bariq » Tue May 29, 2007 7:24 pm

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
Last edited by bariq on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

bariq
Members
Members
 
Posts: 65
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 6:52 pm
Cash on hand: 0.00

Re: Cant login to website

PostAuthor: MWE_001 » Tue May 29, 2007 7:50 pm

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.......
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

Re: Cant login to website

PostAuthor: Frost » Tue May 29, 2007 11:44 pm

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.
Last edited by Frost on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[size=99px]PhpBB3 Themes[/url] ]PhpBB3 Development Center[/url] [/size]

Frost
Sr Integra Member
Sr Integra Member
 
Posts: 776
Likes: 0 post
Liked in: 0 post
Joined: Wed Sep 13, 2006 1:04 am
Cash on hand: 0.00
Location: Photoshop CS3

Re: Cant Login To Website[SOLVED Kinda]

PostAuthor: MWE_001 » Wed May 30, 2007 12:01 am

Right on Frost. I follow. :oops:

Im Marking this one solved kinda <img>

Thx for the help guys much appreciated.

Have a great day/night.

Ray
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois


Return to IntegraMOD 141

Who is online

Registered users: Bing [Bot], Majestic-12 [Bot]