JoomlaPlug!

JoomlaCloner - Backup and Restore Component

OOPS. Your Flash player is missing or outdated.Click here to update your player so you can see this content.
JoomlaCloner - Joomla backup and restore

 
 
JoomlaPlug.com
Welcome, Guest
Please Login or Register.    Lost Password?
Memory Question (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Memory Question
#3429
lgelfand (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:Memory Question 8 Months, 3 Weeks ago  
Hey, we're getting there! Once I generated a cloner trial using the IP address instead of the domain name, it started to work (more or less). BTW, your "print test" script worked fine as a scheduled task.

Ironically, we're now back to the original memory problem. When I ran this as a chron, I got the following error in the php log:
[30-Nov-2007 15:52:06] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 8192 bytes) in C:\...\com_cloner\restore\pcltar.lib.php on line 2052

I upped the memory from 32M to 64M and got the identical message. It almost looks like the script doesn't recognize more than 8M. I then tried a backup from within Joomla and had no problem.

FWIW, the log also had these warnings:
[30-Nov-2007 15:52:00] PHP Warning: Invalid argument supplied for foreach() in C:\...\com_cloner\cloner.functions.php on line 1894
[30-Nov-2007 15:52:00] PHP Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\...\com_cloner\cloner.functions.php on line 1972

Suggestions or thoughts?

-Larry Gelfand
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3430
admin (Admin)
Admin
Posts: 2280
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:Memory Question 8 Months, 3 Weeks ago  
It's not the script which should recognize the memory_limit, it's the server! After making the changes you need to restart your server in order for the changes to take effect! Look in your phpinfo() area to see if the memory_limit has changes, there you will find also the correct location of the php.ini file! Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3431
lgelfand (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:Memory Question 8 Months, 3 Weeks ago  
I did restart the server each time I made a change. phpinfo() confirmed that the current setting is 64M.

-Larry Gelfand
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3432
admin (Admin)
Admin
Posts: 2280
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:Memory Question 8 Months, 3 Weeks ago  
If you still get this error "PHP Fatal error: Allowed memory size of 8388608", then something must be wrong on your server since it only allows 8388608 bytes which means 8M

Do you have this limit maybe set in your Joomla site? Does the Joomla phpinfo() show the current limit correctly?

Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3443
lgelfand (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:Memory Question 8 Months, 3 Weeks ago  
Got it working!

It turns out that running php from the command line used a different php.ini file than the one Joomla used. Once I changed the memory setting in that one to 32M, it worked perfectly!

I've passed on a request to purchase the component to my manager. Many thanks for your prompt & helpful replies.

-Larry Gelfand
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3444
admin (Admin)
Admin
Posts: 2280
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:Memory Question 8 Months, 3 Weeks ago  
Glad to hear you got it working! Good luck! Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Search JoomlaPlug.com

Download Joomla

All rights reserved to JoomlaPlug.com ©2006-2008!
Site powered by Joomla!