|
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:Memory Question 8 Months, 3 Weeks ago
|
|
|
Glad to hear you got it working! Good luck! Ovidiu
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|