The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Tue Feb 08, 2011 8:15 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 08, 2011 8:08 am
Posts: 7
Hi Guys,
Hoping you can help me...
I've got a small (and dying server) hosting about 40 Joomla websites...
I've migrated all domains to JustHost - and all has gone well (almost...)

Out of the 40 that I've migrated, I have 3 that I cannot get to work...
I've done nothing different in the migration work - tar up public_html folder, upload to new host, along with SQL dump of database from old server. Change configs to match usernames, and bingo, away they go.

Apart from 3.

They're all getting the following error:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 76 bytes) in /home/whisky/public_html/libraries/joomla/error/exception.php on line 117

I've done some research on the error - read about setting PHP memory limits higher, and I've done all that - I've even had JustHost change the php.ini limit to 512Mb... it has no effect...

Has anyone got any ideas?

Regards
Richard


Top
 Profile  
 
PostPosted: Tue Feb 08, 2011 9:13 am 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Thu Feb 15, 2007 5:48 am
Posts: 3344
Location: Sydney, Australia
The figure 134217728 tells us that the memory limit is in fact 128M. Your host must have changed something else instead. If 512M is a global limit in the shared hosting setup, you should see that value in the memory_limit parameter in the system info - php settings at the back end of the sites that already work.

The following thread gives the details how to create an .htaccess file in your Joomla folder to increase the memory limit: http://forum.joomla.org/viewtopic.php?p=1371765

_________________
toivo
my first programs were assembled and run in 16KB :)
http://archive.computerhistory.org/resources/text/GE/GE.GE-115SystemSoftware.1967.102646096.pdf#zoom=100


Top
 Profile  
 
PostPosted: Tue Feb 08, 2011 10:49 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5165
Location: the Bat Cave
Check the php and Apache error logs to see if you can find out what file is causing the memory limit issue, probably a corrupt or missing file causing some kind of loop.


Top
 Profile  
 
PostPosted: Tue Feb 08, 2011 10:56 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 08, 2011 8:08 am
Posts: 7
dpacadmin wrote:
Check the php and Apache error logs to see if you can find out what file is causing the memory limit issue, probably a corrupt or missing file causing some kind of loop.


Unfortunately the hosting I've gone with (JustHost) I've got doesn't give me access to that...

So I'm stuck unfortunately... I've tried every avenue...


Top
 Profile  
 
PostPosted: Tue Feb 08, 2011 11:42 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5165
Location: the Bat Cave
You could try enabling Joomla's Debug and error reporting to see if it give any more details, I posted instructions here;
http://forum.joomla.org/viewtopic.php?p=2287712#p2287712


Top
 Profile  
 
PostPosted: Wed Feb 09, 2011 12:11 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 08, 2011 8:08 am
Posts: 7
Well, I've tried all your suggestions, but still no go...

Anyone got a spare server? want to try it out for me? see if it's not just me?

Cheers,
Richard


Top
 Profile  
 
PostPosted: Wed Feb 09, 2011 12:15 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5165
Location: the Bat Cave
You could install Wampserver on your computer and test there, use Wampserver2.0i as the latest version has the newest MySQL and php which Joomla is not fully compatible with yet. You could also run the Post Assistant on your Host to see if ti finds any server problems, post back the results here.


Top
 Profile  
 
PostPosted: Thu Feb 10, 2011 12:37 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 08, 2011 8:08 am
Posts: 7
JTS-post Problem Description wrote:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 8 bytes) in /home/forest/public_html/libraries/joomla/error/exception.php on line 117
JTS-post Actions Taken To Resolve wrote:
None as yet...

JTS-post Diagnostic Information wrote:
Joomla! Version: Joomla! 1.5.20 Stable [ senu takaa ] 18-July-2010 18:00 GMT
configuration.php: Writable (Mode: 644 ) | Architecture/Platform: Linux 2.6.35.7-grsecnew ( x86_64) | Web Server: Apache | PHP Version: 5.2.15
PHP Requirements: register_globals: Disabled | magic_quotes_gpc: Enabled | safe_mode: Disabled | MySQL Support: Yes | XML Support: Yes | zlib Support: Yes
mbstring Support (1.5 or above): Yes | iconv Support (1.5 or above): Yes | save.session_path: Writable | Max. Execution Time: 240 seconds ( now, but user had to increase from 30 ) | File Uploads: Enabled
MySQL Version: 5.0.91-community ( Localhost via UNIX socket )

JTS-post Extended Information wrote:
SEF: Enabled (with ReWrite) | Legacy Mode: Disabled | FTP Layer: Disabled | htaccess: Implemented
PHP/suExec: User and Web Server accounts are the same. (PHP/suExec probably installed)
PHP Environment: API: cgi | MySQLi: Yes | Max. Memory: 96M ( now, but user had to increase from 64M ) | Max. Upload Size: 10M | Max. Post Size: 8M | Max. Input Time: 60 | Zend Version: 2.2.0
Disabled Functions:
MySQL Client: 5.0.91 ( latin1 )


Top
 Profile  
 
PostPosted: Thu Feb 10, 2011 1:19 am 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5165
Location: the Bat Cave
I see no problems with your server setup, maybe someone may. Is the error only on the frontend, can you access the admin backend? If it is only on the frontend you could try installing the Version Verification Tool extension and run it to see if you have any missing or modified/corrupt Joomla core files. If it is only on the frontend and the verification tool finds nothing it could be a module on the frontpage causing the problem, try disabling and testing one module at a time to see if you find a problem one.


Top
 Profile  
 
PostPosted: Thu Feb 10, 2011 2:01 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 08, 2011 8:08 am
Posts: 7
Yeah, the backend is absolutely fine...

I'll give VVT a go...


Top
 Profile  
 
PostPosted: Thu Feb 10, 2011 2:24 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 08, 2011 8:08 am
Posts: 7
OK - success...

It was (of course!) the smallest thing...

If I turn off:

Search Engine Friendly URLs
Use Apache mod_rewrite
Add suffix to URLs

The site works perfectly...
So it's something to do with mod_rewrite... I can investigate that! (but at least the site is live!)

Many thanks to everyone for the help!

Cheers,
Richard


Top
 Profile  
 
PostPosted: Sat Dec 31, 2011 2:38 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Dec 14, 2011 3:59 pm
Posts: 39
Let me know, if you find a solution for this one. I have this issue after migrating form one server to another.


Top
 Profile  
 
PostPosted: Sun Jan 08, 2012 11:19 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Mon Aug 29, 2005 10:17 am
Posts: 11987
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
TequilaGod wrote:
It was (of course!) the smallest thing...
You most likely did not rename htaccess.txt to .htaccess If you do that and set SEO enabled = yes
mod _rewrite = yes

all will work

Leo 8)

_________________
--- Joomla Professional Support Services :: http://gws-desk.com ---
--- Joomla Professional and Specialized Hosting :: http://gws-host.com ---
--- Ready to Roll Joomla! Web Sites : 1 - 7 days only! :: @ gws-market.com ---


Top
 Profile  
 
PostPosted: Tue Jul 31, 2012 12:58 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Jul 31, 2012 12:47 am
Posts: 1
I have researched this problem and tried many of the solutions and none of them worked. But I figured it out on my own and it is an easy fix.
Make sure your configuration.php has this below instead of "memcache"
var $cache_handler = 'file';


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 



Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group